Can monkey compile to a Java target?

Monkey Forums/Monkey Programming/Can monkey compile to a Java target?

FelipeA(Posted 2012) [#1]
This is a pretty noob question.
I have made a Socket/ServerSocket module for monkey, the sockets work fine on android devices, I've even made a simple chat ( http://shin.cl/crosschat/ ), the problem is ServerSocket crashes on device but on console runs fine, I was wondering how hard is it to run a monkey app as a java application on pc for this purpose.

Thanks!


ziggy(Posted 2012) [#2]
Monkey can translate to Java, BUT you should create a Java target for it and maybe a desktop JAVA version of mojo, wich would not be a trivial task


Samah(Posted 2012) [#3]
I started work on a libgdx target a while ago in the hope the performance would be better on Android. I had all the graphics and input commands working perfectly, but the performance was about the same as Mark's so I abandoned it.

I guess if it were finished you could use it as a desktop target, but I don't really see much point when you could just use GLFW or MonkeyMax. Admittedly the latter would require a BlitzMax license.


slenkar(Posted 2012) [#4]
you could argue that the minecraft demo benefitted from being an applet in a browser, i dunno if anyone here cares enough about applets enough to make that target.


ziggy(Posted 2012) [#5]
The appelets idea is a very good idea. It would be great to use this instead HTML5 as the default showcase target for this site becouse HTML5 is still very unreliable on some browsers, has compatibility issues and does not perform with the same speed of any of the other targets when you have to color a bitmap. but this may be too much work for Mark to maintain yet another target... ?


Soap(Posted 2012) [#6]
The obvious solution is for Mark to make more money and then hire another highly skilled polygot developer to add additional useful targets and maintain the already existing ones. Everyone here should get on twitter/facebook and tell people to buy Monkey. :)

I've tried to market for Mark on many occasions and still try to drive traffic to the site and build interest when I can. Using Monkey is already obvious to me, but more well supported targets would make it even more ridiculously obvious to others that it is what they should use.

A proper blackberry target would be great. A Kindle eInk one would be interesting, and useful to me.