News for hackers. Stuff that matters.
Re:Gravity – An embeddable programming language by api on Friday June 22, 2018 @10:59AM (#17374448)
Can anything interesting be used on iOS?
Re:Gravity – An embeddable programming language by lasagnaphil on Friday June 22, 2018 @11:39AM (#17374811)
There are some nice non-JIT embedded languages such as Angelscript (resembles C++, uses refcounting instead of GC), Squirrel (extension of Lua syntax to support classes and other nice features), and recently Wren (has a nice class system and uses fibers for concurrency).
Re:Gravity – An embeddable programming language by api on Friday June 22, 2018 @11:53AM (#17374943)
Does Apple still prohibit any form of downloaded code or scripting or did they finally ease that?
Re:Gravity – An embeddable programming language by 0xCMP on Friday June 22, 2018 @04:38PM (#17377149)
They do if the user can download and execute the code themselves. If the underlying app uses it (e.g. React Native app downloads updated bundle) and user can't touch it then it's okay.
Re:Gravity – An embeddable programming language by megous on Friday June 22, 2018 @02:39PM (#17376264)
Wren looks interesting. It stands out by the lack of use of setjmp/longjmp for error handling. It's probably side effect of being able to return/suspend fiber from any call stack depth.
Re:Gravity – An embeddable programming language by rurban on Friday June 22, 2018 @05:24PM (#17377507)
Haxe is the leader there, besides swift.