QuickSilver 0.4 – Classes and Methods

February 7, 2011

QuickSilver 0.4

QuickSilver 0.4


QuickSilver 0.4 now supports Smalltalk classes and methods.

You can download the source code here.

There are still some bugs in the Smalltalk loader, so I can only include a few simple methods in this release. Hopefully, the bugs will be fixed today.

There are three syntax conventions that I have added to the scanner to make life easier:

  • global variables containing embedded periods (“.”) are resolved as JavaScript variables rather than Smalltalk variables
  • message names beginning with an underscore (“_”) are resolved as JavaScript function calls rather than Smalltalk message sends
  • message names ending with an underscore (“_”) are resolved as JavaScript constructors

“Behaviors” (parent class of “Class” and “MetaClass”) have both a method dictionary and a method cache which stores successful lookups from parent classes for speed.

I did some simple testing of message sends – in a Chrome browser the speed seems to about 1 million message sends per second.

This is the 8th day since I started building QuickSilver and there are probably another 2 or 3 days before the code is complete. Then the focus will shift to bug fixes, improvements, version control, and building community libraries.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: