[MacRuby-devel] MacRuby O'Reilly book final e-version finally available

2011-10-17 Thread Matt Aimonetti
I just noticed that what looks like the final pdf/epub/mobi version of MacRuby book is now available to people who already bought the book or for new customers. If you already bought the book, get your update from: https://members.oreilly.com/account/emedia/index Otherwise the book is for sale on

Re: [MacRuby-devel] brace yourselves, 0.11 is coming!

2011-10-17 Thread Elliot Temple
On Oct 17, 2011, at 5:32 AM, Laurent Sansonetti wrote: > Hi guys, > > No it isn't a joke, 0.11 is really coming out! > > I uploaded an installer, please give it a try with your project and > let us know if it works, or not. Tried it. Worked for me. :-) FYI iTunes still emails tons of stuff l

Re: [MacRuby-devel] MacRuby and ARC was: Advice for Total Tyro

2011-10-17 Thread Conrad Taylor
Sent from my iPhone On Oct 17, 2011, at 2:26 PM, Igor Evsukov wrote: > Hi Henry, > >> This doesn't explain why MacRuby can't be implemented with ARC rather than >> relying on the OBJ-C 2 garbage collector. > Do You know what the difference between Garbage Collection and Reference > Counting

Re: [MacRuby-devel] MacRuby and ARC was: Advice for Total Tyro

2011-10-17 Thread Conrad Taylor
Sent from my iPhone On Oct 17, 2011, at 2:26 PM, Igor Evsukov wrote: > Hi Henry, > >> This doesn't explain why MacRuby can't be implemented with ARC rather than >> relying on the OBJ-C 2 garbage collector. > Do You know what the difference between Garbage Collection and Reference > Counting

Re: [MacRuby-devel] MacRuby and ARC was: Advice for Total Tyro

2011-10-17 Thread Perry E. Metzger
On Mon, 17 Oct 2011 13:44:56 -0700 Matt Aimonetti wrote: > See my earlier reply, basically, you are right, it is technically > possible to change the way MacRuby works to use an automatic > reference counting approach. > But it's far from being trivial. Wouldn't reference counting radically chang

Re: [MacRuby-devel] Advice for Total Tyro

2011-10-17 Thread Jordan K. Hubbard
On Oct 17, 2011, at 12:02 PM, David Frantz wrote: > MacRuby's status at Apple is unclear. This can be somewhat frustrating > because I'd rather that Apple officially support MacRuby. Apple does seem to > be extremely focused on the "C" dialects only. Maybe my impression here is > wrong, b

Re: [MacRuby-devel] MacRuby and ARC was: Advice for Total Tyro

2011-10-17 Thread Terry Moore
Even better then... Laurent and crew have done brilliant work to date... That alone gives me confidence in macruby... Given a choice of objc v ruby sorry ruby wins for me :) Terry Moore On 18/10/2011, at 10:48 AM, Igor Evsukov wrote: > GC isn't an issue at all. There are apps on the AppStore

Re: [MacRuby-devel] MacRuby and ARC was: Advice for Total Tyro

2011-10-17 Thread Igor Evsukov
GC isn't an issue at all. There are apps on the AppStore that written in C#(Mono) or Lua which uses it own VM's with garbage collection. I think that the main issue why Apple don't support MacRuby officially on iOS is high memory usage. Potentially, if MacRuby will be shipped with iOS, so it c

Re: [MacRuby-devel] MacRuby and ARC was: Advice for Total Tyro

2011-10-17 Thread Terry Moore
So I can understand not having gc on ios those cycles are precious. But looking ahead the hardware is moving to multicore and larger ram... In which case (perhaps including blocking for high priority tasks) a gc could be used without the current restrictions... Terry Moore On 18/10/2011, at 10

Re: [MacRuby-devel] Advice for Total Tyro

