I'll note the most modern squeak VM's return wordSize, this might be helpful somewhere. wordSize "Answer the size (in bytes) of an object pointer." "Smalltalk wordSize" ^[SmalltalkImage current vmParameterAt: 40] on: Error do: [4] On 2009-09-22, at 4:16 PM, Ken Treis wrote:
Eliot, Johan, Fernando, et. al.:
On Sep 16, 2009, at 3:09 PM, Eliot Miranda wrote:
Hi Ken,
On Wed, Sep 16, 2009 at 12:17 PM, Ken Treis <ken@miriamtech.com> wrote: Perhaps there would need to be new primitives for the basic size of each relevant C type? I'm anxious to hear what Eliot might have to say about this since he's got about 2000x more experience with this than I do.
-- = = = ======================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ========================================================================