Building Pharo using Interpreter Class
My freind Dimitri was not able to post his message. I am working with him on this. _______________________________________________________________________________ Hello, as part of a Seminar in the University im trying to build the PharoVM. According to the README file here ([1]) I was able to generate and to build the VM successfully. Now I would like to build the VM without Cog or Stack-to-Register optimizations... The problem here is, that I could not find any config class (which is a subclass of CPlatformConfig), that provides the right configurations and allows to build the VM without errors. I have tried to modify PharoUnixConfig(because it was the default config class), but unfortunately the build failes when the compiler tries to compile gcc3x-interp.c. Could somebody help me with this problem? How should I configure my own Config class? Basically our Group tries to implement an object table in Pharo and we want to use (and modify) the basic Interpreter class. [1] https://github.com/pharo-project/pharo-vm Best regards, Dimitri Korsch
There is working pure interpreter in the pharovm. Phil On Tuesday, December 3, 2013, Kirstin Heidler wrote:
My freind Dimitri was not able to post his message. I am working with him on this.
____________________________________________________________ ___________________
Hello,
as part of a Seminar in the University im trying to build the PharoVM. According to the README file here ([1]) I was able to generate and to build the VM successfully.
Now I would like to build the VM without Cog or Stack-to-Register optimizations... The problem here is, that I could not find any config class (which is a subclass of CPlatformConfig), that provides the right configurations and allows to build the VM without errors. I have tried to modify PharoUnixConfig(because it was the default config class), but unfortunately the build failes when the compiler tries to compile gcc3x-interp.c.
Could somebody help me with this problem? How should I configure my own Config class?
Basically our Group tries to implement an object table in Pharo and we want to use (and modify) the basic Interpreter class.
[1] https://github.com/pharo-project/pharo-vm
Best regards, Dimitri Korsch
-- --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:phil@highoctane.be | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube: http://www.youtube.com/user/philippeback/videos High Octane SPRL rue cour Boisacq 101 | 1301 Bierges | Belgium Pharo Consortium Member - http://consortium.pharo.org/ Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller
But for some reason we have not been able to work with it correctly. We may manange to build, as well as make it, but if not before it will fail when we try to open our image with the new VM. What configuration do we need to adapt to correctly build everything with the Interpreter class, or at least the StackInterpreter Class(Not CoInterpreter, because we do not want to have JIT). Kirstin Am 03.12.2013 13:33, schrieb phil@highoctane.be:
There is working pure interpreter in the pharovm.
Phil On Tuesday, December 3, 2013, Kirstin Heidler wrote:
My freind Dimitri was not able to post his message. I am working with him on this.
_______________________________________________________________________________
Hello,
as part of a Seminar in the University im trying to build the PharoVM. According to the README file here ([1]) I was able to generate and to build the VM successfully.
Now I would like to build the VM without Cog or Stack-to-Register optimizations... The problem here is, that I could not find any config class (which is a subclass of CPlatformConfig), that provides the right configurations and allows to build the VM without errors. I have tried to modify PharoUnixConfig(because it was the default config class), but unfortunately the build failes when the compiler tries to compile gcc3x-interp.c.
Could somebody help me with this problem? How should I configure my own Config class?
Basically our Group tries to implement an object table in Pharo and we want to use (and modify) the basic Interpreter class.
[1] https://github.com/pharo-project/pharo-vm
Best regards, Dimitri Korsch
-- --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:phil@highoctane.be <mailto:Mail%3Aphil@highoctane.be> | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube: http://www.youtube.com/user/philippeback/videos
High Octane SPRL rue cour Boisacq 101 | 1301 Bierges | Belgium
Pharo Consortium Member - http://consortium.pharo.org/ Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller
Oops. There is no pure interpreter. Sorry. Word skipped on damn phone. On Tuesday, December 3, 2013, Kirstin Heidler wrote:
But for some reason we have not been able to work with it correctly. We may manange to build, as well as make it, but if not before it will fail when we try to open our image with the new VM.
What configuration do we need to adapt to correctly build everything with the Interpreter class, or at least the StackInterpreter Class(Not CoInterpreter, because we do not want to have JIT).
Kirstin
Am 03.12.2013 13:33, schrieb phil@highoctane.be <javascript:_e({}, 'cvml', 'phil@highoctane.be');>:
There is working pure interpreter in the pharovm.
Phil On Tuesday, December 3, 2013, Kirstin Heidler wrote:
My freind Dimitri was not able to post his message. I am working with him on this.
_______________________________________________________________________________
Hello,
as part of a Seminar in the University im trying to build the PharoVM. According to the README file here ([1]) I was able to generate and to build the VM successfully.
Now I would like to build the VM without Cog or Stack-to-Register optimizations... The problem here is, that I could not find any config class (which is a subclass of CPlatformConfig), that provides the right configurations and allows to build the VM without errors. I have tried to modify PharoUnixConfig(because it was the default config class), but unfortunately the build failes when the compiler tries to compile gcc3x-interp.c.
Could somebody help me with this problem? How should I configure my own Config class?
Basically our Group tries to implement an object table in Pharo and we want to use (and modify) the basic Interpreter class.
[1] https://github.com/pharo-project/pharo-vm
Best regards, Dimitri Korsch
-- --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:phil@highoctane.be <javascript:_e({}, 'cvml', 'Mail%3Aphil@highoctane.be');> | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube: http://www.youtube.com/user/philippeback/videos
High Octane SPRL rue cour Boisacq 101 | 1301 Bierges | Belgium
Pharo Consortium Member - http://consortium.pharo.org/ Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller
-- --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:phil@highoctane.be | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube: http://www.youtube.com/user/philippeback/videos High Octane SPRL rue cour Boisacq 101 | 1301 Bierges | Belgium Pharo Consortium Member - http://consortium.pharo.org/ Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller
But the StackInterpreter and Stack VM should be working, right? We just found out, that once an Image has been saved with a Cog-VM there can be issues with floating points because of the ordering of bits? LE vs. BE? At least it says so in this README [2]. May this be one of the problems we had when trying to start our image with the generated StackVM? Also, which Pharo version do you reccomend to use? We downloaded the one from this [1] repository. I think it is a Pharo 2.0? Thanks a lot for your help. Nice to know that the Interpreter class is not working. :) Kirstin [1] https://github.com/pharo-project/pharo-vm [2] http://www.squeakvm.org/svn/squeak/branches/Cog/README Am 03.12.2013 14:10, schrieb phil@highoctane.be:
Oops. There is no pure interpreter. Sorry. Word skipped on damn phone.
On Tuesday, December 3, 2013, Kirstin Heidler wrote:
But for some reason we have not been able to work with it correctly. We may manange to build, as well as make it, but if not before it will fail when we try to open our image with the new VM.
What configuration do we need to adapt to correctly build everything with the Interpreter class, or at least the StackInterpreter Class(Not CoInterpreter, because we do not want to have JIT).
Kirstin
Am 03.12.2013 13:33, schrieb phil@highoctane.be <javascript:_e({}, 'cvml', 'phil@highoctane.be');>:
There is working pure interpreter in the pharovm.
Phil On Tuesday, December 3, 2013, Kirstin Heidler wrote:
My freind Dimitri was not able to post his message. I am working with him on this.
_______________________________________________________________________________
Hello,
as part of a Seminar in the University im trying to build the PharoVM. According to the README file here ([1]) I was able to generate and to build the VM successfully.
Now I would like to build the VM without Cog or Stack-to-Register optimizations... The problem here is, that I could not find any config class (which is a subclass of CPlatformConfig), that provides the right configurations and allows to build the VM without errors. I have tried to modify PharoUnixConfig(because it was the default config class), but unfortunately the build failes when the compiler tries to compile gcc3x-interp.c.
Could somebody help me with this problem? How should I configure my own Config class?
Basically our Group tries to implement an object table in Pharo and we want to use (and modify) the basic Interpreter class.
[1] https://github.com/pharo-project/pharo-vm
Best regards, Dimitri Korsch
-- --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:phil@highoctane.be <javascript:_e({}, 'cvml', 'Mail%3Aphil@highoctane.be');> | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube: http://www.youtube.com/user/philippeback/videos
High Octane SPRL rue cour Boisacq 101 | 1301 Bierges | Belgium
Pharo Consortium Member - http://consortium.pharo.org/ Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller
-- --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:phil@highoctane.be <mailto:Mail%3Aphil@highoctane.be> | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube: http://www.youtube.com/user/philippeback/videos
High Octane SPRL rue cour Boisacq 101 | 1301 Bierges | Belgium
Pharo Consortium Member - http://consortium.pharo.org/ Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller
But the StackInterpreter and Stack VM should be working, right?
Yes. Use PharoSVMBuilder class for building that one.
We just found out, that once an Image has been saved with a Cog-VM there can be >issues with floating points because of the ordering of bits? LE vs. BE? At least it says so i>n this README [2]. May this be one of the problems we had when trying to start our image with the >generated StackVM?
Not sure about that. The FloatingPoint plugin is the FloatingPoint plugin. And it is used in both VMs. I can open an image with both.
Also, which Pharo version do you reccomend to use? We downloaded the one from this [1] repository. I think it is a Pharo 2.0?
Use Pharo2.0
Thanks a lot for your help. Nice to know that the Interpreter class is not working. :)
Everyone would love to have those all toghether but the Interpreter is David T. Lewis thing, where Cog and Stack are Eliot thing. And Pharo does some of its own things to Cog/Stack. + Clement working on his own stuff as well. Not there yet but who knows. Phil --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:phil@highoctane.be | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube: http://www.youtube.com/user/philippeback/videos High Octane SPRL rue cour Boisacq 101 | 1301 Bierges | Belgium Pharo Consortium Member - http://consortium.pharo.org/ Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller On Tue, Dec 3, 2013 at 2:34 PM, Kirstin Heidler < kirstin.heidler@student.hpi.uni-potsdam.de> wrote:
But the StackInterpreter and Stack VM should be working, right?
We just found out, that once an Image has been saved with a Cog-VM there can be issues with floating points because of the ordering of bits? LE vs. BE? At least it says so in this README [2]. May this be one of the problems we had when trying to start our image with the generated StackVM? Also, which Pharo version do you reccomend to use? We downloaded the one from this [1] repository. I think it is a Pharo 2.0?
Thanks a lot for your help. Nice to know that the Interpreter class is not working. :)
Kirstin
[1] https://github.com/pharo-project/pharo-vm [2] http://www.squeakvm.org/svn/squeak/branches/Cog/README
Am 03.12.2013 14:10, schrieb phil@highoctane.be:
Oops. There is no pure interpreter. Sorry. Word skipped on damn phone.
On Tuesday, December 3, 2013, Kirstin Heidler wrote:
But for some reason we have not been able to work with it correctly. We may manange to build, as well as make it, but if not before it will fail when we try to open our image with the new VM.
What configuration do we need to adapt to correctly build everything with the Interpreter class, or at least the StackInterpreter Class(Not CoInterpreter, because we do not want to have JIT).
Kirstin
Am 03.12.2013 13:33, schrieb phil@highoctane.be:
There is working pure interpreter in the pharovm.
Phil On Tuesday, December 3, 2013, Kirstin Heidler wrote:
My freind Dimitri was not able to post his message. I am working with him on this.
_______________________________________________________________________________
Hello,
as part of a Seminar in the University im trying to build the PharoVM. According to the README file here ([1]) I was able to generate and to build the VM successfully.
Now I would like to build the VM without Cog or Stack-to-Register optimizations... The problem here is, that I could not find any config class (which is a subclass of CPlatformConfig), that provides the right configurations and allows to build the VM without errors. I have tried to modify PharoUnixConfig(because it was the default config class), but unfortunately the build failes when the compiler tries to compile gcc3x-interp.c.
Could somebody help me with this problem? How should I configure my own Config class?
Basically our Group tries to implement an object table in Pharo and we want to use (and modify) the basic Interpreter class.
[1] https://github.com/pharo-project/pharo-vm
Best regards, Dimitri Korsch
-- --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:phil@highoctane.be | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube: http://www.youtube.com/user/philippeback/videos
High Octane SPRL rue cour Boisacq 101 | 1301 Bierges | Belgium
Pharo Consortium Member - http://consortium.pharo.org/ Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller
-- --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:phil@highoctane.be | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube: http://www.youtube.com/user/philippeback/videos
High Octane SPRL rue cour Boisacq 101 | 1301 Bierges | Belgium
Pharo Consortium Member - http://consortium.pharo.org/ Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller
Thanks phil, works. :) We were trying to do weird things.... but nevermind. We will get to the real work now. Kirstin Am 03.12.2013 14:41, schrieb phil@highoctane.be:
But the StackInterpreter and Stack VM should be working, right?
Yes. Use PharoSVMBuilder class for building that one.
We just found out, that once an Image has been saved with a Cog-VM there can be >issues with floating points because of the ordering of bits? LE vs. BE? At least it says so i>n this README [2]. May this be one of the problems we had when trying to start our image with the >generated StackVM?
Not sure about that. The FloatingPoint plugin is the FloatingPoint plugin. And it is used in both VMs.
I can open an image with both.
Also, which Pharo version do you reccomend to use? We downloaded the one from this [1] repository. I think it is a Pharo 2.0?
Use Pharo2.0
Thanks a lot for your help. Nice to know that the Interpreter class is not working. :)
Everyone would love to have those all toghether but the Interpreter is David T. Lewis thing, where Cog and Stack are Eliot thing. And Pharo does some of its own things to Cog/Stack. + Clement working on his own stuff as well.
Not there yet but who knows.
Phil
--- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:phil@highoctane.be <mailto:Mail%3Aphil@highoctane.be> | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube: http://www.youtube.com/user/philippeback/videos
High Octane SPRL rue cour Boisacq 101 | 1301 Bierges | Belgium
Pharo Consortium Member - http://consortium.pharo.org/ Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller
On Tue, Dec 3, 2013 at 2:34 PM, Kirstin Heidler <kirstin.heidler@student.hpi.uni-potsdam.de <mailto:kirstin.heidler@student.hpi.uni-potsdam.de>> wrote:
But the StackInterpreter and Stack VM should be working, right?
We just found out, that once an Image has been saved with a Cog-VM there can be issues with floating points because of the ordering of bits? LE vs. BE? At least it says so in this README [2]. May this be one of the problems we had when trying to start our image with the generated StackVM? Also, which Pharo version do you reccomend to use? We downloaded the one from this [1] repository. I think it is a Pharo 2.0?
Thanks a lot for your help. Nice to know that the Interpreter class is not working. :)
Kirstin
[1] https://github.com/pharo-project/pharo-vm [2] http://www.squeakvm.org/svn/squeak/branches/Cog/README
Am 03.12.2013 14:10, schrieb phil@highoctane.be <mailto:phil@highoctane.be>:
Oops. There is no pure interpreter. Sorry. Word skipped on damn phone.
On Tuesday, December 3, 2013, Kirstin Heidler wrote:
But for some reason we have not been able to work with it correctly. We may manange to build, as well as make it, but if not before it will fail when we try to open our image with the new VM.
What configuration do we need to adapt to correctly build everything with the Interpreter class, or at least the StackInterpreter Class(Not CoInterpreter, because we do not want to have JIT).
Kirstin
Am 03.12.2013 13:33, schrieb phil@highoctane.be:
There is working pure interpreter in the pharovm.
Phil On Tuesday, December 3, 2013, Kirstin Heidler wrote:
My freind Dimitri was not able to post his message. I am working with him on this.
_______________________________________________________________________________
Hello,
as part of a Seminar in the University im trying to build the PharoVM. According to the README file here ([1]) I was able to generate and to build the VM successfully.
Now I would like to build the VM without Cog or Stack-to-Register optimizations... The problem here is, that I could not find any config class (which is a subclass of CPlatformConfig), that provides the right configurations and allows to build the VM without errors. I have tried to modify PharoUnixConfig(because it was the default config class), but unfortunately the build failes when the compiler tries to compile gcc3x-interp.c.
Could somebody help me with this problem? How should I configure my own Config class?
Basically our Group tries to implement an object table in Pharo and we want to use (and modify) the basic Interpreter class.
[1] https://github.com/pharo-project/pharo-vm
Best regards, Dimitri Korsch
-- --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 <tel:%2B32%280%29%20478%20650%20140> | Fax: +32 (0) 70 408 027 <tel:%2B32%20%280%29%2070%20408%20027> Mail:phil@highoctane.be | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube: http://www.youtube.com/user/philippeback/videos
High Octane SPRL rue cour Boisacq 101 | 1301 Bierges | Belgium
Pharo Consortium Member - http://consortium.pharo.org/ Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller
-- --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 <tel:%2B32%280%29%20478%20650%20140> | Fax: +32 (0) 70 408 027 <tel:%2B32%20%280%29%2070%20408%20027> Mail:phil@highoctane.be <mailto:Mail%3Aphil@highoctane.be> | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube: http://www.youtube.com/user/philippeback/videos
High Octane SPRL rue cour Boisacq 101 | 1301 Bierges | Belgium
Pharo Consortium Member - http://consortium.pharo.org/ Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller
Hello kirstin why dimitri is not able to post? can you tell us more? Stef On Dec 3, 2013, at 1:17 PM, Kirstin Heidler <kirstin.heidler@student.hpi.uni-potsdam.de> wrote:
My freind Dimitri was not able to post his message. I am working with him on this.
_______________________________________________________________________________
Hello,
as part of a Seminar in the University im trying to build the PharoVM. According to the README file here ([1]) I was able to generate and to build the VM successfully.
Now I would like to build the VM without Cog or Stack-to-Register optimizations... The problem here is, that I could not find any config class (which is a subclass of CPlatformConfig), that provides the right configurations and allows to build the VM without errors. I have tried to modify PharoUnixConfig(because it was the default config class), but unfortunately the build failes when the compiler tries to compile gcc3x-interp.c.
Could somebody help me with this problem? How should I configure my own Config class?
Basically our Group tries to implement an object table in Pharo and we want to use (and modify) the basic Interpreter class.
[1] https://github.com/pharo-project/pharo-vm
Best regards, Dimitri Korsch
Hello Stephane, he tried several times last thursday. He also tried using Nabble which did not work. Nabble produced some error about him not having permission to post. However in the interface of Nabble it displays him as a well registered user, as far as I can judge. This is one of the headers when he tried to send to the mailing list: -------- Original-Nachricht -------- Betreff: Building Pharo without using only Interpreter class Datum: Thu, 28 Nov 2013 16:18:13 +0100 Von: Dimitri Korsch <dimitri.korsch@student.hpi.uni-potsdam.de> An: <pharo-dev@lists.pharo.org> Kopie (CC): Kirstin Heidler <kirstin.heidler@student.hpi.uni-potsdam.de>, <nicco.kunzmann@student.hpi.uni-potsdam.de> Maybe it didn't work becuase Nicco and I were in CC? Kirstin Am 03.12.2013 20:58, schrieb Stéphane Ducasse:
Hello kirstin
why dimitri is not able to post? can you tell us more?
Stef
On Dec 3, 2013, at 1:17 PM, Kirstin Heidler <kirstin.heidler@student.hpi.uni-potsdam.de> wrote:
My freind Dimitri was not able to post his message. I am working with him on this.
_______________________________________________________________________________
Hello,
as part of a Seminar in the University im trying to build the PharoVM. According to the README file here ([1]) I was able to generate and to build the VM successfully.
Now I would like to build the VM without Cog or Stack-to-Register optimizations... The problem here is, that I could not find any config class (which is a subclass of CPlatformConfig), that provides the right configurations and allows to build the VM without errors. I have tried to modify PharoUnixConfig(because it was the default config class), but unfortunately the build failes when the compiler tries to compile gcc3x-interp.c.
Could somebody help me with this problem? How should I configure my own Config class?
Basically our Group tries to implement an object table in Pharo and we want to use (and modify) the basic Interpreter class.
[1] https://github.com/pharo-project/pharo-vm
Best regards, Dimitri Korsch
participants (3)
-
Kirstin Heidler -
phil@highoctane.be -
Stéphane Ducasse