开发者

When aiming to AOT compile a ruby script with MacRuby is there any restriction on the language?

开发者 https://www.devze.com 2022-12-18 13:07 出处:网络
I am looking into using MacRuby and am interested in it\'s ability to AOT compile ruby code down to an executable. I am wondering though whether this places a restriction on the cod开发者_运维技巧e in

I am looking into using MacRuby and am interested in it's ability to AOT compile ruby code down to an executable. I am wondering though whether this places a restriction on the cod开发者_运维技巧e in any way? Is there a subset of ruby which is supported or can i go ahead and perform all the meta-magic i want and still have the code AOT compiled?


Thanks to Laurent Sansonetti of apple fame:

Yes, the AOT compiler should fully support the Ruby language. If you find something that does not work when compiled, it's a bug :) Please report them and we will fix them.

0

精彩评论

暂无评论...
验证码 换一张
取 消