Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eregon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
eregon
7y ago
Thanks for the praise on ruby/spec :) OTOH, I'm sure there are such bugs where the specs don't cover every corner-case behavior. Specs are added when finding bugs in alternative implementations and following MRI's NEWS f
32.
▲
by
eregon
8y ago
Right, I should just rename it to "Classic benchmarks", since it's also from other sources.
33.
▲
by
eregon
9y ago
Yes, this is quite annoying, we are working on it and there is an issue opened about it: https://github.com/graalvm/truffleruby/issues/118 It is also possible to build TruffleRuby and Graal entirely from open
34.
▲
by
eregon
10y ago
On the other hand, I am confident it's written in a much nicer way than most NES emulators (look at cpu.rb/ppu.rb). The goal of optcarrot is explicitly not to be the "practical"or "the fastest NES emulator". Fr
35.
▲
by
eregon
10y ago
Actually, JRuby+Truffle can already install gems using Bundler, although it uses some hacks to work around issues like currently-missing OpenSSL. Realistic Rails apps will not work yet, but there is fast progress in this area, we started th
36.
▲
Running Optcarrot, a Ruby NES Emulator, at 150 Fps with the GUI
(eregon.me)
59 points
by
eregon
10y ago
|
11 comments
37.
▲
by
eregon
10y ago
The object graph would only be handed to the receiver once it's fully transferred I would imagine.
38.
▲
by
eregon
10y ago
To add to the examples, Truffle currently has interpreters for unmanaged languages such as C/Fortran (with Sulong), dynamic languages such as Ruby and JS, statistics/math like R and functional like Clojure. The interopability is d
39.
▲
by
eregon
11y ago
I would advise against concluding anything with < 20% gain, the changes often impacts readability (the intention becomes less clear) and might as well be measurement errors or just be insignificant for any sort of real application. Not t