Interfacing with C
Primitives can easily be written in C
C functions take and return type Object
No need to “protect” pointers from GC
CPointer class in Smalltalk allows access to C structures
Speed-critical loops can be rewritten in C
Previous slide
Next slide
Back to first slide
View graphic version