[MacRuby-devel] What's the current state of macgem?
Hi, I was wondering, could someone provide information on the state of macgem? At this time, I'm looking to get some top gems working in macgem if it is at all possible at this time or help fix macgem so that I can do it. Thanks, -Conrad ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] What's the current state of macgem?
Hey Conrad, I was just looking at this last week. Some recent work on marshalling landed on trunk recently (thanks Laurent!), which is one of the pieces needed. The other major missing piece is zlib. I was looking at what would be needed to port this to MacRuby. However, there is also Zliby (http://zliby.rubyforge.org/ ), a Pure-Ruby zlib that was written for IronRuby. Not sure what the preference regarding these two options is. Perhaps some benchmarking could settle the debate? - Josh On Aug 17, 2009, at 4:58 PM, Conrad Taylor wrote: Hi, I was wondering, could someone provide information on the state of macgem? At this time, I'm looking to get some top gems working in macgem if it is at all possible at this time or help fix macgem so that I can do it. Thanks, -Conrad ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] What's the current state of macgem?
We are almost there, Etc, Zlib and Socket are still missing. Last I heard, Laurent had a "plan" for Zlib, knowing him, it's probably a great and efficient idea. Make sure to check with him before starting on that. (running some benchmarks on zliby wouldn't hurt anyone) Once function_method will be working again, many more stdlibs should also be in a better shape (Math, CMath etc..) There is a lot of work being done, unfortunately not much we can see yet. - Matt On Mon, Aug 17, 2009 at 5:41 PM, Josh Ballanco wrote: > Hey Conrad, > > I was just looking at this last week. Some recent work on marshalling > landed on trunk recently (thanks Laurent!), which is one of the pieces > needed. The other major missing piece is zlib. I was looking at what would > be needed to port this to MacRuby. However, there is also Zliby ( > http://zliby.rubyforge.org/), a Pure-Ruby zlib that was written for > IronRuby. Not sure what the preference regarding these two options is. > Perhaps some benchmarking could settle the debate? > > - Josh > > > > On Aug 17, 2009, at 4:58 PM, Conrad Taylor wrote: > > Hi, I was wondering, could someone provide information on the state of >> macgem? At this time, I'm looking to get some top gems working in macgem if >> it is at all possible at this time or help fix macgem so that I can do it. >> >> Thanks, >> >> -Conrad >> >> >> >> >> ___ >> MacRuby-devel mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> > > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
[MacRuby-devel] Fixing ext/json
Hello,
I've been taking a poke at ext/json for the last few days attempting
to get JSON support working again. I've got it compiling but have run
into an issue with memory management and the garbage collector that
I've been unable to get past.
I've attached my current diff of changes to get JSON working. With
this diff applied requiring json will crash with:
unknown: [BUG] destination 0x100feb300 isn't in the auto zone
I've tracked it down to ext/json/lib/json/common.rb line 59 (at least,
it never gets past that line that I've seen)
self.state = generator::State
Commenting out this line gets further (require works and I can turn
{"a" => 1} into JSON. Missing module_function causes JSON.parse to
fail).
My test file is:
puts "Requiring"
require 'json'
puts "Required"
require 'pp'
puts "to_json"
a = {"a" => 1}.to_json
puts "parse"
pp JSON.parse(a)
puts "done"
Thoughts?
Thanks,
dan
json.diff
Description: Binary data
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
