encyclopegia.org

NekoVM

NekoVM is a virtual machine developed by Nicolas Cannasse as part of research and development (R&D) efforts at two independent video game developers in Bordeaux, France: first at Motion Twin and then at Shiro Games.[src] NekoVM's native language is the bytecode for a high-level dynamically typed programming language called Neko.[src] This pairing allows Neko to be used directly as an embedded scripting language, or to target NekoVM by compiling another language (such as Haxe) to NekoVM bytecode.[src]

NekoVM is a virtual machine developed by Nicolas Cannasse as part of research and development (R&D) efforts at two independent video game developers in Bordeaux, France: first at Motion Twin and then at Shiro Games.[src] NekoVM's native language is the bytecode for a high-level dynamically typed programming language called Neko.[src] This pairing allows Neko to be used directly as an embedded scripting language, or to target NekoVM by compiling another language (such as Haxe) to NekoVM bytecode.[src] ==Concept== Neko has a compiler and a virtual machine (VM) with garbage collection.[src] The compiler converts a source .neko file into a bytecode .n file that can be executed with the VM.[src] Since Neko is dynamically typed with no fixed classes, a developer only needs to find the proper runtime mapping (in contrast to data type mapping) so that code executes correctly.[src] As the Neko FAQ puts it: "...it is easier to write a new or existing language on the NekoVM than it is for the CLR / JVM, since you don’t have to deal with a highlevel type system.[src] Also, this means that languages can interoperate more easily since they only need to share the same data structures and not always the same types." Neko requires compiling before executing, like other scripting languages such as Apache Groovy.[src] Since Neko need not be interpreted at runtime, it executes faster.[src] The Haxe language can compile to Neko code, among other targets.[src] ==Virtual machine== The Neko virtual machine is used to execute a Neko bytecode file, the VM also has the option to convert a bytecode file into an executable file (output changes depending on the target operating system).[src] ==Language== ===Hello World=== $print("Hello World!"); ===Type conversions=== $int("67.87"); // Converts string "67.87" to integer 67 $float(12345); // Converts integer 12345 to float 12345.0000 $string($array(1,2,3)); // Converts array [1,2,3] to string "[1,2,3]" ===Objects=== o = $new(null); // new empty object o2 = $new(o); // makes a copy of o o2 = $new(33); // if parameter is not an object, throw an exception o.field = value; //sets field to value o.field; // returns "field" value of object o ===Methods=== foo = function() { $print(this.x); } o = $new(null); o.x = 3; o.bar = function() { foo(); }; o.bar(); // prints 3 ===Function scope=== var x = 3; f = function() { $print(x); } x = 4; f(); // print 3 ===Prototypes=== var proto = $new(null); proto.foo = function() { $print(this.msg) } var o = $new(null); o.msg = "hello"; $objsetproto(o,proto); o.foo(); // print "hello" $objsetproto(o,null); // remove proto o.foo(); // exception ===Web functionality=== Neko includes Apache server modules mod_neko for Neko language and mod_tora for hosting the NekoVM application server tora.[src] As such, it can process user input using GET and POST requests: get_params = $loader.loadprim("mod_neko@get_params",0); $print("PARAMS = "+get_params()); ==See also== OpenFL ==References==[src]

16 sentences · 16 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"NekoVM." encyclopegia.org, 2025, https://encyclopegia.org/wiki/nekovm. Accessed 29 November 2026.

Chicago

"NekoVM." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/nekovm.

APA

encyclopegia.org. (2025). NekoVM. Retrieved November 29, 2026, from https://encyclopegia.org/wiki/nekovm

Accessed November 29, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1276808854 · 0.5 · snapshot enwiki-001276808854

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.