Question about garbage collector

Jacob Carlborg doob at me.com
Thu Aug 29 12:16:41 PDT 2013


On 2013-08-29 16:20, qznc wrote:

> Also, be careful about the problem domain. There will be enough domains
> left in some years, where garbage collection is the better tradeoff.
> Just think about all the domains where Python,Ruby,etc are popular now.
> The interesting field is mobile, though. Android's Dalvik and Web Apps
> use garbage collection. iOS switched to compiler-supported reference
> counting a few years ago. Mobile means saving battery is important, so
> efficiency is important. However, battery life is not the biggest factor
> for consumers.

It's possible to use Ruby on iOS via developer tools similar to MacRuby. 
It uses automatic reference counting. Although, I've heard they having 
some problems with memory leaks, blocks in particular.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list