Monkey vs NME

Monkey Archive Forums/Digital Discussion/Monkey vs NME

Arthur(Posted 2012) [#1]
Found this today: http://www.haxenme.org/
It is an API written for haXe.

Did someone already tested NME and compared it with Monkey in terms of speed and features?

It seems that they are both direct competitors and target on the same platforms and type of games.

Supported platforms: iOS, Android, Flash, PC, MAC, Linux, WebOS, HTML5

http://www.haxenme.org/about-nme/feature-matrix/


Soap(Posted 2012) [#2]
They both have their own strengths. Monkey is more developer friendly in my opinion, and has more support behind it, which is extremely important.


Arthur(Posted 2012) [#3]
Some pros and cons that I've figured out already:

Cons:
HaXe can't translate to Java and C#, so NME doesn't have XNA target.
Language is a little bit complicated comparing to Monkey, for novices.
It is free, so there is no guaranty that it will continue to develop.


Pros:
It can render SWF vector graphics on all platforms, so it is possible to use the same assets pack for all platforms and resolutions.
It is easy for Actionscript and javascript coders to get into.
A lot of crossplatform libraries and frameworks are already exist for haXe.
A lot of IDE's are support haXe development and debuging: http://haxe.org/com/ide


slenkar(Posted 2012) [#4]
PRO-Haxe produces faster bitcode for the flash virtual machine than action script.

CON- I find monkey a lot easier due to ENDIF instead of curly braces :).
monkey language is just 'better' overall
I always forget how to convert int to string and int to float with haxe.

I dont know if Haxe has reflection?


Samah(Posted 2012) [#5]
CON- I monkey a lot easier due to ENDIF instead of curly braces :).

lol...

I dont know if Haxe has reflection?

It does.


slenkar(Posted 2012) [#6]
oh yeah true,
haxe cant embed resources into the swf even 1/10 as easily as monkey BTW
last time I tried you had to use an external tool which was very fussy and difficult to use.


AdamRedwoods(Posted 2012) [#7]
Haxe is awesome. Nice to see it growing!


muddy_shoes(Posted 2012) [#8]
Last time I looked at Haxe it suffered from being rather piece-meal in its cross-platform support. The community specifically preferred to maintain a separation between a cross-platform language and the idea of a cross-platform set of libraries.

If NME is stepping up to offer that cross-platform feature set then it's a serious competitor to Monkey. Haxe as a language is far more consistent with the languages that most coders are familiar with and it has far better tool support.


Samah(Posted 2012) [#9]
There's also this, for NME.
http://code.google.com/p/nmex/

Gives a bunch of stuff like In-App Purchases, Game Center, Achievements, etc. for iOS and Android. So yeah, that's something that would be nice in Monkey too.


FelipeA(Posted 2012) [#10]
I've worked with NME+HAXE, It's a really great lenguage.
I've made some test and NME Runs really fast on almost every device.

It's not easy if you are used to Monkey as you'll have to make almost everything Monkey al ready has, like all the rendering functions, loops, etc.

Maybe a Target for NME on Monkey would be nice. Syntax is almost the same as on as3.