ByteArray and FFI?

Markus Fritsche Fritsche.Markus at gmx.net
Tue Feb 4 22:47:42 UTC 2003


Hi!

I had a problem with the following code:

(ByteArray new: 50)
        integerAt: 1
        put: 7
        size: 4
        signed: false

why?

Because on my fresh gentoo linux, I did not have libffi installed. That leads 
me to my question: why is ffi used for the above code? I thougt 'ffi' stands 
for 'foreign function interface', and is slow and should be avoided. Why does 
something 'simple' like a ByteArray need ffi?

Regards, Markus

-- 
http://reauktion.de/archer/



More information about the Squeak-dev mailing list