Hi,
I'm wondering how to switch code to block closures. I guess I have to install NewCompiler from Squeak Source. Right?
Noury ------------------------------------------------------------------ Dr. Noury Bouraqadi - Enseignant/Chercheur ARMINES - Ecole des Mines de Douai - Dept. I.A. http://csl.ensm-douai.fr/noury
European Smalltalk Users Group Board http://www.esug.org ------------------------------------------------------------------
Hi,
In the Preference Browser Go to the compiler category then enable both compileClocksAsClosure and compileUseNewCompiler.
HTH
Math Noury Bouraqadi wrote:
Hi,
I'm wondering how to switch code to block closures. I guess I have to install NewCompiler from Squeak Source. Right?
Noury
Dr. Noury Bouraqadi - Enseignant/Chercheur ARMINES - Ecole des Mines de Douai - Dept. I.A. http://csl.ensm-douai.fr/noury
European Smalltalk Users Group Board http://www.esug.org
Thanks Mathieu. Le 23 janv. 07 à 19:15, Mathieu Suen a écrit :
Hi,
In the Preference Browser Go to the compiler category then enable both compileClocksAsClosure and compileUseNewCompiler.
HTH
Math Noury Bouraqadi wrote:
Hi,
I'm wondering how to switch code to block closures. I guess I have to install NewCompiler from Squeak Source. Right?
Noury
Dr. Noury Bouraqadi - Enseignant/Chercheur ARMINES - Ecole des Mines de Douai - Dept. I.A. http://csl.ensm-douai.fr/noury
European Smalltalk Users Group Board http://www.esug.org
------------------------------------------------------------------ Dr. Noury Bouraqadi - Enseignant/Chercheur ARMINES - Ecole des Mines de Douai - Dept. I.A. http://csl.ensm-douai.fr/noury
European Smalltalk Users Group Board http://www.esug.org ------------------------------------------------------------------
"Mathieu" == Mathieu Suen mathk.sue@gmail.com writes:
Mathieu> Go to the compiler category then enable both compileClocksAsClosure Mathieu> and compileUseNewCompiler.
I seem to remember there's a downside to that. What's the downside again?
2007/1/26, Randal L. Schwartz merlyn@stonehenge.com:
"Mathieu" == Mathieu Suen mathk.sue@gmail.com writes:
Mathieu> Go to the compiler category then enable both compileClocksAsClosure Mathieu> and compileUseNewCompiler.
I seem to remember there's a downside to that. What's the downside again?
- slower perfomance - problems with the debugger
Philippe
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
...and if those are the downsides, what are the upsides? I don't suppose it means you can save blocks in an OODB or using (Smart) RefStream, can you?
Regards, Aaron
On Jan 26, 2007, at 2:07 PM, Philippe Marschall wrote:
2007/1/26, Randal L. Schwartz merlyn@stonehenge.com:
> "Mathieu" == Mathieu Suen mathk.sue@gmail.com writes:
Mathieu> Go to the compiler category then enable both compileClocksAsClosure Mathieu> and compileUseNewCompiler.
I seem to remember there's a downside to that. What's the downside again?
- slower perfomance
- problems with the debugger
Philippe
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
2007/1/26, Aaron Reichow revaaron@bitquabit.com:
...and if those are the downsides, what are the upsides?
Well you get full block closures. No more #fixTemps as a starter.
I don't suppose it means you can save blocks in an OODB or using (Smart) RefStream, can you?
Nah. I thought I heard that Gemstone supports blocks but I might be wrong on this.
Philippe
Regards, Aaron
On Jan 26, 2007, at 2:07 PM, Philippe Marschall wrote:
2007/1/26, Randal L. Schwartz merlyn@stonehenge.com:
>> "Mathieu" == Mathieu Suen mathk.sue@gmail.com writes:
Mathieu> Go to the compiler category then enable both compileClocksAsClosure Mathieu> and compileUseNewCompiler.
I seem to remember there's a downside to that. What's the downside again?
- slower perfomance
- problems with the debugger
Philippe
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
On 26 Jan 2007, at 20:32, Philippe Marschall wrote:
I thought I heard that Gemstone supports blocks but I might be wrong on this.
GemStone does support blocks but you need to be careful about what you reference inside the block. I can't remember all the options off the top of my head. If the block is "clean", in terms of lack of global/local references, then you can replicate it to GS. If it is dirty then I think it fails. The solution normally is to pass the block across and then send value: to it on the remote side passing in any objects that you need inside the block. It's pretty neat even with those restrictions.
Cheers,
Mike
squeak-dev@lists.squeakfoundation.org