2011-10-17 Thread Matt Aimonetti
>> And given that Apple doesn't hesitate to squelch tech when it feels like it, >> I'm clear that committing to any technology it hasn't blessed is "at your >> own risk." While this is partly true, I don't see what Apple could realistically do to hurt MacRuby developers (and why they would do th

Re: [MacRuby-devel] MacRuby and ARC was: Advice for Total Tyro

2011-10-17 Thread Igor Evsukov
Hi Henry, > This doesn't explain why MacRuby can't be implemented with ARC rather than > relying on the OBJ-C 2 garbage collector. Do You know what the difference between Garbage Collection and Reference Counting? Current MacRuby VM implementation heavily depends on presence of GC. Potentially

Re: [MacRuby-devel] Advice for Total Tyro

2011-10-17 Thread Bryan Harrison
Those are all interesting and useful points and I appreciate everyone's willing to respond at length. As always, I wonder why extraordinary generosity isn't part of the geek stereotype. Since I'm interested in developing for both OS X and iOS, "no Ruby on iOS" is the clincher. And given that

Re: [MacRuby-devel] MacRuby and ARC was: Advice for Total Tyro

2011-10-17 Thread Matt Aimonetti
See my earlier reply, basically, you are right, it is technically possible to change the way MacRuby works to use an automatic reference counting approach. But it's far from being trivial. - Matt On Mon, Oct 17, 2011 at 1:28 PM, Henry Maddocks wrote: > > On 17/10/2011, at 7:11 PM, Igor Evsukov

Re: [MacRuby-devel] MacRuby and ARC was: Advice for Total Tyro

2011-10-17 Thread Henry Maddocks
On 17/10/2011, at 7:11 PM, Igor Evsukov wrote: > Hi Henry, > >>> And it's impossible to make Ruby to use ARC. >> >> Why? > For memory management Objective-C uses a paradigm called "reference > counting". ... > In Ruby we have garbage collector which is acts in whole different way I unders

Re: [MacRuby-devel] Advice for Total Tyro

2011-10-17 Thread Perry E. Metzger
On Mon, 17 Oct 2011 15:02:04 -0400 David Frantz wrote: > 6. MacRuby's status at Apple is unclear. This can be > somewhat frustrating because I'd rather that Apple officially > support MacRuby. That is certainly a concern. If MacRuby were officially supported, one would have relative confidence

Re: [MacRuby-devel] Advice for Total Tyro

2011-10-17 Thread Matt Aimonetti
" I have to admit that MacRuby is getting better everyday but MacRuby is still far from complete." Could you elaborate on that please? Thanks, - Matt On Mon, Oct 17, 2011 at 12:02 PM, David Frantz wrote: > Here is my perspective, limited as it is. > 1. > You can not get by without learning Obj

Re: [MacRuby-devel] Advice for Total Tyro

2011-10-17 Thread David Frantz
Here is my perspective, limited as it is. 1. You can not get by without learning Objective C! 2. Objective C really isn't that bad!As a minor upgrade to C it is fast to pick up, the bulk of your learning will go to the various APIs. This if you already know a little bit of C. 3. I

[MacRuby-devel] brace yourselves, 0.11 is coming!

2011-10-17 Thread Laurent Sansonetti
Hi guys, No it isn't a joke, 0.11 is really coming out! I uploaded an installer, please give it a try with your project and let us know if it works, or not. https://github.com/downloads/MacRuby/MacRuby/MacRuby%200.11.zip In the meantime I'm preparing the release notes. If everything goes well,

Re: [MacRuby-devel] MacRuby and ARC was: Advice for Total Tyro

2011-10-17 Thread Matt Aimonetti
Python uses a reference counting GC, MacRuby could, in theory, implement ARC under the cover. It would however make C extensions really really hard to support. - Matt On Sun, Oct 16, 2011 at 11:11 PM, Igor Evsukov wrote: > Hi Henry, > > And it's impossible to make Ruby to use ARC. > > Why? > > F

Re: [MacRuby-devel] Advice for Total Tyro

2011-10-17 Thread Paul Howson
On 16/10/2011, at 10:12 AM, Bryan Harrison wrote: > Objective-C is not without a certain homely charm, but Ruby is obviously the > more modern language. So… > > • Does Xcode treat Ruby as family, or is it a stepchild toiling in the > ashes? Are there other tools I'll need? > > • W