Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (404)
games submitted by our members
Games in WIP (289)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  JamVM on iPhone  (Read 2814 times)
0 Members and 1 Guest are viewing this topic.
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 50
Projects: 15


★★★★★


« Posted 2011-10-25 13: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

Junior Member


Medals: 3



« Reply #1 - Posted 2011-10-25 13: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


Medals: 194
Projects: 3


Eh? Who? What? ... Me?


« Reply #2 - Posted 2011-10-25 14: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! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Nate

JGO Wizard


Medals: 81
Projects: 3


Esoteric Software


« Reply #3 - Posted 2011-10-25 22: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


Medals: 194
Projects: 3


Eh? Who? What? ... Me?


« Reply #4 - Posted 2011-10-26 00: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
« Reply #5 - Posted 2011-11-24 15: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

JGO Knight


Medals: 37



« Reply #6 - Posted 2011-11-24 18: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]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars and Titan!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (32 views)
2013-05-17 21:29:12

alaslipknot (40 views)
2013-05-16 21:24:48

gouessej (70 views)
2013-05-16 00:53:38

gouessej (69 views)
2013-05-16 00:17:58

theagentd (78 views)
2013-05-15 15:01:13

theagentd (73 views)
2013-05-15 15:00:54

StreetDoggy (113 views)
2013-05-14 15:56:26

kutucuk (137 views)
2013-05-12 17:10:36

kutucuk (137 views)
2013-05-12 15:36:09

UnluckyDevil (145 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.084 seconds with 20 queries.