Kickstarter - Headless JVM for iOS

So, something I mentioned in the brainstormy thing is actually relatively serious. Dmitry once confided - not sure how secretly but I am a blabbermouth - that it would take a low six-figure sum to get Excelsior to produce a headless port of their JET compiler for ARM CPUs without the JIT part.

Anyone behind the curve on the significance of this:-

  1. iOS has no Java of any kind that really merits the description “Java”. Anything you might reasonably cobble together, should you still have enough hair and SAN, will be slow and shit. And furthermore Apple won’t let anything on their device that can execute scripts or dynamic code in any way other than the built-in Javascript engine. Even Mono has its JIT disabled so you can run it on iOS.

  2. Excelsior JET produces seriously blisteringly fast code. 8 years ago when I first made Alien Flux with it, not only did I get the entire game into a 5MB download, it started up in the blink of an eye versus. about 20 seconds for ordinary Java, and ran butter-smooth on ancient creaky hardware. 8 years ago this was stuff like 600MHz Pentium 2s with Geforce 2 GPUs.

  3. Objective-C, the programming language of iOS, is universally loathed, on account of its awful shitness. We all know that Java is a Very Nice Way To Code Indeed, and it’d be just lovely to be able to code for iOS in Java without all the hair-pulling etc. that C++ generally produces or the self-loathing and strange masturbatory habits that Objective C will eventually induce in you.

  4. We only need Headless java as AWT is bugger all use on iOS.

  5. LWJGL, er, already happens to be ported to OpenGL-ES / ARM…

So - I was wondering about whether we should get together a Kickstarter project to fund this and dump the money on Excelsior’s doorstep. I’d put $10k in straight up.

Cas :slight_smile:

OMG please please please please please please please please please please please…

Too bad I’m broke.

I’d put in $10.

Also, I actually really like Objective-C now that I have worked with it for 2 years. It’s got a nice kind of elegance. There are some things that are stupid about it (nil ignoring everything, for example) but overall it’s quite good.

I am really into this idea. One of the best idea’s I have heard in a long time!
Any site would work such as you mention KickStarter or another site.

Not only the incredibly generous contribution princec said he would, but I would bet that markus, if he caught wind of it, would probably be interested in it and might contribute a chunk. I know he always puts a lot of money into humble bundle and other indie or java things all the time.

I would be willing to commit a decent chunk of money $$$$ and I think we could find enough people to. Especially people in the woodworks or on other Java sites.
Just think, if it was 100k+ ish
10,000 people donating $10 or 1,000 people donating $100. Not to mention the occasion HUGE contributor like prince!

Don’t forget for those hestitant, iOS offers a huge market for profit to be made. Whereas not many other platforms like PC can generate easy large quantity micro transactions. People on iOS pay a couple dollars for apps/games super easy.(relatively speaking)

Though I think we need to get Excelsior in on this 100% before any actual donations start and a semi fixed price/estimate from them.
Heck, maybe even Google or Oracle would throw in some money! hah you never know.

Yeh, $500k (half of it up front) :slight_smile:

IMO you’re knocking on the wrong door, JGO just doesn’t have the man power to raise that sort of money from the bottom up, at best you’d be luck to make $5,000.00 (excluding your contribution) but a 100 times that? highly unlikely.

It’d be best if you try approach someone with deeper pockets and a vested interest in Java, like Markus who could easily put down $100k (about a days worth of Minecraft sales), or even cut some sort of deal with them (Mojang) like promising them your next first born (game). Other potential targets would include Jagex and Three Rings, not many others have that sort of muscle.

Another option is for you (or Excelsior) to get some sort of venture capital or other business investor to raise/provide that sort of money.

The donation idea IMO could only work if there was a large enough audience available like that of the Humble Indie Bundle, if something like that could be arranged, I’m sure we could pull a few strings (possibly even from some LWJGL connections) and get a crack commando line up of games (at least better than the frozenbyte HIB).

However do keep in mind if its going to be community funded like that, then the community is going to expect something back, like the product being open source or free licences for us or something. Its not exactly clear if that’s what Excelsior had in mind or if its just so they can create a proprietary version that they can sell on.

