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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Solid, a scripting language with a tiny VM

63 点作者 chameco超过 11 年前

6 条评论

zserge超过 11 年前
Great job! I was looking for a small and simple embeddable language (smaller than Lua) for a long time. Solid looks very promising to me.
评论 #6427899 未加载
theseoafs超过 11 年前
Are there any performance benchmarks?<p>EDIT: The language looks pretty cool in general. I&#x27;m not a huge fan of the recursion syntax. In particular, the `this` keyword seems to just refer to the current function object, which is confusing since in other languages that usually refers to the object a method belongs to. Further, the choice of immutable lists as the default data structure is odd -- arrays would be much more performant (and are the usual choice for scripting languages anyway).
评论 #6429065 未加载
smilekzs超过 11 年前
The core seems much more interesting than the Pawn language. I&#x27;d like to see more comparisons once this matures.<p>A few points:<p>1. I&#x27;d like to see the FFI implemented natively (i.e. by declaring in Solid and registering through C code&#x2F;macro, instead of relying on object file parsing). Then it&#x27;ll be extremely useful in a bare-metal microcontroller environment.<p>2. Namespacing is needed -- I don&#x27;t really want `parse_xxx` or `ast_node` in my global namespace!
评论 #6428711 未加载
helloTree超过 11 年前
Just wanted to say, kudos! I think it is essential for a language to have a good C interface otherwise it will be insulated. However some more example would be nice. Furthermore I think you mean &quot;infix&quot; in your documentation and not &quot;inline&quot;.
arthuredelstein超过 11 年前
Very cool. I would love to see immutable, persistent data collections as offered in Clojure.
cldr超过 11 年前
Awesome work. How big is the executable?<p>Also, what did you not like about the Lua object model?
评论 #6428001 未加载