Vincent de Lau | 3 Mar 16:24 2014
Picon

Future of NekoVM

Hi all,

 

Currently I’m toying around with a new programming language idea and want to start creating a kind of PoC implementation based on an existing VM. Enter NekoVM... ;)

 

Having read most of the documentation, I was wondering about the implementation details for integers. I’ve seen that int32 is becoming more and more of a first class citizen, but how about 64 bit? Any plans for 64 bit support?

 

Regards,

Vincent de Lau

--

-- 
Neko : One VM to run them all
(http://nekovm.org)
paolo.bernardi.67@gmail.com | 25 Feb 17:43 2014
Picon

hello

neko it's truely fast,
it's syntax is simple, but very clean.
I like it.
now I hope it will compile without much problems with mingw

Thanks a lot!

--

-- 
Neko : One VM to run them all
(http://nekovm.org)

Marcio Andrey Oliveira | 14 Feb 13:29 2014
Picon

NekoVM performance

I saw NekoVM claims to be 20X faster than PHP.

I'd like to know whether there is a performance comparison with other languages / frameworks (say python, ruby, golang, flask, sinatra)

Also performance is a point but what about memory consumption and processor usage?

Thank you.

--
Do you have an arcade site? I do 1:1 Game Exchange

Play free on-line games

Get free games for




--

-- 
Neko : One VM to run them all
(http://nekovm.org)
Vasileios Anagnostopoulos | 6 Feb 16:17 2014
Picon

Problem with mingw




Problem description

I try to build neko with the mingw (make os=mingw) in this link

I am on Windows 7 x68 with MSYS2

I use the following adjustments in Makefile

## MINGW SPECIFIC

ifeq (${os}, mingw)
CFLAGS = -g -Wall -O3 -momit-leaf-frame-pointer -D_WIN32 -DNEKO_SOURCES -I vm -I /c/langs/build-sdk/prerequisites-i686/include -I libs/common
EXTFLAGS =
MAKESO = $(CC) -O -shared
LIBNEKO_NAME = neko.dll
LIBNEKO_LIBS = -Lbin -L/c/langs/build-sdk/prerequisites-i686/lib -lgc
STD_NDLL_FLAGS = ${NEKOVM_FLAGS} -lws2_32
endif

In folder /c/langs/build-sdk/prerequisites-i686 I have a lot of packages and gc 7.4.0 build all with this gcc (I used it for compatibility with compiling haxe with wodi32 which succeeded)

I had to comment out GC_use_DllMain(); in alloc.c

The problem

 /bin/sh: line 1:  3848 Segmentation fault      LD_LIBRARY_PATH=../bin: NEKOPATH=../boot:../bin ../bin/neko nekoml -nostd neko/Main.nml nekoml/Main.nml
Makefile:96: recipe for target 'compiler' failed
make: *** [compiler] Error 139


Any suggestions?

Thanks in advance.



--
Dr. Vasileios Anagnostopoulos (MSc,PhD)
Researcher/Developer
ICCS/NTUA 9 Heroon Polytechneiou Str., Zografou 15773 Athens,Greece
T (+30) 2107723404 M (+30) 6936935388
--

-- 
Neko : One VM to run them all
(http://nekovm.org)
Luis P. Mendes | 7 Jul 01:47 2013
Picon

Compiling Neko vm from source - problem apr.h

Hi all,


I'm interested in trying Haxe with Neko.  Tried to install Neko from source for my Slackware box.
The compilation breaks with this message:

Compiling mod_neko...
gcc -O3 -fPIC -pthread  -c -I../../vm -I/usr/include/httpd ../../vm/stats.c
gcc -O3 -fPIC -pthread  -c -I../../vm -I/usr/include/httpd mod_neko.c
In file included from /usr/include/httpd/ap_config.h:25:0,
                 from /usr/include/httpd/httpd.h:44,
                 from mod_neko.h:25,
                 from mod_neko.c:22:
/usr/include/httpd/ap_hooks.h:39:17: fatal error: apr.h: No such file or directory
compilation terminated.
Called from tools/install.neko line 414
Called from tools/install.neko line 375
Uncaught exception - Error 1 : aborted
make: *** [libs] Error 1



$ find /usr -name 'apr.h'
/usr/include/apr-1/apr.h

In Neko source directory downloaded:
$ find . -iname apr.h             
./libs/include/apache2/apr.h


So, I already have a apr.h file in /usr, but Neko provides another one.  Despite this, the compiling process doesn't seem to find any of these.


What should I do?  Set ld library path? how?


Luis
--

-- 
Neko : One VM to run them all
(http://nekovm.org)
Konstantin Tcholokachvili | 23 Mar 12:15 2013
Picon

Prototypes export/import

Hello,


I get back to neko and I would like to know how prototypes export system works.
For example, I createed a file called proto.neko with the following contents:

-------------------------------------------------------------------------
var proto = $new(null);
proto.foo = function() { $print(this.msg) }
-------------------------------------------------------------------------

then a file called lod.neko with the following contents:

-------------------------------------------------------------------------
var proto = $loader.loadmodule("proto",$loader);

var o = $new(null);
o.msg = "hello";
$objsetproto(o,proto);
o.foo(); // print "hello"
-------------------------------------------------------------------------

But when I do:
nekoc proto.neko
nekoc lod.neko
neko lod.n

I have the following message:

Called from lod.neko line 6
Uncaught exception - Invalid call

Line 6 corresponds to the "o.foo()" so it seems that the prototype isn't fully imported.

What happens?


Thank you in advance.
--

-- 
Neko : One VM to run them all
(http://nekovm.org)
FRD | 22 Mar 11:12 2013
Picon

nekoc -doc and nekoc -link

I see that neko 2.00 for linux has been released. Congratulations  and thank you!

I would like to know  about two options in the compiler nekoc:

First, the doc option. Looking in source code looks like it search text between <doc> and </doc>, can you give an example of how document a function, please?

Second, the linker option. how can I use it?

Thank you
--

-- 
Neko : One VM to run them all
(http://nekovm.org)
Fernando Raya | 12 Feb 13:25 2013
Picon

Read user input

How can I read user input in Neko?

Something like:

     $print("Give a number");
     var input = read-line();
     $print("Your number was ", input);

Thanks

--

-- 
Neko : One VM to run them all
(http://nekovm.org)

Lars Madson | 10 Feb 18:37 2013
Picon

Writting native code

Hi,

I'm doing some bash script to add linux users, delete and upate, also for htpasswd and mysql.
So I could call them from some haxe/Neko web interface.

Would it be of any interest to make a Neko primitive for those ?

Thanks
Laurent
--

-- 
Neko : One VM to run them all
(http://nekovm.org)
Lars Madson | 24 Jan 13:20 2013
Picon

apache error load mod_neko2.ndll, undefined symbol ap_log_error

Hi,

I updated Xampp on archlinux. Since then I can't start apache anymore.
I looked on how to fix this from apache then but can't find a solution, like maybe a way to bypass this check for the missing symbol. Or maybe a library I should install.

I recompiled neko 1.8.2 but this undefined symbol seems the normal behavior.

Any idea what I should do to fix this ?

thanks
Laurent

--

-- 
Neko : One VM to run them all
(http://nekovm.org)
Jonas Malaco Filho | 15 Jan 03:17 2013
Picon

Compiling trunk on Windows/MSVC

Hi there...

I've been trying to compile neko, nekoc, nekoml and associated libs on Windows/MSVC. Amost everything is working, although I didn't try to compile mod_tora and mod_neko. However, I couldn't quite figure out what is the workflow used by Nicolas... What is the easiest way to compile on MSVC?

I also haven't been able to figure out where does os.ndll comes from and how to compile nekoml.std. I tried running the command in src/tools/install.neko, but got the follwing error:
Core\Core.nml(201): Cannot unify error and Core\Core.error

Can you provide some help?

Jonas Malaco Filho
--

-- 
Neko : One VM to run them all
(http://nekovm.org)

Gmane