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.

Ruby Arduino Development

61 pointsby freedrullalmost 14 years ago

6 comments

gvbalmost 14 years ago
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 未加载
lgeekalmost 14 years ago
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 未加载
sigilalmost 14 years ago
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.
viraptoralmost 14 years ago
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?
iamalmost 14 years ago
What's the benefit? Can you leverage any Ruby libraries? Or is it Arduino development with Ruby syntax?
lagola3000almost 14 years ago
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 未加载