[squeak-dev] Re: Using V8 for other languages
Paolo Bonzini
bonzini at gnu.org
Sun Sep 7 11:22:26 UTC 2008
> Also, compiling code that isn't in a hotspot is a waste of time, since
> you spend much longer compiling the code than you would have spent
> interpreting it, and can cause big compile pauses if the compiler does
> much optimization.
You can use a simple 1-pass compilation (without even register
allocation) that takes just a few ms for any reasonable amount of code.
Don't forget that V8 runs (mainly) in a browser--if the browser is
sufficiently snappy, the user won't notice a compilation pause of a few
milliseconds.
Paolo
More information about the Squeak-dev
mailing list
|