Fabien Bourgeois a écrit :
Good evening everyone,
First, and I hope my english will be readable and I apologize if it's not.
I have few questions about Neko, NekoJIT, mod_tora and NekoML :
1. I have read Neko with mod_tora and Apache can be significantly faster
than PHP
(and so, faster than many other languages used for server-side Web
programming).
Is the JIT having an important part in this speed ? I think the JIT is
only for 32bits, isn't it ?
Are there plans to write a JIT for x86_64 arch ?
JIT helps with speed, but is not mandatory. For instance we are not
using JIT with mod_tora at Motion-Twin, and we still have enough speed.
There is no active work being done on JIT right now, so x86_64 is not
planned.
2. Does someone know if there is a performance gap between Neko 32b, JIT
enabled, and Neko 64 ?
Are there some other differences between these versions, especially
about their memory footprint ?I know that I can
test it myself writing some benchmarks but my programming level is low
and I think I won't write significant pieces of test suite.
Memory footprint will be increased on 64bit version, since every array
or object will need to store 64bits pointers. As for performance, it
might depend on your application.
4. Curently, I mainly use Python. It's a powerfull language, especially
cause I can use it for many things, like with Perl etc. Is it possible,
thanks to compilation speed, to use HaXe with Neko target as an admin
server language ? I mean, to automate admin tasks, server-side scripts,
as a "super shell" ?
Yes, this is possible. There are already many of the common system API
in Neko. Some might be missing, but you can usually call system tools as
a replacement.
Maybe it's possible to use directly the Neko language for it (even I
know the Neko language is for programs) ?
Yes, this is possible, but it's not be meant for that, so you will have
to create some sort of "standard library" to ease its usage.
5. Last but not least : NekoML. Is this language targetting by humans or
other computer languages ? Is it currently used by some of you (I've
seen temploc is a software written with it) ? Is there documentation
about it, except the official website page ?
There's not much NekoML documentation. NekoML is similar to OCaml
without an object system but with C-like syntax. Some tools (especially
compilers) are written in NekoML and can be used as examples :
- hss
- temploc2
- nekoc compiler
- nekoml compiler
Nicolas
--
Neko : One VM to run them all
(http://nekovm.org)