Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  JamVM on iPhone  (Read 1592 times)
0 Members and 1 Guest are viewing this topic.
Offline kappa
« League of Dukes »

JGO Kernel
*****

Posts: 2360
Medals: 59


★★★★★


« on: 2011-10-25 07:50:52 »

I've recently come across JamVM, it looks like a really nice, small and decent speed JVM. There have already been people running LWJGL's OpenGL-ES binding with JamVM on ARM devices at pretty decent speeds. Example.

Apple also relaxed the restrictions in there TOS last year in relation to interpreted code and even allows tools like like Unity3d, Mono Converters, various emulators, etc. The only restriction currently being that tools can't run downloaded code (like the Flash plugin).

The JamVM site says that it runs fine on the iPhone
Quote
"built using unofficial toolchain and tested on a jailbroken iPhone"

Just curious, what's stopping people from running JamVM applications on iPhone now and releasing on the AppStore?
Offline Chromanoid

Jr. Member
**

Posts: 91
Medals: 3



« Reply #1 on: 2011-10-25 07:53:30 »

edit: uh didn't read carefully Sad...
Apple's License? I think the current one states the following: "Notwithstanding the foregoing, with Apple’s prior written consent, an Application may use embedded interpreted code in a limited way if such use is solely for providing minor features or functionality that are consistent with the intended and advertised purpose of the Application."
I think most games are easier to port to ObjC or Flash/Unity3D than getting this stuff to work. http://www.in-the-box.org/ did not get much attention too. Unless there are commercial interests and official ways to do this, I guess, it is only interesting for hobbyists and people who like to do risky experiments.
Offline princec
« League of Dukes »

JGO Kernel
*****

Posts: 8086
Medals: 95


Eh? Who? What? ... Me?


« Reply #2 on: 2011-10-25 08:09:21 »

Also been looking very closely at JamVM. The Dalvik VM was effectively forked from JamVM, which would lead me to think that the speed will be similar (and therefore "acceptable"). In particular something that really impressed me about JamVM (well, Dalvik) is that it is a 100% complete, compliant J2SE VM, with synchronisation, references, accurate GC, native threading, and even the full Java serialization protocol working. I've been compiling resource on my desktop and the resulting binary files work perfectly in Dalvik!

One issue with JamVM might be though, that last time I heard, iOS will not allow normal applications to write to code memory (a la JIT compilation). This would force JamVM to run in purely interpreted mode, which is about 2-5x slower most of the time, and unfortunately that's back in the realms of "not very useful". Except maybe for turnbased stuff, so an eye might still be kept askance upon it.

A LWJGL binding to iOS would be sweet in any case.

Cas Smiley

Games published by our own members! Go get 'em!
Offline Nate

JGO Neuromancer
****

Posts: 1062
Medals: 30


mooooo


« Reply #3 on: 2011-10-25 16:48:03 »

iOS will not allow normal applications to write to code memory (a la JIT compilation). This would force JamVM to run in purely interpreted mode

Or do AOT compilation.

Offline princec
« League of Dukes »

JGO Kernel
*****

Posts: 8086
Medals: 95


Eh? Who? What? ... Me?


« Reply #4 on: 2011-10-25 18:31:34 »

Indeed, though AOT compilation is a bit of a different kettle of fish from what JamVM does. I've contacted the author about this very idea... wonder if he'll reply.

Cas Smiley

Offline deepthought

Full Member
**

Posts: 212
Medals: 1



« Reply #5 on: 2011-11-24 09:21:50 »

question is, does it work on other IOS devices like the fondleslab?

jocks rule the highschools. GEEKS RULE THE WORLD MWAHAHAHA!!
captain failure test game
Offline nsigma

Sr. Member
**

Posts: 342
Medals: 18



« Reply #6 on: 2011-11-24 12:41:17 »

This article http://www.infoq.com/news/2011/10/oracle-client-java might be interesting in the context of this thread.  In particular the "precedent" set by Cyberduck on the OSX app store (in quotes because I'm not sure how much of a precedent it really is!  Smiley )

Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.123 seconds with 20 queries.