Extending MacRuby to platforms other than OSX?
Hi, First of all I think MacRuby is amazing project, and one and only Ruby runtime/compiler (macrubyc) that is able to produce standalone self-contained binaries. Since I have used Ruby heavily to produce server-side applications rather than Cocoa based application and I am iPhone developer as well, I wish to ask if and what are the plans for extending MacRuby to other platforms like: (1) iOS - here I know the basic problem is lack of Obj-C GC. I've seen some post you're working on it, any clues about that? (2) any UNIX (POSIX) platforms (Linux servers) - most of tech MacRuby relays on is OpenSource including LLVM, Obj-C runtime... most except Foundation framework is closed-source and exists only on OSX, however there's CFLite and there were couple of tries to port Foundation to generic UNIX (POSIX), one of them is PureFoundation. Do you guys considered stripped down MacRuby version for any POSIX OS where Array, String and some core classes use some alternative implementation of Foundation or Foundation-free implementation? Regards, -- Adam Strzelecki | nanoant.com | tel. +48 605 446 492
On Tue, 25 Jan 2011 18:05:46 +0100 Adam Strzelecki <ono@java.pl> wrote:
(2) any UNIX (POSIX) platforms (Linux servers) - most of tech MacRuby relays on is OpenSource including LLVM, Obj-C runtime... most except Foundation framework is closed-source and exists only on OSX, however there's CFLite and there were couple of tries to port Foundation to generic UNIX (POSIX), one of them is PureFoundation.
Do you guys considered stripped down MacRuby version for any POSIX OS where Array, String and some core classes use some alternative implementation of Foundation or Foundation-free implementation?
I think it would be easiest, given the limited number of classes in question, to simply fill out the implementations for an alternative objc runtime on Linux, but I could be wrong. The GC is a more interesting and difficult question. That said, I could be quite wrong here, I've spent only a small amount of time digging around in MacRuby's innards so far. -- Perry E. Metzger perry@piermont.com
Not trying to be a downer, because I really like the idea of it being more accessible, but: Looks like no recent activity on PureFoundation: https://code.google.com/p/purefoundation/ http://www.puredarwin.org/purefoundation Some activity 3 months ago on opencflite, which there was claim that PureFoundation might move to: http://opencflite.svn.sourceforge.net/viewvc/opencflite/ I don't get the feeling that these projects are active enough and have enough behind them to get distracted from focusing on OS X, but maybe their developers are just not committing code frequently? MacRuby on iOS would be neat, but from what I've read on the list, it isn't happening anytime soon. Personally, I'm still hoping that someone picks up HotCocoa, but from what I hear, the guys need to stayed focus on OS X, until more developers start helping out. I noticed a few projects for Posix and Ruby and CFLite and Ruby, if you google for it. Might not be what people need, but worth mentioning. On 1/25/11 12:05 PM, Adam Strzelecki wrote:
Hi,
First of all I think MacRuby is amazing project, and one and only Ruby runtime/compiler (macrubyc) that is able to produce standalone self-contained binaries. Since I have used Ruby heavily to produce server-side applications rather than Cocoa based application and I am iPhone developer as well, I wish to ask if and what are the plans for extending MacRuby to other platforms like:
(1) iOS - here I know the basic problem is lack of Obj-C GC. I've seen some post you're working on it, any clues about that?
(2) any UNIX (POSIX) platforms (Linux servers) - most of tech MacRuby relays on is OpenSource including LLVM, Obj-C runtime... most except Foundation framework is closed-source and exists only on OSX, however there's CFLite and there were couple of tries to port Foundation to generic UNIX (POSIX), one of them is PureFoundation.
Do you guys considered stripped down MacRuby version for any POSIX OS where Array, String and some core classes use some alternative implementation of Foundation or Foundation-free implementation?
Regards,
This is an outline of what I've *observed*: 1. OS X is the focus 2. Core of MacRuby is written as portable as possible. For example, by using CoreFoundation making it possible to have someone port it by using CFLite. 3. For code that (currently) relies on OS X specific APIs, see point #1. In a nutshell, if someone wants to port it to a different platform, i.e. iOS, by all means go ahead, it's OSS after all :) But for the current developers the focus is outlined in point #1. HTH On 25 jan 2011, at 18:29, Gary Weaver wrote:
Not trying to be a downer, because I really like the idea of it being more accessible, but:
Looks like no recent activity on PureFoundation: https://code.google.com/p/purefoundation/ http://www.puredarwin.org/purefoundation
Some activity 3 months ago on opencflite, which there was claim that PureFoundation might move to: http://opencflite.svn.sourceforge.net/viewvc/opencflite/
I don't get the feeling that these projects are active enough and have enough behind them to get distracted from focusing on OS X, but maybe their developers are just not committing code frequently?
MacRuby on iOS would be neat, but from what I've read on the list, it isn't happening anytime soon.
Personally, I'm still hoping that someone picks up HotCocoa, but from what I hear, the guys need to stayed focus on OS X, until more developers start helping out.
I noticed a few projects for Posix and Ruby and CFLite and Ruby, if you google for it. Might not be what people need, but worth mentioning.
On 1/25/11 12:05 PM, Adam Strzelecki wrote:
Hi,
First of all I think MacRuby is amazing project, and one and only Ruby runtime/compiler (macrubyc) that is able to produce standalone self-contained binaries. Since I have used Ruby heavily to produce server-side applications rather than Cocoa based application and I am iPhone developer as well, I wish to ask if and what are the plans for extending MacRuby to other platforms like:
(1) iOS - here I know the basic problem is lack of Obj-C GC. I've seen some post you're working on it, any clues about that?
(2) any UNIX (POSIX) platforms (Linux servers) - most of tech MacRuby relays on is OpenSource including LLVM, Obj-C runtime... most except Foundation framework is closed-source and exists only on OSX, however there's CFLite and there were couple of tries to port Foundation to generic UNIX (POSIX), one of them is PureFoundation.
Do you guys considered stripped down MacRuby version for any POSIX OS where Array, String and some core classes use some alternative implementation of Foundation or Foundation-free implementation?
Regards,
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Oops: s/i.e. iOS/e.g. iOS/ :) On 25 jan 2011, at 18:59, Eloy Duran wrote:
This is an outline of what I've *observed*:
1. OS X is the focus 2. Core of MacRuby is written as portable as possible. For example, by using CoreFoundation making it possible to have someone port it by using CFLite. 3. For code that (currently) relies on OS X specific APIs, see point #1.
In a nutshell, if someone wants to port it to a different platform, i.e. iOS, by all means go ahead, it's OSS after all :) But for the current developers the focus is outlined in point #1.
HTH
On 25 jan 2011, at 18:29, Gary Weaver wrote:
Not trying to be a downer, because I really like the idea of it being more accessible, but:
Looks like no recent activity on PureFoundation: https://code.google.com/p/purefoundation/ http://www.puredarwin.org/purefoundation
Some activity 3 months ago on opencflite, which there was claim that PureFoundation might move to: http://opencflite.svn.sourceforge.net/viewvc/opencflite/
I don't get the feeling that these projects are active enough and have enough behind them to get distracted from focusing on OS X, but maybe their developers are just not committing code frequently?
MacRuby on iOS would be neat, but from what I've read on the list, it isn't happening anytime soon.
Personally, I'm still hoping that someone picks up HotCocoa, but from what I hear, the guys need to stayed focus on OS X, until more developers start helping out.
I noticed a few projects for Posix and Ruby and CFLite and Ruby, if you google for it. Might not be what people need, but worth mentioning.
On 1/25/11 12:05 PM, Adam Strzelecki wrote:
Hi,
First of all I think MacRuby is amazing project, and one and only Ruby runtime/compiler (macrubyc) that is able to produce standalone self-contained binaries. Since I have used Ruby heavily to produce server-side applications rather than Cocoa based application and I am iPhone developer as well, I wish to ask if and what are the plans for extending MacRuby to other platforms like:
(1) iOS - here I know the basic problem is lack of Obj-C GC. I've seen some post you're working on it, any clues about that?
(2) any UNIX (POSIX) platforms (Linux servers) - most of tech MacRuby relays on is OpenSource including LLVM, Obj-C runtime... most except Foundation framework is closed-source and exists only on OSX, however there's CFLite and there were couple of tries to port Foundation to generic UNIX (POSIX), one of them is PureFoundation.
Do you guys considered stripped down MacRuby version for any POSIX OS where Array, String and some core classes use some alternative implementation of Foundation or Foundation-free implementation?
Regards,
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
An other Objective-C Runtime language, Nu, is already iOS and Linux compatible, but doesn't rely on Objective-C GC... nothing is impossible and this one is certainly worth it. 2011/1/25 Gary Weaver <gary.weaver@duke.edu>
Not trying to be a downer, because I really like the idea of it being more accessible, but:
Looks like no recent activity on PureFoundation: https://code.google.com/p/purefoundation/ http://www.puredarwin.org/purefoundation
Some activity 3 months ago on opencflite, which there was claim that PureFoundation might move to: http://opencflite.svn.sourceforge.net/viewvc/opencflite/
I don't get the feeling that these projects are active enough and have enough behind them to get distracted from focusing on OS X, but maybe their developers are just not committing code frequently?
MacRuby on iOS would be neat, but from what I've read on the list, it isn't happening anytime soon.
Personally, I'm still hoping that someone picks up HotCocoa, but from what I hear, the guys need to stayed focus on OS X, until more developers start helping out.
I noticed a few projects for Posix and Ruby and CFLite and Ruby, if you google for it. Might not be what people need, but worth mentioning.
On 1/25/11 12:05 PM, Adam Strzelecki wrote:
Hi,
First of all I think MacRuby is amazing project, and one and only Ruby runtime/compiler (macrubyc) that is able to produce standalone self-contained binaries. Since I have used Ruby heavily to produce server-side applications rather than Cocoa based application and I am iPhone developer as well, I wish to ask if and what are the plans for extending MacRuby to other platforms like:
(1) iOS - here I know the basic problem is lack of Obj-C GC. I've seen some post you're working on it, any clues about that?
(2) any UNIX (POSIX) platforms (Linux servers) - most of tech MacRuby relays on is OpenSource including LLVM, Obj-C runtime... most except Foundation framework is closed-source and exists only on OSX, however there's CFLite and there were couple of tries to port Foundation to generic UNIX (POSIX), one of them is PureFoundation.
Do you guys considered stripped down MacRuby version for any POSIX OS where Array, String and some core classes use some alternative implementation of Foundation or Foundation-free implementation?
Regards,
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
An other Objective-C Runtime language, Nu, is already iOS and Linux compatible, but doesn't rely on Objective-C GC... nothing is impossible and this one is certainly worth it.
So it means they have managed to run objc4 on Linux, wonder if anyone has tried libauto (GC library) on Linux as well? I think this may be the only showstopped, unless libauto does not relay on any specific Darwin memory allocation tricks. FYI both objc4 runtime and libauto GC are open-sourced: http://www.opensource.apple.com/source/objc4/ http://www.opensource.apple.com/source/libauto/ Cheers, -- Adam Strzelecki | nanoant.com | tel. +48 605 446 492
participants (5)
-
Adam Strzelecki
-
Eloy Duran
-
Gary Weaver
-
Louis-Philippe
-
Perry E. Metzger