InfoQ

News

MacRuby 0.5 Released, Debugger To Come in 0.6

Posted by Werner Schuster on Feb 01, 2010

Community
Ruby
Topics
Scripting ,
Debugging ,
Runtimes ,
Rich Client / Desktop
Tags
Concurrency ,
Ruby1.9 ,
Threading

MacRuby 0.5 has been released (Download link for binaries and source).  After a few MacRuby betas, the final release comes with a new VM, threading without a Global Interpreter Lock (GIL), Grand Central Dispatch (GCD) support and much more.

The MacRuby 0.5 status update lists a few of the improvements, eg the AOT compiler macrubyc:

AOT compiler is more stable, supports compilation of multiple Ruby files into shared/dynamic libraries. It is also documented in a manpage, be sure to check it out for a detailed list of options and some use case examples.

MacRuby 0.5 added a Ruby API for Grand Central Dispatch (GCD), Snow Leopard's new API for accessing system wide thread pools by scheduling lightweight tasks. A tutorial for MacRuby's GCD API is available and explains basic concepts behind GCD. For details about the implementation, gcd.c, contains the code that maps GCD APIs to Ruby classes.

Meanwhile, work on MacRuby 0.6 has already started. One item on the feature list of 0.6 is already available: MacRuby debugger support (GitHub commit for the Debugger implementation). The commit shows which files were added and which were modified to support the debugging implementation and the debugger frontend which uses the MacRubyDebuggerConnector to set breakpoints and control execution.

Matt Aimonetti has written up an overview of the MacRuby debugger and how to use it from the command line.

benchmarks? by Roger Pack Posted Feb 1, 2010 11:28 AM
Feature Roadmap by Ingo Vietense Posted Feb 2, 2010 3:46 AM
Re: Feature Roadmap by Shimon Amit Posted Feb 3, 2010 7:15 AM
  1. Back to top

    benchmarks?

    Feb 1, 2010 11:28 AM by Roger Pack

    Any benchmarks like...how fast it runs sinatra?
    -r

  2. Back to top

    Feature Roadmap

    Feb 2, 2010 3:46 AM by Ingo Vietense

    ... where can I find a feature roadmap for the 0.6 release? Is there any progress to run MacRuby on the iPhone ?

    -- devylon
    blog.devylon.com

  3. Back to top

    Re: Feature Roadmap

    Feb 3, 2010 7:15 AM by Shimon Amit

    Looks like MacRuby will only work on the iPhone once it (the iPhone) gets a garbage collector.

Educational Content

Rails in the Large: How Agility Allows Us to Build One Of the World's Biggest Rails Apps

Neal Ford shows what ThoughtWorks learned from scaling Rails development: infrastructure, testing, messaging, optimization, performance.

Stuart Halloway on Clojure and Functional Programming

Stuart Halloway discusses Clojure and functional programing on the JVM in depth, and touches on the uses of a number of other modern JVM languages including JRuby, Groovy, Scala and Haskell.

Orion Henry and Blake Mizerany on Heroku

Orion Henry and Blake Mizerany talk about the technology behind Heroku and the benefits of the new add-on system.

Security for the Services World

Chris Riley presents security issues threatening service based systems, examining security threats, presenting measures to reduce the risks, and mentioning available security frameworks.

Navigating The Rapids:Real-World Lessons in Adopting Agile

This talk investigates technical issues encountered when moving to an Agile process.

Codename "M": Language, Data, and Modeling, Oh My!

Don Box and Amanda Laucher present “M”, a declarative language for building data models, domain models or external DSLs. Don Box's demos show some of M’s features and latest changes of the language.

SOA Manifesto - 4 Months After

It is four months since the SOA manifesto was announced; InfoQ interviewed the original author’s to get insight into the motivations and the process behind the initiative.

Memory Barriers and JVM Concurrency

This article explains the impact memory barriers, or fences, have on the determinism of multi-threaded programs.