yarv Questions
3
is there a way to store a RubyVM::InstructionSequence to a file and read it in later?
I tried Marshal.dump without success. Im getting the following error:
`dump': no _dump_data is defined for cl...
2
Solved
Ruby has a universal idea of "truthiness" and "falsiness".
Ruby does have two specific classes for Boolean objects, TrueClass and FalseClass, with singleton instances denoted by the special variab...
2
As I understand it, prior to Ruby 1.9, MRI and YARV were two separate implementations of the Ruby programming language.
What exactly changed in Ruby version 1.9? Was MRI abandoned in favour of YAR...
Bethezel asked 16/6, 2017 at 14:9
1
How can I generate byetcode from Ruby 1.9??
My intent is to generate bytecode not the source code and ship it along with my application package. I am aware of the JRuby approach but I am facing ce...
1
Are there any circumstances where GC.disable can degrade performance? Is it ok to do, so long as I'm using real RAM rather than swap memory?
I'm using MRI Ruby 2.0, and as far as I can tell, it's ...
Egghead asked 19/6, 2013 at 2:20
2
I've been reading about the new ruby 2.0 features, and found that it will support bytecode import / export:
Ruby 2.0 is expected to make it simple to save pre-compiled Ruby scripts to bytecode r...
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...
3
Solved
Having trouble installing the nokogiri gem under rvm ruby 1.9.1.
gem install nokogiri
I'm getting ...
/usr/include/libxml2... no
libxml2 is missing. try 'port install libxml2' or 'yum install ...
1
Solved
In Ruby - Compare two Enumerators elegantly, it was said
The problem with zip is that it
creates arrays internally, no matter
what Enumerable you pass. There's
another problem with length of ...
Clonus asked 27/6, 2011 at 0:54
1
© 2022 - 2024 — McMap. All rights reserved.