嵌入式设备的动态语言? [英] Dynamic languages for embedded devices?
问题描述
我需要将动态语言部署到小型嵌入式Linux设备上,并且很难找到合适的语言:我想用这种语言(使用诸如Sinatra或Camping这样的小型框架)构建一个小型Web应用程序.维护脚本.
I need to deploy a dynamic language to a small embedded Linux device, and have difficulty finding the right one: I want to build a small web-application with this language (with a small framework like Sinatra or Camping ) and write some scripts for maintenance.
我更喜欢Ruby,因为我对此有一些经验,但是在尝试交叉编译几天后,我只能构建准系统解释器,而没有libs(miniruby).问题在于,它只是太该死了:剥夺了超过1 MB的空间!
I would prefer Ruby, as I have some experience in it, but after several days of trying to cross-compile it, I could only build the barebone interpreter, without the libs (miniruby). The problem with it is, that it's just Too Damn Large: more than 1 MB stripped!
您使用的是哪种语言,使其运行起来有多困难?
What language are you using, and how difficult was it to get it working?
推荐答案
我不是亲自使用它,而是 lua 占用空间很小.
I don't use it personally but lua has a very small footprint.
这篇关于嵌入式设备的动态语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!