3 ms·
Somebody needs to get this set up with The Ruby Racer[0], and run a JavaScript JavaScript implementation in a Ruby JavaScript bridge. [0]: https://github.com/c
by DHowett 14y ago
Somebody needs to get this set up with The Ruby Racer[0], and run a JavaScript JavaScript implementation in a Ruby JavaScript bridge.
[0]: https://github.com/cowboyd/therubyracer https://github.com/cowboyd/therubyracer
- bri3d 14y agoEven more evil would be to use JRuby and TheRubyRhino: run a JavaScript JavaScript implementation in a Java JavaScript implementation bridged to a Java Ruby implementation! To boot, the Rhino approach is probably a lot slower, since TheRubyRacer uses libv8.
- DHowett 14y agoYou could probably get a hilarious optimization out of it[0] by using gcj to compile the set of classes that JRuby generates into a native binary. Or, you know, use dx and transcompile it to Dalvik bytecode. [0]: Unfortunately, JRuby gives gcj/gij a hard time - gcj hits an internal error and gij makes it report that gij is unsupported. :(