Charles Oliver Nutter wrote:
I just finished up compilation on BEGIN and END blocks, which brings
the compiler to completion. I've also successfully been able to
compile the entire standard library and run IRB and RubyGems entirely
off compiled scripts (i.e. I deleted all the .rb files).
OptN
Ola Bini wrote:
I was thinking if the slowness of loading is because of all the class
loaders used... Would it make sense to let the standard library run with
the same class loader, you think?
And in the same manner, when we're talking about compiling RubyGems on
installation, having the same c
> The Compiler Is Complete.
>
> (and I have first dibs on blogging it)
Congratulations!
-
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
- "Charles Oliver Nutter" <[EMAIL PROTECTED]> wrote:
> The Compiler Is Complete.
Congratulations guys. I'm extremely excited to soon benefit from all your hard
work! ;)
John
-
To unsubscribe from this list please visit:
Hi,
I've implemented caching of the implementer in CallAdapter. Take a look
and see what you think. It improves invocation of included Module
methods high in larger hierarchies by about 10% while not adding any
noticeable penalty to other invocations.
Cheers
--
Ola Bini (http://ola-bini.blo
That's great, Charles.
What about the memory aspect of the compiler? I know that it is still early in
the construction, but can you give some idea as to whether a compiled JRuby
app will be heavier or lighter than a regular interpreted JRuby app?
Peter
-Original Message-
From: [EMAIL PRO
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey all,
i'd like to use a C extension to Ruby into jRuby.
i know it isn't possible however i know, from developer of this
extension, that only one part needs C, this part is related to Apple
Event Manager.
then i need some advices on how to i
Peter K Chan wrote:
That's great, Charles.
What about the memory aspect of the compiler? I know that it is still early in
the construction, but can you give some idea as to whether a compiled JRuby
app will be heavier or lighter than a regular interpreted JRuby app?
Most signs point to it bein
Yvon Thoraval wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey all,
i'd like to use a C extension to Ruby into jRuby.
i know it isn't possible however i know, from developer of this
extension, that only one part needs C, this part is related to Apple
Event Manager.
then i need some
This could be really big. Patch attached.
## script
require 'benchmark'
c = 0
script = 'a = 1; b = 2; c = c + a + b'
bnd = binding
puts "implicit binding"
puts Benchmark.realtime { 100.times { eval script } }
puts "explicit binding"
puts Benchmark.realtime { 100.times { eval script, bnd
On 9/28/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote:
>
> This could be really big. Patch attached.
[...]
## before
> ~/NetBeansProjects/jruby $ jruby bench_eval.rb
> implicit binding
> 85.61300015449524
> explicit binding
> 81.4769809265
> ~/NetBeansProjects/jruby $ jruby -J-server -
I forgot the MRI numbers:
~/NetBeansProjects/jruby $ ruby bench_eval.rb
implicit binding
9.50195717811584
explicit binding
9.21342587471008
Charles Oliver Nutter wrote:
## before
~/NetBeansProjects/jruby $ jruby bench_eval.rb
implicit binding
85.61300015449524
explicit binding
81.4769809265
Still, from what I searched in the Rails codebase, I think there is no big
eval usage in Rails. But for sure having such a fast eval interpreter is
great.
On 9/28/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote:
>
> I forgot the MRI numbers:
>
> ~/NetBeansProjects/jruby $ ruby bench_eval.rb
>
Raphaël Valyi wrote:
Still, from what I searched in the Rails codebase, I think there is no
big eval usage in Rails. But for sure having such a fast eval
interpreter is great.
erb templates are all eval'ed strings, repeatedly the same string again
and again.
- Charlie
-
Raphaël Valyi wrote:
Still, from what I searched in the Rails codebase, I think there is no
big eval usage in Rails. But for sure having such a fast eval
interpreter is great.
... caching of model properties are all done with evals. and routes. and
lots of other things
Cheers
--
Ola Bini (
Charles Oliver Nutter wrote:
This could be really big. Patch attached.
## script
require 'benchmark'
c = 0
script = 'a = 1; b = 2; c = c + a + b'
bnd = binding
puts "implicit binding"
puts Benchmark.realtime { 100.times { eval script } }
puts "explicit binding"
puts Benchmark.realtime { 10
> i know it isn't possible however i know, from developer of this
> extension, that only one part needs C, this part is related to Apple
> Event Manager.
>
> then i need some advices on how to implement this extension in java
> using JNI or
> similar.
I'm not big on OSX or Java stuff, but Apple's
This is awesome, congratulations!
Charles Oliver Nutter wrote:
I just finished up compilation on BEGIN and END blocks, which brings
the compiler to completion. I've also successfully been able to
compile the entire standard library and run IRB and RubyGems entirely
off compiled scripts (i.e.
README.test points people to wrong file name
Key: JRUBY-1394
URL: http://jira.codehaus.org/browse/JRUBY-1394
Project: JRuby
Issue Type: Bug
Components: Documentation
Reporter
Le 29 sept. 07 à 01:49, tsuraan a écrit :
I'm not big on OSX or Java stuff, but Apple's JVM has some extensions
to allow native access to OSX stuff (documented at
http://developer.apple.com/documentation/Java/Reference/1.4.2/
appledoc/api/index.html).
they are speaking only about the File M
20 matches
Mail list logo