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:


http://pastebin.com/naj05wEe

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.


L


--
Squeak from the very start (introduction to Squeak and Pharo Smalltalk for the 
(almost) complete and compleate beginner).
https://www.youtube.com/playlist?list=PL6601A198DF14788D&feature=view_all


Reply via email to