Re:Wren is a small, fast, class-based concurrent scripting l...
by vaibhavthevedi on Saturday June 27, 2020 @05:17AM
(#23660529)
Looks nice. It reminds very much of C and C++ programming. What are some of its use cases?
[ Parent
| on HN ]
Re:Wren is a small, fast, class-based concurrent scripting l...
by skybrian on Saturday June 27, 2020 @04:45PM
(#23664544)
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.
Re:Wren is a small, fast, class-based concurrent scripting l...
by dejv on Saturday June 27, 2020 @03:38PM
(#23664083)
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.
Re:Wren is a small, fast, class-based concurrent scripting l...
by vaibhavthevedi on Sunday June 28, 2020 @03:48AM
(#23667329)
I like your product. Do you find Wren reliable when implementing features, like did it ever broke?
Re:Wren is a small, fast, class-based concurrent scripting l...
by dejv on Sunday June 28, 2020 @06:12AM
(#23667802)
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)
Re:Wren is a small, fast, class-based concurrent scripting l...
by Avshalom on Saturday June 27, 2020 @03:25PM
(#23663996)
I think it got it's start as part of https://luxeengine.com/ which transitioned away from Haxe