3 ms·
How does Smalltalk bind to other languages such as C, in order to reuse code libraries? That's a pretty big question if it is to make a "comeback". For instan
by makecheck 18y ago
How does Smalltalk bind to other languages such as C, in order to reuse code libraries? That's a pretty big question if it is to make a "comeback".
For instance, Objective-C adds quite a bit to C, and replaces C++ features, yet it can bind to either of those languages. And there's been work done to make the entire Python standard library usable in Ruby.
- jhancock 18y agodepends on the implementation. squeak makes using C routines and libraries easy. The older commercial smalltalk's all have simple ways of making system calls or writing primitives inline or as libraries. Ruby does make adding C easy. Smalltalk is a little less friendly in this regards. But only a little and that is implementation specific.