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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The Io Language

80 点作者 limist将近 15 年前

8 条评论

draegtun将近 15 年前
Two of the best posts written about Io were by _why:<p>* Io Has A Very Clean Mirror - <a href="http://web.archive.org/web/20080212010904/http://hackety.org/2008/01/05/ioHasAVeryCleanMirror.html" rel="nofollow">http://web.archive.org/web/20080212010904/http://hackety.org...</a><p>* Lazy Bricks, Lazy Mortar - <a href="http://web.archive.org/web/20080430135919/http://hackety.org/2008/01/10/lazyBricksLazyMortar.html" rel="nofollow">http://web.archive.org/web/20080430135919/http://hackety.org...</a><p>Unfortunately they're only available via WayBackMachine.<p>Other useful links:<p>* Io notes - <a href="http://iota.flowsnake.org/" rel="nofollow">http://iota.flowsnake.org/</a><p>* Io sub-reddit - <a href="http://www.reddit.com/r/iolanguage/" rel="nofollow">http://www.reddit.com/r/iolanguage/</a>
评论 #1540033 未加载
评论 #1540320 未加载
phaedrus将近 15 年前
I've written a very powerful C++ binding library for Io. It allows you to mirror object-based C++ APIs inside Io and will do most conversions for you automatically. (For instance you don't have to worry about calling methods by pointer or by reference; it will "do the right thing" automatically.) I've used it to bind the Bullet physics engine and the Irrlicht 3d graphics engine, for game making.<p><a href="http://github.com/dennisferron/LikeMagic" rel="nofollow">http://github.com/dennisferron/LikeMagic</a>
richcollins将近 15 年前
One very simple thing that Io gets right is the unification of instance variables and methods as slots. It lets you override behavior with little friction:<p><pre><code> Person := Object clone do( name ::= nil greeting := method( "Hello I'm " .. name ) ) bob := Person clone setName("Bob") greeting # =&#62; I'm Bob bill := Person clone bill greeting := "Yo" bill greeting # =&#62; Yo</code></pre>
评论 #1540680 未加载
Avshalom将近 15 年前
_why's Io Has A Very Clean Mirror: <a href="http://web.archive.org/web/20080222044550/hackety.org/2008/01/05/ioHasAVeryCleanMirror.html" rel="nofollow">http://web.archive.org/web/20080222044550/hackety.org/2008/0...</a>
dododo将近 15 年前
it would be great if every language on their home page, as well as listing how to do common things such as this:<p><a href="http://www.iolanguage.com/scm/io/docs/IoTutorial.html" rel="nofollow">http://www.iolanguage.com/scm/io/docs/IoTutorial.html</a><p>would also give a demonstration of what makes this language unusual (beyond syntax).<p>for io it seems like this might be some smalltalk-inspired message passing stuff:<p><a href="http://www.iolanguage.com/scm/io/docs/IoGuide.html#Objects-Forward" rel="nofollow">http://www.iolanguage.com/scm/io/docs/IoGuide.html#Objects-F...</a><p>combined with concurrency:<p><a href="http://www.iolanguage.com/scm/io/docs/IoGuide.html#Concurrency-Actors" rel="nofollow">http://www.iolanguage.com/scm/io/docs/IoGuide.html#Concurren...</a><p>but it's hard to tell at a glance.<p>fwiw, the haskell page does a great job of this: following the "why use haskell?" gives the classic quicksort example.
评论 #1539365 未加载
devin将近 15 年前
If only there was actually an Io community... If you notice, practically everyone in here mentions they've "dabbled" with Io, but practically no one is using this for production code.<p>Io still doesn't even have releases which I find pretty disconcerting.
评论 #1539675 未加载
评论 #1539947 未加载
评论 #1540318 未加载
SAHChandler将近 15 年前
I absolutely love Io, and my favorite "feature" of the implementation is the ability to modify scripts in real time and have the changes take place immediately, for better or worse ;)
评论 #1539953 未加载
limist将近 15 年前
I first encountered this language while looking at the ToC of "Seven Languages in Seven Weeks":<p><a href="http://pragprog.com/titles/btlang/seven-languages-in-seven-weeks" rel="nofollow">http://pragprog.com/titles/btlang/seven-languages-in-seven-w...</a><p>...and it was the only language I hadn't seen anything of before. Interesting mix of paradigms, and very clean syntax, at least from the little I've seen of it. If any HNers have used it for a non-trivial project, would love to hear of your experiences please.
评论 #1539401 未加载
评论 #1539575 未加载
评论 #1539127 未加载
评论 #1539295 未加载
评论 #1539248 未加载