ByteArray and FFI?

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


I had a problem with the following code:

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


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


More information about the Squeak-dev mailing list