What is the size of Mars? Currently is very small, but I really don't know how to messure this... there is a method counter or something around?
When I print this: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | marsClasses methods sizeOfAllMethods | marsClasses := Smalltalk allClasses select: [:cls | '*Mars*' match: cls category]. methods := marsClasses inject: Set new into: [:sum :cls | sum, cls methodDict values]. sizeOfAllMethods := methods inject: 0 into: [:sum :cm | sum + cm size]. { marsClasses size . methods size . sizeOfAllMethods } -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= I have: #(76 661 24663) The weight of all the mars methods is 24Kb. I do not know what is the impact on the overall pharo image although (anyone has an idea?). The size of bundle is 92Kb according to the mac finder.
How did you get multiple windows :) They are just cocoa windows, created each time one is needed
Are call back from cocoa handled?
doing a print on "10 + 20" prints "nil" It looks really good! Cheers, Alexandre
Stef
On Dec 21, 2008, at 12:23 PM, Esteban Lorenzano wrote:
Hi, I'm introducing Mars (just another world)
Mars is a world for Squeak (and all it's forks) builded as an MVC on
top of Cocoa (OSX framework) and OmniBrowser. For that reason, Mars just runs on OSX environments. While this project has some similariries with SqueakGTK and
wxSqueak, it has big differences: 1) Mars is not a port of Cocoa for squeak, is just an MVC
implementation who uses Cocoa. Why that "subtle" distinction? well,
SqueakGTK is a full port of GTK+ library and for that reason, a
little big a and a little too complex. I'm following simplicity as
one of the project goals. 2) Mars is a plugin, and will run in any fork of squeak, and OB-Mars
(Mars world) will run in any fork of squeak who can load
OmniBrowser. This is a big difference with wxSqueak, wich is a fork
it self (and requires an special VM)
And of course, while both efforts (SqueakGTK and wxWidgets) are
cool, none of them can be executed (and won't ever be) in small
environments, like the iphone, which is one of my main objectives
(using John's new VM and Edgar's work on minimal image building)
Mars is MIT and can be downloaded following instructions from here: http: //www.smallworks.com.ar/productos/Mars/Download For more details (history, blog, etc.), you can go to: http://www.smallwo rks.com.ar/productos/Mars
DISCLAIMER: Right now, Mars is vere-very alpha stage (though it runs
and can be used) and I would love any contribution in the form of:
bug reports (there will be a lot now), feature requests, comments,
and of course, code :)
Cheers, Esteban
--
"Querer es suscitar las paradojas" Camus. El mÃto de SÃsifo. _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.