Hi Esteban,

Instantiations is also busy porting their VM to 64bits. They have already
created a new API for OStructures so that the offsets are re calculated
based on the platform alignment rules and the VM type [1].

I know Pharo is open source and VA Smalltalk is not. But a bit of
cooperation should be possible I think. Both platforms benefit if libraries
are easy to port and not re-inventing this wheel saves time.

Jan.

[1]
http://www.instantiations.com/docs/862/wwhelp/wwhimpl/js/html/wwhelp.htm#href=pr/stpr451.html


On Sat, Nov 5, 2016 at 3:10 PM, Esteban Lorenzano <[email protected]>
wrote:

>
> > On 5 Nov 2016, at 12:27, Thierry Goubier <[email protected]>
> wrote:
> >
> > Le 05/11/2016 à 12:12, Jan van de Sandt a écrit :
> >> Hi,
> >>
> >> With the latest 64bits VM (201611042126) and image (60282) UFFI is also
> >> looking good. I'm testing a small library of mine [1] to interface with
> >> LMDB [1], a memory mapped key-value database. Almost all tests are
> >> green. This is great progress!
> >
> > Hi Jan,
> >
> > did you have to change your UFFI definitions to match the 64bits version
> of your lib?
>
> no.
> but structures do change (because of sizes, of course).
> I’m thinking a way to define a generic representation (keeping offsets
> somewhere instead hardcoding it), but for now they have to be redefined for
> each platform.
>
> Esteban
>
> >
> > Thierry
> >
> >> I only ran into one issue, a PrimitiveFailed error with
> >> #basicIdentityHash in the SmallFloat64 class.
> >>
> >> Cheers,
> >> Jan.
> >>
> >> [1] http://smalltalkhub.com/#!/~JanVanDeSandt/LightningMDB
> >> [2] https://symas.com/products/lightning-memory-mapped-database/
> >>
> >>
> >> On Fri, Oct 28, 2016 at 11:56 AM, Esteban Lorenzano <
> [email protected]
> >> <mailto:[email protected]>> wrote:
> >>
> >>    VM here: http://bintray.com/estebanlm/pharo-vm/build#files/
> >>    <http://bintray.com/estebanlm/pharo-vm/build#files/>
> >>    Image here: http://files.pharo.org/get-files/60/pharo-64.zip
> >>    <http://files.pharo.org/get-files/60/pharo-64.zip>
> >>
> >>    this is still not official (that’s why is not in official place) so
> >>    there are a couple of known problems:
> >>
> >>    - version format is different, and that breaks some things in image
> >>    that depends on it to know what happens
> >>    - command line is different and probably you’ll need to play a bit
> >>    with options (one or two dashes).
> >>    - UFFI has some failing tests (but most of it works).
> >>
> >>    I would appreciate some help to report and/or fix the emerging
> >>    problems.
> >>
> >>    cheers,
> >>    Esteban
> >>
> >>>    On 28 Oct 2016, at 10:39, Thierry Goubier
> >>>    <[email protected] <mailto:[email protected]>>
> wrote:
> >>>
> >>>    Hi all,
> >>>
> >>>    anybody knows how to get (and test) the 64bits version of the
> >>>    Pharo vm and image?
> >>>
> >>>    Thanks,
> >>>
> >>>    Thierry
> >>
> >>
> >
> >
>
>
>

Reply via email to