But once you are using an image on a given platform it may not work on another one just like that (e.g. FreeType will give trouble).

Phil

On Wed, Apr 11, 2018, 08:52 Guillermo Polito <guillermopolito@gmail.com> wrote:
VMs share most of the code. At least the basic interpreter, primitives and garbage collector.
But there are some platform specificities such as how some plugins are managed.
Also there are different JIT backends, one per platform.
I don't know if a VM comes shipped with all of them or just the one needed.

For more details, better ask the vm-dev mailing list.

On Wed, Apr 11, 2018 at 12:39 AM, Benoit St-Jean via Pharo-dev <pharo-dev@lists.pharo.org> wrote:


---------- Forwarded message ----------
From:��Benoit St-Jean <bstjean@yahoo.com>
To:��Pharo Development List <pharo-dev@lists.pharo.org>, "Peter Uhn��k" <i.uhnak@gmail.com>
Cc:��
Bcc:��
Date:��Tue, 10 Apr 2018 22:39:16 +0000 (UTC)
Subject:��Re: [Pharo-dev] Images, VMs and 32 vs 64bit
Thanks!

I don't really care about the image format, my question was more oriented towards the code itself.�� As I don't have a Mac, I was curious as to whether there would be code differences between platforms, VMs and 32 vs 64bit distributions, code-wise!


-----------------
Beno��t St-Jean
Yahoo! Messenger: bstjean
Twitter: @BenLeChialeux
Pinterest: benoitstjean
Instagram: Chef_Benito
IRC: lamneth
Blogue: endormitoire.wordpress.com
"A standpoint is an intellectual horizon of radius zero".�� (A. Einstein)


On Tuesday, April 10, 2018, 6:29:33 p.m. EDT, Peter Uhn��k <i.uhnak@gmail.com> wrote:


> images for different platforms (Mac, Linux, Windows)

yes
It is the responsibility of the VM to contain the differences. Note that there's some "platform-specific" code, but the image contains the code for all platforms at once.
Generally speaking you can code on one platform, copy the image files to another and continue your work (although doing this can cause trouble, as e.g. some file paths may now point to non-existing locations).
You can download the images independently of the platform too (e.g. Pharo 6 images: http://files.pharo.org/image/60/ )

> VMs (32bit, 64bit)

yes?
the files are different, but I don't know if there's code difference, or if the images are just built with different memory layouts

Peter

On Wed, Apr 11, 2018 at 12:13 AM, Benoit St-Jean via Pharo-dev <pharo-dev@lists.pharo.org> wrote:


---------- Forwarded message ----------
From:��Benoit St-Jean <bstjean@yahoo.com>
To:��Pharo Development List <pharo-dev@lists.pharo.org>
Cc:��
Bcc:��
Date:��Tue, 10 Apr 2018 22:13:18 +0000 (UTC)
Subject:��Images, VMs and 32 vs 64bit
I was wondering if images for different platforms (Mac, Linux, Windows) and VMs (32bit, 64bit) are, code-wise, the same?�� By "the same", I mean do they all have the exact same code base or some classes/methods are in some and not in others or different?

-----------------
Beno��t St-Jean
Yahoo! Messenger: bstjean
Twitter: @BenLeChialeux
Pinterest: benoitstjean
Instagram: Chef_Benito
IRC: lamneth
Blogue: endormitoire.wordpress.com
"A standpoint is an intellectual horizon of radius zero".�� (A. Einstein)






--

������

Guille Polito

Research Engineer

Centre de Recherche en Informatique, Signal et Automatique de Lille

CRIStAL - UMR 9189

French National Center for Scientific Research - http://www.cnrs.fr


Web: http://guillep.github.io

Phone: +33 06 52 70 66 13