TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

RubyGateway: Embed Ruby in Swift

38 点作者 futurecat9 个月前

3 条评论

sparker726789 个月前
This is probably not what anyone who reads this title is expecting it to be.<p>On the other hand, there&#x27;s a project on iOS, &quot;Rubyist&quot;, that embeds mRuby and lets you actually write, parse, and execute ruby code within your app. It even has some hooks for calling into some iOS APIs (Widget APIs, most notably). It&#x27;s a fun idea, but might be a dead project. <a href="https:&#x2F;&#x2F;rubyist.app" rel="nofollow">https:&#x2F;&#x2F;rubyist.app</a><p>I wish there was a canonical Xcode project getting mRuby imported into an iOS&#x2F;Mac app, so anyone could use it as a starting point for their ideas. I dunno, maybe one is out there and I just haven&#x27;t found it?
Alifatisk9 个月前
Are there any limitations in this?<p>Also, the project spelled &quot;access&quot; wrong here:<p>&#x2F;&#x2F; Acess an attribute print(&quot;Name is \(student.get(&quot;name&quot;))&quot;)<p>I don&#x27;t know if it&#x27;s worth making a PR for such a tiny thing.
评论 #41257282 未加载
评论 #41256917 未加载
ksnsnsj9 个月前
Does this need ruby on the host? I&#x27;m asking because it&#x27;s really difficult to have a portable ruby binary, only traveling ruby comes to mind
评论 #41264591 未加载
评论 #41333715 未加载