[squeak-dev] A Vision For Smalltalk

Bert Freudenberg bert at freudenbergs.de
Mon Sep 12 08:27:55 UTC 2011


On 10.09.2011, at 15:24, Overcomer Man wrote:

> Along the way I noticed the .mcz files contained a lot of other junk besides Smalltalk code, and all the code for several FFI sub-projects is under the same filename inside the different packages.  Using .mcz instead of .zip is unnecessary complexity. The extra packaged files are not Smalltalk.  Why not just use Smalltalk?

Why use text when you can use objects? What you call "junk" is in fact just serialized objects. Loading them is a lot more efficient than compiling text. The stored text is just a fallback. When loading the text, MC actually just recreates the objects (MCDefinition instances), and then proceeds exactly the same way as if it had loaded the serialized definitions in the first place.

- Bert -





More information about the Squeak-dev mailing list