Re:The Neko Virtual Machine
by saagarjha on Monday May 13, 2019 @12:18AM
(#19896401)
I don't completely understand the background of this project, but I think this is supposed to be a scripting language that compiles down to bytecode, which lets you embed the interpreter (à la Lua) or VM into your application depending on what you want.
[ Parent
| on HN ]
Re:The Neko Virtual Machine
by codetrotter on Monday May 13, 2019 @12:25AM
(#19896423)
I’ve only ever heard of Neko in the context of Haxe, a scripting language created by the same people that make Neko. Never did look really closely into either of them though.
I found the following three resources helpful in getting a bit of an idea about what Neko really is beyond being a target VM of Haxe.
Neko C FFI - https://nekovm.org/doc/ffi/
A comparison of Neko and Lua - https://nekovm.org/doc/lua/
Language Interoperability - https://nekovm.org/doc/multilang/
Haxe is hardly a "scripting language", at least according to my definition of that term. It's a strictly typed high-level language with a proper optimizing compiler. Depending on the target it produces either bytecode (Neko, HashLink, Flash and recently JVM) or source code (C++, JavaScript, Python, Lua, C#, Java, PHP).
See https://haxe.org/documentation/introduction/compiler-targets... for a full list of targets.
Re:The Neko Virtual Machine
by codetrotter on Monday May 13, 2019 @08:14AM
(#19898481)
Yeah sorry, like I said, never did look closely into either of them before. Knew that Haxe had multiple targets but aside from Neko and Flash and JavaScript I didn’t remember the others. Should’ve checked the Haxe website also.