Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Looks nice. It reminds very much of C and C++ programming. What are some of its use cases?


If you're writing an application in C or C++ and want to embed a scripting language, and you think Lua is kinda weird and would prefer a more straightforwardly object-oriented language, then Wren may be worth trying.

But I think there is only one active maintainer so you should be prepared to write your own patches if you need to fix something.


I am building tool for generating PDFs (https://docula.app) and I am using Wren to allow user scripts: things like show/hide label on some value or maybe display number in red when the value is > 0 and green otherwise. I was thinking about using Lua, but Wren seems more approachable to me.


I like your product. Do you find Wren reliable when implementing features, like did it ever broke?


Well, it seems to be working very well, but I am still in development mode with one customer and very little scripting going on. I will know more after general public is going to use it and will try to use things I haven't think about.

I am not that concerned of Wren failing as a language, but I looking for a ways to prevent users write code that doesn't work without having to know what is going on, which is something Lua is excellent in (typo in variable name in if statement? Valid code for sure)


I think it got it's start as part of https://luxeengine.com/ which transitioned away from Haxe


Wren was originally written by Bob Nystrom, author of Crafting Interpreters. He recently handed it off to another maintainer.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: