[Vm-dev] Re: [Pharo-dev] 32 bits and 64 bits VM

Esteban Lorenzano estebanlm at gmail.com
Fri May 16 08:36:50 UTC 2014


On 16 May 2014, at 10:27, phil at highoctane.be wrote:

> On Fri, May 16, 2014 at 10:20 AM, Esteban Lorenzano <estebanlm at gmail.com> wrote:
> 
> On 15 May 2014, at 18:46, Hilaire Fernandes <hilaire.fernandes at gmail.com> wrote:
> 
> > Great.
> >
> > As we are discussing about build, is it possible to compile CogVM on 64
> > bits architecture as it is already the case for the interpreted SqueakVM
> > (https://packages.debian.org/sid/squeak-vm)?
> 
> I do not understand. To compile a regular vm in a 64bits platform is trivial. You just need to have the 32bits library installed.
> But to have a 64bits vm that runs on 64bits… that’s another very different history:
> 
> - you need a 64bits image (so trace, export, etc.)
> 
> ImageTracers are intriguing to me :-) Is this in some way relatable to Oz? What's that project doing now? It was very interesting/useful. Guille?
>  
> - you need to be 64bits word size aware (not so complicated, but a lot of work).
> - you need 64bits plugins (a lot of them)
> - you need 64bits JIT (or no JIT at all)
> 
> 
> And...
> 
> * 64-bit aware hashing functions as the current ones are 32-bit centric. So, not so trivial I'd say. (what's the plan?)
> 
> * special care of the Float which will be directly in a 64 bit "oop" - I guess we'll face some fun here. Especially with the float plugin. 

yes, the plan is to introduce SmallFloat, etc.
So, in summary: a lot of work :)

> 
> As a side note, I see that http://www.mpfr.org/ is supported by INRIA. WTF aren't we considering this ? LGPL and INRIA may help getting some special thing for Pharo.
> 
> Phil
>  
> Some time ago there was an experimental 64bits interpreter vm (not even stack). Who worked with a special traced image.
> What squeak guys are doing in the link you provide is still building a 32bits vm.
> 
> Now. In the agenda for this year is to work on a 64bits spur version. If everything is fine and the stars align properly, it will be ready around christmas.
> 
> Esteban
> 
> 
> >
> > Hilaire
> >
> > Le 15/05/2014 18:24, Esteban Lorenzano a écrit :
> >> so yes… I integrated the fix, created a pull request, waited until validation… and then I forget to merge :S
> >> it should be in process to build now.
> >
> > --
> > Dr. Geo http://drgeo.eu
> >
> >
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140516/d2bdd693/attachment.htm


More information about the Vm-dev mailing list