Proposal for Extensible Primitives (was: FFI)
Lukas Renggli
renggli at gmail.com
Thu Aug 17 07:37:57 UTC 2006
> a) Where do you see the advantage of it for your work? How would you describe the value added?
- consistent primitive syntax
- compiler gets simplified
- alt+n lists all FFI primitives
> How would you argue to convince someone else
> that their code should be changed to the new model?
- a better world, though I don't care if people prefer to work with
Squeak 3.5 ;-)
> b) Since there is room for ambiguity in supporting the current FFI spec
> and the proposed changes, do you think both styles should be supported
> for an intermediate period?
> b1) If yes, for how long?
> b2) If no, how do you propose to deal with migration?
- both styles could be supported next to each other
- automatic conversion script (the change is minimal)
> c) Given the choice, would you rather have an "inplace" change or
> perhaps an alternative version of the foreign function interface, aptly
> called FFII (pronounce as FF-2)?
- FFII would be a good approach, I think. It could be cleanly
loaded/unloaded from the image and would not require compiler patches.
FFI could be deprecated, but would still work in 3.9.
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the Squeak-dev
mailing list
|