Re: [squeak-dev] Re: Release packaging

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Release packaging

Eliot Miranda-2
 


On Fri, Apr 29, 2011 at 8:19 AM, Levente Uzonyi <[hidden email]> wrote:
On Fri, 29 Apr 2011, Hannes Hirzel wrote:

Yes, unzip.

You do not need to rename the file. croquet.exe. Just double click and
then it looks for the image file and launches it.

But I think you cannot go back to squeak.exe after you have started
and saved the image with croquet.exe. (Others please correct me)

Squeak images saved by the CogVM will have a new image format. The current release (4.1.1) of SqueakVM for windows can't read such images. I built a VM which can be used to convert your images back to the old formatl. It's available here: http://leves.web.elte.hu/squeak/SqueakVM-Win32-4.4.9-2358-non-official-bin.zip

Have these changes been folded back into VMMaker trunk? 



Levente



--Hannes

On 4/29/11, Ben Coman <[hidden email]> wrote:
Do you mean extract cogwin.zip into the Squeak-All-In-One folder and then
rename croquet.exe to squeak.exe ?

Hannes Hirzel wrote:

To have Squeak with Cog I replaced the old Squeak VM with a Cog one
from http://www.mirandabanda.org/files/Cog/VM/ (MSWindows)

--Hannes

On 4/29/11, Ben Coman <[hidden email]> wrote:


Hannes Hirzel wrote:


I agree. Does this imply that two all-in-one packages are needed, a
Cog and an non-cog?

--Hannes

On 4/28/11, Levente Uzonyi <[hidden email]> wrote:



Since this isn't the first time people do benchmarks, but don't
download
VMs independently, therefore I think we have to package VMs with the
releases in the future. IIRC someone even concluded that Pharo is
faster
than Squeak, but he just used what he got from the website (Cog for
Pharo
and the interpreter vm for Squeak).


Levente


Is the difference between a Cog and non-Cog VM just the a different exe
(for windows)?
How compatible are the images for Cog and non-Cog?
Could two executables be included in a single All-In-One package - ie
named like SqueakClassic.exe & SqueakCog.exe ?












Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Release packaging

Levente Uzonyi-2
 
On Fri, 29 Apr 2011, Eliot Miranda wrote:

> Have these changes been folded back into VMMaker trunk?

There are no changes, this is a VM built from the Trunk.


Levente
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Release packaging

David T. Lewis
 
On Sat, Apr 30, 2011 at 12:48:31AM +0200, Levente Uzonyi wrote:
>
> On Fri, 29 Apr 2011, Eliot Miranda wrote:
>
> >Have these changes been folded back into VMMaker trunk?
>
> There are no changes, this is a VM built from the Trunk.
>
> Levente

Support for Cog images (float word ordering) was added in these
two VMMaker updates, and is present in any recent VM build (but
the Windows VM has not been updated):

Name: VMMaker-dtl.189
Author: dtl
Time: 6 October 2010, 12:17:37 pm
UUID: 29192b6e-491d-4bc6-a209-5ba1c8625da0
Ancestors: VMMaker-dtl.188

VMMaker 4.3.3

Allow a standard interpreter VM to load and run an image that was saved
from a Cog or StackInterpreter VM. On image load, the storage format of
Float objects is returned to normalized word ordering (different from
platform word order for little endian platforms) and unrecognized header
flags are cleared. The image will be saved in standard interpreter format
(image format 6504 for a 32-bit image), which may subsequently be loaded
by a Cog or StackInterpreter VM.

Works for 32-bit Cog images (image format 6505) on both 32-bit and 64-bit
host (compile -m32 or -m64). Support for 64-bit image formats is not yet
implemented, see comment in #normalizeFloatOrderingInImage.

Name: VMMaker-dtl.190
Author: dtl
Time: 6 October 2010, 8:39:07 am
UUID: 4798e721-0a2b-4dea-b924-7492012a75f1
Ancestors: VMMaker-dtl.189

VMMaker 4.3.4

Fix #normalizeFloatOrderingInImage to work on 64-bit Squeak images. Float
data storage in a 64-bit image is the same as for a 32 bit image, with
the two 32-bit halves stored in the next two 32-bit words beginning at
accessibleObjectAfter: floatOop (in the case of 64-bit memory, the two
32-bit halves occupy one object memory word, while a 32-bit object memory
uses two). Therefore use the same logic in #normalizeFloatOrderingInImage
for a 64-bit image.


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Release packaging

Levente Uzonyi-2
In reply to this post by Levente Uzonyi-2
 
On Sat, 30 Apr 2011, Levente Uzonyi wrote:

>
> On Fri, 29 Apr 2011, Eliot Miranda wrote:
>
>> Have these changes been folded back into VMMaker trunk?
>
> There are no changes, this is a VM built from the Trunk.

Whoops, I forgot that I copied the source files for FilePlugin from Cog's
branch, so this VM has stdio support.


Levente

>
>
> Levente
>