Excelsior said they’d need that much just to develop it. They’d then sell it afterwards. After laying out $10k I wouldn’t really mind paying another $500 for it.

The market for Java on iOS is much bigger than just games, I have a feeling, and yes, JGO is a very small community compared to what, hm, reddit or slashdot might be able to pull in.

Cas :slight_smile:

Noone with rich uncles around here then? 8)

I am a rich uncle.

Here is how I am going to deal with the problem. My AllBinary Platform support J2ME, Android, and J2SE. As such the direct course for me is HTML5 and ActionScript to get my stuff on IOS.

To bad phoneme (Suns open implementation of J2ME) is GPL otherwise I would just use that. Yes, I know it is not what your looking to do.

I don’t know how seriously you mean that, but a “Humble Java Bundle” would certainly boost the profile of Java gaming (assuming the games are good enough).

(Can’t comment on iOS JET. Unlikely to be something I’d ever find myself using.)

Simon

P.S. That’s being a bit harsh on the Frozenbyte HIB. Trine is fab (first half-dozen levels at least).

http://oss.readytalk.com/avian/index.html
http://oss.readytalk.com/gitweb?p=avian.git;a=shortlog;h=refs/heads/ios
Keep it free!

That is nice. The examples work and the code looks good. Finally I can have a native implementation that I can deploy with my stuff. It changed a bunch since the last time I saw it.

You made me update my AllBinary Platform roadmap:

2002: J2ME
2005: J2ME and J2SE (via MicroEmulator)
2006: J2ME, J2SE, and Android (via MicroEmulator)
2012: J2ME, J2SE, Android, and Native (via Avian)
2013: J2ME, J2SE, Android, Native, and (HTML5 or ActionScript)
2014: J2ME, J2SE, Android, Native, HTML5, and ActionScript

If something else comes along that is really really popular then I might update it again, but I doubt it.

Anybody really tried GCJ for this?

I think Kev had some sort of go at it. I recently spent a whole day researching GCJ for ARM and essentially discovered that… it doesn’t really exist as such.

Cas :slight_smile:

Does that XMLVM thing that converts Java to Objective C work very good?

How much of post converting performance tweaking do you need to do? if any?

I know in the google tech talk that during the discussion of it, it does add some bloat, but some of it gets optimized away. I haven’t looked at it to see how much messy the Objective C code is but it was what I was hoping to try out one of these days.

https://groups.google.com/group/avian/browse_thread/thread/9e24318b68effb70/d7f4abb63eb753a7?#d7f4abb63eb753a7
I hope this will work out.

My question for cas is: considering the years you’ve been lamenting this, why haven’t you moved to c++ yet? There are a lot of developers making games and money on ios and android with the same code base using g++, sdl, and opengl es. It’s possible to use a very java like subset of c++, then you just have be careful with memory allocation. This is not meant to be snarky, I really am curious.

We must continue to fight the good fight! The Java Fight!

I personally stick with Java because its still a highly sought after language (outside of gaming) and although I’m not looking for a job, having Java experience is all I really want. I also really really like the syntax and other things over the other languages. Though I’ve considered several times poking at C# some more. I always enjoyed the whole linux/mac/applet thing and I personally have a huge thing against Flash.

Also an easy thing to point out… Minecraft.(obviously has been more successful than any java game developer could hope for) Although I know it’s an extreme rarity. Having a good idea and design is what truly matters.(that is obviously second to actually implementing/marketing) What language you write it i is rather irrelevant(from my view). All languages have their own set of obstacles to overcome.

While I am not cas I would like to say that many c++ games use lua. So, for me I just chose Java instead of Lua. Not that Lua is bad. C/C++ is behind almost all Java implementations anyways. So, I just treat it is as a scripting vm language. So you can choose C/C++ without developing much in it. So you really can’t escape ASM -> C/C++ -> Java/Lua anyways. Unless you just love wasting time with ASM and C/C++ all the time. Java and Lua are just to good.

Wasting time is the whole problem. Wouldn’t it just be nice to just code in Java and genuinely be able to run stuff without having to jump through crazy hoops, worry about crappy performance, and deal with strange bugs?

Cas :slight_smile: