技术控

    今日:71| 主题:49157
收藏本版 (1)
最新软件应用技术尽在掌握

[其他] Running LISP on an ESP8266

[复制链接]
╃亼惢險惡 发表于 2016-10-14 21:40:31
215 5

立即注册CoLaBug.com会员,免费获得投稿人的专业资料,享用更多功能,玩转个人品牌!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

Running LISP on an ESP8266-1 (collection,difference,connected,actually,personal)

  LISP is a polarizing language. Either you love it or you hate it. But we’ll put aside our personal preferences to bring you a good hack. In this case a LISP environment running on an ESP8266 . [Dmitry] is on the “love it” side of the fence — he’s been waiting for an excuse to code up a LISP interpreter for a while, and he found one in the ESP8266.

Running LISP on an ESP8266-2 (collection,difference,connected,actually,personal)
Actually, [Dmitry] is running LISP inside JavaScript, which is itself presumably coded up in C, before it’s assembled to run on an ESP8266. (It’s turtles all the way down!) This means that he can piggy-back on JavaScript’s garbage collection and console handling and so on. After picking a suitably small LISP implementation (actually a Scheme dialect for those of you who know the difference), he went to work.
One weekend bled into the next, but he got the system running, connected to the network, and had LEDs blinking! In the end, he even managed to squeeze in some optimization for memory’s sake. Pretty cool, and because it takes advantage of an already complete system, it can even be made pretty useful. Not bad for a few weekends’ work!
  And finally, if Lots of Irritating Silly Parentheses is your idea of a good time, but the wealth of computing resources available on an ESP8266 seem overkill, have a look at Microlisp, running on an AVR . Or go to the opposite extreme, and run a LISP OS on a Raspberry Pi . Whatever you do, don’t forget to close your parentheses! (We’re told that’s a traditional LISPer farewell.)
友荐云推荐




上一篇:10 best new web design tools for October 2016
下一篇:TypeScript编译器增强版
酷辣虫提示酷辣虫禁止发表任何与中华人民共和国法律有抵触的内容!所有内容由用户发布,并不代表酷辣虫的观点,酷辣虫无法对用户发布内容真实性提供任何的保证,请自行验证并承担风险与后果。如您有版权、违规等问题,请通过"联系我们"或"违规举报"告知我们处理。

gdgdf 发表于 2016-10-14 22:41:29
前排,哇咔咔
回复 支持 反对

使用道具 举报

Carrolljed 发表于 2016-10-15 07:22:20
下辈子要做男生,娶一个像我这样的女生。
回复 支持 反对

使用道具 举报

景明清 发表于 2016-10-25 01:20:17
如果我做了皇帝,就封你当太子!
回复 支持 反对

使用道具 举报

陌紫柔1 发表于 2016-11-16 20:56:10
楼主最近很勤力啊!
回复 支持 反对

使用道具 举报

账户1 发表于 2016-11-18 17:32:49
我是一个有名望的恶棍…
回复 支持 反对

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

我要投稿

推荐阅读

扫码访问 @iTTTTT瑞翔 的微博
回页顶回复上一篇下一篇回列表手机版
手机版/CoLaBug.com ( 粤ICP备05003221号 | 文网文[2010]257号 )|网站地图 酷辣虫

© 2001-2016 Comsenz Inc. Design: Dean. DiscuzFans.

返回顶部 返回列表