The transition from C/C++ to Smalltalk MT(STMT) is extremely smooth. This is because STMT makes extensive use of the C runtime library. STMT also makes optional use of resources which can offer substantial size, performance and portability advantages.
STMT does not use external .h files or libraries. .h files can be imported into the development environment using the Pool Editor. Libraries are replaced by linking a DLL into the image in image properties.
Here are some of the main differences:
There are no static variables. Variables that need to be kept around between method (member function) calls are always instance variables (member variables).
& is replaced by basicAddress.
For example: &myVariable becomes myVariable basicAddress.
* is replace by 'MemoryManager atAddress:'.
For example: *myVariable becomes MemoryManager atAddress: myVariable.
methods (member functions) can be changed while your application is executing. The method is compiled and linked on save and is instantly available.