I am evaluating the Neko VM according to a number of parameters/functions.
I didn't find the following issues in the documentation, so I kindly ask
you for support:
Most of these are actually well defined in the documentation, but here's
some answers anyway.
*) which thread synchronization primitives are there?
Messages and locks api are available here :
http://nekovm.org/doc/view/thread
*) which IPC mechanisms are available (semaphores, queues, pipes, ...)?
The locks are actually semaphores (although their counter is not
accesible). There is a message queue per-thread, and other mecanisms can
be implemented by using the available ones.
*) how is data input/output supported?
There is a 'file type with a complete API here :
http://nekovm.org/doc/view/file
And sockets API here :
http://nekovm.org/doc/view/socket
There is no IO framework in Neko but the haXe language which is
targeting Neko is building such a framework on top of these APIs (see
http://haxe.org/api , neko/io package ).
*) timer functions like alarm() etc.?
No.
*) is there an event mechanism?
Yes, thread messages.
Several Neko libraries allow an UI to be created, such as xCross or
ScreenweaverHX, they add then an event loop.
*) is socket programming supported?
Yes.
*) which scheduler is used?
Native threads.
*) is char/string handling supported? translation to/from unicode?
Yes, there's UTF8 api on http://nekovm.org/doc/view/utf8
*) is interfacing to some native code possible?
Yes, you can easily extend Neko with C primitives, see
http://nekovm.org/doc/ffi
Hope that helps,
Nicolas
--
Neko : One VM to run them all
(http://nekovm.org)