On 06.12.2011, at 08:07, Sean P. DeNigris wrote:
> What's a well-designed plugin to learn from?
There are two kinds of plugins:
1. Performance: These are typically written in pure Slang, use no outside libraries, and can be simulated.
Example: Matrix2x3Plugin
2. Platform Access: These are typically written half in Slang and half in C. The Slang part provides the Squeak interface (getting arguments from the stack, creating return objects, calling C functions) while the C part calls an external library. Unless the library is identical across platforms, each platform will have a different C part.
Example: LocalePlugin
- Bert -
_______________________________________________
VM-beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners