TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

163 pointsby bluesilver07about 9 years ago

12 comments

Ameoabout 9 years ago
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.
andrewflnrabout 9 years ago
<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 未加载
untothebreachabout 9 years ago
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_freezeabout 9 years ago
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.
amflareabout 9 years ago
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 未加载
nilknabout 9 years ago
Are Wren fibers automatically distributed across available CPU cores or is it all single-threaded?
评论 #11616526 未加载
Toucheabout 9 years ago
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.
Keletabout 9 years ago
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.
rurbanabout 9 years ago
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.
nikolayabout 9 years ago
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 未加载
ww520about 9 years ago
What is the performance like? Comparable to V8 javascript? Or maybe even comparable to LuaJIT?
评论 #11618067 未加载
realworldviewabout 9 years ago
fibers? sounds like a duck named quacky.
评论 #11612170 未加载
评论 #11615174 未加载
评论 #11612606 未加载
评论 #11622035 未加载