Re:Wren: a small, fast, class-based concurrent scripting lan...
by pygy_ on Monday May 02, 2016 @02:22PM
(#11614023)
For Thimbleweed Park, Ron Gilbert considered Lua but found it too "goofy" syntactically, and ended up using Squirrel.
Re:Wren: a small, fast, class-based concurrent scripting lan...
by munificent on Monday May 02, 2016 @03:57PM
(#11614998)
> I found Squirrel and Wren but the last time I looked they lacked the tooling and mailing lists that Lua already has.
Yup, Wren still has a long ways to go in terms of being a mature ecosystem, but it's getting there slowly. It would be moving faster, honestly, if I put more time into it, but there are only so many hours in the day.
Re:Wren: a small, fast, class-based concurrent scripting lan...
by eropple on Monday May 02, 2016 @01:57PM
(#11613794)
An option that might be worth looking at is AngelScript, which I think minimizes the context switch between C++ and the scripting layer really nicely.
Re:Wren: a small, fast, class-based concurrent scripting lan...
by emsy on Monday May 02, 2016 @02:33PM
(#11614134)
I totally forgot about AngelScript. It really has the lowest context switching overhead, but you get to keep the verbose C++ syntax in return, which is a trade-off.
Personally I don't mind if a language differs somewhat, but with Lua I constantly get errors because of basic things like braces, comments and comparisons.
Re:Wren: a small, fast, class-based concurrent scripting lan...
by Pxtl on Monday May 02, 2016 @02:18PM
(#11613983)
I wonder of a language-agnostic computing platform could be developed based on a Lua-like securely-embedded system. That is, something like the JVM, but the client code can only access the things that are explicitly provided to it by the host environment.
You'd be pretty constrained by what concepts of "object" to support, though.
Since Lua is rather tedious to use for me, I looked for alternatives with a C-like syntax. I found Squirrel and Wren but the last time I looked they lacked the tooling and mailing lists that Lua already has. It's a bit of a chicken-egg problem unfortunately.