Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (487)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (552)
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 3526 times)
0 Members and 1 Guest are viewing this topic.
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 76
Projects: 15


★★★★★


« Posted 2011-10-25 11: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 11: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.
Online princec

JGO Kernel


Medals: 363
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #2 - Posted 2011-10-25 12: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
Online Nate

JGO Kernel


Medals: 145
Projects: 4
Exp: 14 years


Esoteric Software


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

Online princec

JGO Kernel


Medals: 363
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #4 - Posted 2011-10-25 22: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 14: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
« Reply #6 - Posted 2011-11-24 17: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 )

Praxis LIVE - open-source intermedia toolkit and live interactive visual editor
Digital Prisoners - interactive spaces and projections
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

CopyableCougar4 (22 views)
2014-08-22 19:31:30

atombrot (34 views)
2014-08-19 09:29:53

Tekkerue (30 views)
2014-08-16 06:45:27

Tekkerue (28 views)
2014-08-16 06:22:17

Tekkerue (18 views)
2014-08-16 06:20:21

Tekkerue (26 views)
2014-08-16 06:12:11

Rayexar (65 views)
2014-08-11 02:49:23

BurntPizza (41 views)
2014-08-09 21:09:32

BurntPizza (31 views)
2014-08-08 02:01:56

Norakomi (41 views)
2014-08-06 19:49:38
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
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!