You may also be interested in this project: https://github.com/fengari-lua/fengari
The two biggest questions I’d have are:
1) how easy it would be to bridge Obj-C objects to Wren-space and vice versa (a big win of using JavascriptCore) 2) how easy would it be to implement script debugging? This is not exactly a strength of Javascript core but it is at least possible by connecting the Safari web inspector.
There’s lots I don’t like about JS and JSCore but i’ve yet to find a better alternative.
...In more prosaic terms, this means that static methods are not inherited.I thought his focus was Dart these days given being employed by Google.
There are loads of scripting languages but very few of them have an embedding API as powerful as Lua or Squirrel's. (My benchmarks: what's the overhead of a userdata pointer? Is there a proper debug API? Can you suspend a co-routine from inside a called C function? Very few languages even have coroutines.) Last I looked at it years ago, Wren was one of the best. Of course, the most featureful embedding API of all belongs to LuaJIT.
[1] https://rosettacode.org/wiki/Rosetta_Code/Rank_languages_by_...
gnabgib•4d ago
2020 (122 points, 54 comments) https://news.ycombinator.com/item?id=23660464