{"id":1734,"date":"2009-10-11T22:39:31","date_gmt":"2009-10-11T22:39:31","guid":{"rendered":"http:\/\/justthesam.com\/2009\/10\/macruby-05-beta-1-released\/"},"modified":"2009-10-11T22:39:31","modified_gmt":"2009-10-11T22:39:31","slug":"macruby-05-beta-1-released","status":"publish","type":"post","link":"https:\/\/justthesam.com\/?p=1734","title":{"rendered":"MacRuby 0.5 beta 1 Released"},"content":{"rendered":"<p>I was very excited to see <a href=\"http:\/\/www.macruby.org\/blog\/2009\/10\/07\/macruby05b1.html\" target=\"_blank\" rel=\"noopener\">MacRuby 0.5 beta 1<\/a> had been announced, complete with ahead of time compilation via LLVM. It has been long while since the previous update on the MacRuby blog in March, but clearly a lot of work has been taking place. At the moment this beta shows the promise of things to come but isn&#39;t yet fit for much more than anticipatory experimentation. If you want to try the macrubyc compiler, <a href=\"http:\/\/antoniocangiano.com\/2009\/10\/08\/getting-macrubys-compiler-to-work\/\" target=\"_blank\" rel=\"noopener\">Antonio Cangiano&#39;s blog post on the topic<\/a> is a must-read.<\/p>\n<p>The MacRuby notes suggest that compiled ahead of time or not, it uses LLVM for a big speed win, but my own quick experiment showed the macruby interpreter to be about 3 times slower than the standard MRI Ruby 1.9.1. This was with a single small benchmark app only though, just to prove things were working, so I can&#39;t draw conclusions. I can&#39;t pretend I wasn&#39;t a little disappointed not to see MRI blown out of the water though, even though I know it&#39;s unscientific and wrong of me!<\/p>\n<p>I couldn&#39;t get a fully compiled version to produce any output, though it appeared to run without barfing, so I couldn&#39;t tell if it was really working or not. It was notable that the compiled binary was nearly 15MB so there must be a lot of statically linked code being included to swell my couple of KB of Ruby code so much. I&#39;m hopeful that this can be improved in the future in order to support my dream of iPhone apps being written with Ruby hooking into Cocoa. In fact more than a dream &#8211; I&#39;m hopeful and optimistic that in the long-run Apple will make Ruby a heavily promoted first class citizen for Mac and iPhone development, sitting on top of Objective-C but hiding it for the most part. The whole world has moved on from primitive C-based languages to higher levels of abstraction and I think Apple really needs a successor to Objective-C within the next 5 years. Is MacRuby it?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was very excited to see MacRuby 0.5 beta 1 had been announced, complete with ahead of time compilation via LLVM. It has been long while since the previous update on the MacRuby blog in March, but clearly a lot of work has been taking place. At the moment this beta shows the promise of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,22,23,33],"tags":[],"class_list":["post-1734","post","type-post","status-publish","format-standard","hentry","category-mac","category-programming","category-ruby","category-webtech"],"_links":{"self":[{"href":"https:\/\/justthesam.com\/index.php?rest_route=\/wp\/v2\/posts\/1734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/justthesam.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/justthesam.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/justthesam.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/justthesam.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1734"}],"version-history":[{"count":0,"href":"https:\/\/justthesam.com\/index.php?rest_route=\/wp\/v2\/posts\/1734\/revisions"}],"wp:attachment":[{"href":"https:\/\/justthesam.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/justthesam.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/justthesam.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}