TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

RubyGateway: Embed Ruby in Swift

38 pointsby futurecat10 months ago

3 comments

sparker7267810 months ago
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?
Alifatisk10 months ago
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 未加载
ksnsnsj10 months ago
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 未加载