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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Wren: a small, fast, class-based concurrent scripting language

163 点作者 bluesilver07大约 9 年前

12 条评论

Ameo大约 9 年前
The fibers remind me of Elixir&#x27;s processes. Elixir fascinated me at first, but I really didn&#x27;t get into the groove of it after trying it out on a project.<p>Wren looks equally fascinating; perhaps it could warrant a trail project of its own.
andrewflnr大约 9 年前
<p><pre><code> 4000 semicolons </code></pre> I&#x27;ve never seen that used as a way to measure code size, but it&#x27;s perfect for Cish code. That alone made this worth the click. And the language itself looks like something I wish I could have designed. Good show.
评论 #11618208 未加载
untothebreach大约 9 年前
Wren is great, I participated in the community for a while but then got on to different things. Glad to see it is still going strong.
tasty_freeze大约 9 年前
I&#x27;ve looked through the wren.io website, including the module documentation. As a scripting language, I would expect Wren to have decent regex support, but I find nothing there. Did I overlook it?<p>I use perl and python for building little utilities. I like the regularity of python over perl, but if I could get a clean syntax and it ran 4x faster with Wren, that would be great. But if there isn&#x27;t a regex facility, it is a non-starter.
amflare大约 9 年前
Looks interesting, but I can&#x27;t figure out where&#x2F;for what it would be used. Am I missing something obvious?
评论 #11612876 未加载
评论 #11612866 未加载
评论 #11612819 未加载
nilkn大约 9 年前
Are Wren fibers automatically distributed across available CPU cores or is it all single-threaded?
评论 #11616526 未加载
Touche大约 9 年前
I wish languages in this space would make it easier to create statically linked executables. With Lua you can do it yourself using squishy and a small main.c program, but it would be nice of the compiler just did it all for you.<p>For small cli apps, being able to write them in a pleasant to use language like Wren would be a big win.
Kelet大约 9 年前
Hmm – I&#x27;m working on some Windows API manipulations to provide a framework to make `macro scripts` (similar to AutHotKey or AutoIt), and in a few weeks I&#x27;ll be looking to implement a scripting language. I&#x27;ve checked out LuaJIT, Lua 5.3, Lua w&#x2F;Terra, AngelCode, Python, et al. and they all seem to have their faults. I actually need a language that supports both proper threading and co-routines, to respond to user-based key hooking (and good stuff like timers). This seems like it may be a good candidate, I don&#x27;t mind contributing either. Bookmarked.
rurban大约 9 年前
Bob: so no workstealing with native threads anymore, just tiny fibers?<p>looking forward to your jit. have a look at potion, it&#x27;s really simple and fast.
nikolay大约 9 年前
A cute little language, but without the support of existing libraries, it can&#x27;t gain mass adoption. It will take years to catch up with LuaJIT, and its vibrant ecosystem.
评论 #11617750 未加载
ww520大约 9 年前
What is the performance like? Comparable to V8 javascript? Or maybe even comparable to LuaJIT?
评论 #11618067 未加载
realworldview大约 9 年前
fibers? sounds like a duck named quacky.
评论 #11612170 未加载
评论 #11615174 未加载
评论 #11612606 未加载
评论 #11622035 未加载