On Wed, Jan 23, 2013 at 9:01 AM, Igor Stasenko <siguctua@gmail.com> wrote:
On 23 January 2013 17:27, Sean P. DeNigris <sean@clipperadams.com> wrote:
EstebanLM wrote
Pharo 2.0 will be released with a stable, branded vm with a bunch of useful plugins and libraries (like freetype) and out-of-the-box support for NativeBoost. ... For Pharo 3.0 we are even more ambitious: we want to start replacing some important parts of the vm with plugins (like extract a "DisplayPlugin", so we can control from image side the initialization of a morphic world or something extra. And we want to replace BitBlt plugin with Athens, so that will keep us busy enough time.
Wow, very exciting! Thank everyone for the hard work :)
EstebanLM wrote
- ephemerons support.
Is this currently available? If so, does that mean that weak announcements taking a block are now working properly?
no it is not integrated yet. After discussing with Eliot, he recommended to use last object format to denote ephemerons. Existing implementation is a bit hackish way to determine if object is ephemeron. So, before we do such change, assume they are not working yet.
Yes, please. This is the only thing that has kept me from integrating the ephemeron work. We can use instSpec/format #5. The instSpec/formats are 0: zero-fixed-sized pointers (e.g. UndefinedObject) 1: non-zero-fixed-sized pointers (e.g. Point (x,y)) 2: zero-fixed-size variable pointers (e.g. Array) 3. non-zero-fixed-sized variable pointers (e.g. AdditionalMethodState (method,selector)) 4. arbitrary-fixed-sized variable weak pointers (e.g. WeakFinalizerItem (list,next,executor) 5. unused 6. variable 32-bit non-pointers (e.g. Float) 7. unused (but should be odd bit for length of format 6 objects in 64-bit system) 8. variable 8-bit non-pointers (e.g. ByteArray, String) 9,10,11 odd bits for length of format 8 objects 12 hybrid variable pointers, variable bytes (CompiledMethod and subclasses) 13,14,15 odd bits for length of format 12 objects So 5 is the obvious one. format <= 5 are pointers, format <= 5 or >= 12 contain pointers. 7's a really bad choice. And I won't bore you with the extension to 64-bits and a 5 bit field.
Also, is the Pharo branded VM on the static file server based on Jit Cog (as opposed to stack, etc)?
which server?
Cheers, Sean -- View this message in context: http://forum.world.st/about-the-VM-and-Pharo-tp4664887p4664902.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
-- Best regards, Igor Stasenko.
-- best, Eliot