rubinius Questions
2
Solved
While doing some benchmarking to answer this question about the fastest way to concatenate arrays I was surprised that when I did the same benchmarks in with jRuby the tests were a lot slower.
Doe...
Stewart asked 10/11, 2016 at 13:48
1
Solved
I have these two implementations of gcd function :
def gcd1(a,b)
if a==b
a
elsif a>b
if (a%b)==0
b
else
gcd1(a%b,b)
end
else
if (b%a)==0
a
else
gcd1(a,b%a)
end
end
end
def gcd2(a...
Disintegration asked 19/6, 2016 at 21:29
1
Solved
I have a rails project that runs fine with MRI 1.9.3. When I try to run with Rubinius I get this error in app/views/layouts/application.html.haml:
"\xC2" to UTF-8 in conversion from ASCII-8BIT t...
Morville asked 25/4, 2013 at 15:28
2
Solved
So, I have a few questions that I have to ask, I did browse the internet, but there weren't too many reliable answers. Mostly blog posts that would cancel each-other out because they both praised d...
2
Solved
This throws me a SystemStackError in 1.9.2 Ruby (but works in Rubinius):
class Fixnum
def +(other)
self + other * 2
end
end
but there is no super for + (based on other errors).
How can I acc...
2
Solved
The method I know of to detect the Ruby implementation (e.g., MRI, JRuby, Rubinius, etc.) at run time is to check the global constant RUBY_ENGINE:
$ ruby -e 'puts RUBY_ENGINE'
ruby
What's a reas...
1
Solved
Could you give me some examples were is worth it use rubinius, like in this post:
http://yehudakatz.com/2009/08/31/simplifying-rails-block-helpers-with-a-side-of-rubinius/
7
Solved
Possible Duplicates:
How can a language's compiler be written in that language?
implementing a compiler in “itself”
I was looking at Rubinius, a Ruby implementation t...
Dayflower asked 24/11, 2010 at 10:24
5
Solved
I've been programming in Ruby for a while now with just the standard MRI implementation of Ruby, but I've always been curious about the other implementations I hear so much about.
I was reading ab...
Kayleigh asked 30/5, 2010 at 6:1
1
© 2022 - 2024 — McMap. All rights reserved.