On 28 May 2012 10:17, Lawson English <lenglish5@cox.net> wrote:
On 5/28/12 12:14 AM, Igor Stasenko wrote:
Hi, there
i prepared new Metacello configuration of NativeBoost.
Here the list of changes:
Sounds good. I will modify my test of gmp bindings to use it.
BTW, for anyone interested, here is a way of creating "batch" bindings to the gmplib  big integer add call:
makes two successive calls to the same (could be a different) function from within the same method. This avoids the overhead of the marshaling of parameters and making successive calls via the VM. With this technique, you could perform a reasonably complex task in an external lib with a single method. Extra assembler code can be placed in the same block, for extra speedy goodness.
Now, in order to keep the Squeak Wayâ¢, we need a way of writing the code in slang instead of assembler.
Yes. I also want to use some kind of assembler DSL, instead of hardcoding the platform-specific instructions everywhere. Of course , i want to make it flexible, so if you still need to invoke platform-specific instruction, you should be able to do that. -- Best regards, Igor Stasenko.