Although not a library I think that this thread is probably the correct home for this utility.
This is the culmination of my efforts to get high performance maths under Basic4ppc. This utility will give optimised compiled Basic4ppc applications that require it almost the same level of numeric performance that C# and VB.NET applications enjoy, at least for Double values. It is based on the recompilation technology of my DebugRecompiler program. It will recompile individually specified Subs in an application to perform all numeric operations as .NET Double types but such Subs will have to conform to a set of constraints if the recompilation is to be successful.
The archive contains the MathRecompiler utility, help and an admittedly rather artificial demo app that shows an approximately 25 fold increase in performance on my Vista desktop and similar on my iPAQ 214 when recompiled.
I may well not have covered all the recompilation scenarios so if you find some code that won't recompile despite conforming to the stated constraints then please post it and if possible I will modify the utility accordingly.
Hopefully, at some time in the (not too distant) future further enhancements to Basic4ppc itself will make this utility redundant but until that time this will make some applications feasible that would take too long to run otherwise.
EDIT:- Quick update to version 1.3. See post #9 for details.
EDIT:- Updated to version 1.4 See post #12 for details. I didn't deliberately design it in but it seems that version 1.4 works with Single, Int32 and Int64 arrays as well as Doubles which could be useful to save memory with large data sets.
EDIT:- This library is now obsolete with the release of Basic4ppc version 6.90.
This is the culmination of my efforts to get high performance maths under Basic4ppc. This utility will give optimised compiled Basic4ppc applications that require it almost the same level of numeric performance that C# and VB.NET applications enjoy, at least for Double values. It is based on the recompilation technology of my DebugRecompiler program. It will recompile individually specified Subs in an application to perform all numeric operations as .NET Double types but such Subs will have to conform to a set of constraints if the recompilation is to be successful.
The archive contains the MathRecompiler utility, help and an admittedly rather artificial demo app that shows an approximately 25 fold increase in performance on my Vista desktop and similar on my iPAQ 214 when recompiled.
I may well not have covered all the recompilation scenarios so if you find some code that won't recompile despite conforming to the stated constraints then please post it and if possible I will modify the utility accordingly.
Hopefully, at some time in the (not too distant) future further enhancements to Basic4ppc itself will make this utility redundant but until that time this will make some applications feasible that would take too long to run otherwise.
EDIT:- Quick update to version 1.3. See post #9 for details.
EDIT:- Updated to version 1.4 See post #12 for details. I didn't deliberately design it in but it seems that version 1.4 works with Single, Int32 and Int64 arrays as well as Doubles which could be useful to save memory with large data sets.
EDIT:- This library is now obsolete with the release of Basic4ppc version 6.90.
Attachments
Last edited: