For nativeBoost have a look at the tutorial to use NB to bind X11

https://ci.inria.fr/pharo-contribution/job/PharoForTheEnterprise/lastSuccessfulBuild/artifact/NativeBoost/NativeBoost.pier.html


I'm sorry but if igor does not write documentation, it takes far too much energy from me to understand and write something. It would be so much better if people with the knowledge would write.

Stef


On 29/5/14 16:15, Bob Williams wrote:

I found an old Smalltalk/V imagine from 2000 and tracked down how I was able add calls to Windows DLLs and to add my own. It was in the class DynamicLinkLibrary and its subclasses, e. g., a call to the GDIDLL to draw a Bezier spline (which I believe I added) was:

bezierTo: hDC lpPoints: anLPPOINT count: anInt

<api: PolyBezierTo ulong struct ulong boolean>

^self invalidArgument

I added by own DLL to do matrix transformations that was written in ASSEMBLER to optimized the floating point processor pipelining (a start operation every cycle while it took 3 cycles to complete) and it performed about 15% better.

I have not found anything similar in Pharo, but it must if external libraries are used. NativeBoost seems to come close, but I cannot find any documentation. Can someone point me to some documentation, code, anything? It is greatly appreciated.

bw


Reply via email to