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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ruby Arduino Development

61 点作者 freedrull将近 14 年前

6 条评论

gvb将近 14 年前
Looking at the code, it is based on RubyToAnsiC<p><a href="http://ruby2c.rubyforge.org/" rel="nofollow">http://ruby2c.rubyforge.org/</a><p>A nice introduction:<p><a href="http://ruby2c.rubyforge.org/svn/ruby_to_c/propaganda/Ruby2C.pdf" rel="nofollow">http://ruby2c.rubyforge.org/svn/ruby_to_c/propaganda/Ruby2C....</a>
评论 #2775165 未加载
评论 #2774551 未加载
评论 #2775732 未加载
lgeek将近 14 年前
Note, the latest release is from 2008.<p>Edit: "Do you run the Arduino development tool chain on an <i>obscure (i.e., non-OS X) platform</i>?" is a gratuitously condescending in my opinion. Since when's OS X the default/most popular/whatever platform for doing GCC development?
评论 #2774557 未加载
评论 #2774541 未加载
sigil将近 14 年前
Might be nice for prototyping. I've never been a big fan of the Arduino programming language. It's a thin veneer over C that insulates newbies from "scary" things like port i/o bit twiddling, while not really moving the dial on language expressiveness or presenting a familiar face. Ruby has a shot at both of these.<p>That said -- this is pretty much unimaginable for my current embedded development projects, where C compiler tricks have been the name of the game for some time now. Add a feature, exceed the 8K program memory limit, find something to optimize, repeat. Injecting a Ruby-to-C compiler into this loop would be madness.
viraptor将近 14 年前
I can't find a single reference to memory management, which is a really bad sign for a project using small chips. If I can't guarantee that the loaded program will not overflow, what's the point?
iam将近 14 年前
What's the benefit? Can you leverage any Ruby libraries? Or is it Arduino development with Ruby syntax?
lagola3000将近 14 年前
It may get some flak, but I think it is a very cool project.<p>Dare I ask if a Python version will become available?
评论 #2774977 未加载