One question and one comment:
Would it have to be a full game or could we produce a killer real-time animation like a trailer or game demo?
Sun would have to improved the technology, JVM, Java3D, JOGL, JOAL, JINPUT, etc. to produce a game that would interest Sony and/or MS. Would you agree?
It would have to be a full game. The objective here is to put the console manufaturer in the position of either getting a VM on their platform or losing the potential revenue they would get from sales of the game on their platform,
Its not a question of technology. The technology argument is won. Its a question of financials.
No, I most emphatically would not.
The J2SE Hotspot server VM gives you C++ level performance today and the same hardware access you can get from C/C++. As of JDK1.5 there arent even any real garbage collection issues.
JOGL is a full, fast OGL 2.0 binding.
JInput gvies you everything you need in the way of controller discovery and polling.
JOAL is a full, fast binding to OpenAL.
AND if you prefer you have the alternative of LWJGL.
You have all you need from a technical standpoint. This has been more then adaquately proved by the work of developers like Cas, the Oddlabs guys, Shawn Kendall at Fullsail and Agency 9.
What is missing primarily is the budget for these guys to DO a serious triple A title. Alas, we don’t have an answer for you, there.
It’s not just the budget, it’s the connections and marketing spend that really make a AAA title, not so much the game itself. I’m pretty sure a decent competitor to whatever Blizzard are coming up with next is entirely within the realms of even a determined bunch of indies but it will have such pathetic branding potential it’s going nowhere. Again, not something Sun can help with (Sun Games? Who?)
[quote] As of JDK1.5 there arent even any real garbage collection issues.
[/quote]
Heh, check Performance Tuning thread on the continuing bugbear of the kernel blocking problem in 1.5 that makes the entire system jerk
Heh, check Performance Tuning thread on the continuing bugbear of the kernel blocking problem in 1.5 that makes the entire system jerk
Cas
[/quote]
Yah I skimmed that thead.
Whats odd is i saw no signs of this in either my work porting the Agency9 Megacrops demo for GDC (and my quiack and dirty networkign port was generating a ton of short-lived garbage) or in JNWN which Im doing with the pre-release Mustang.
Is it possible this is something thats just ocurred with one of the latest 1.5 releases? or that it takes an usual usage pattern to create?
In my case the issue wasn’t there until switching to Java 5. We tested 1.5.0_01, _03, and _04 and the problem appears to be in all of those. The nature of the issue made it slow to find.
Sounds like you’re a little sensitive to this issue and personally I don’t care if you are or not, but I am not trying to be insulting or offensive about this so I apologize if you feel that way. But looking at the new games that are coming out with PS3 and XB360 and how game developers are going to take advantage of the multi-core processors by adding more multi-threading, gpgpu processing, etc. I still wonder if Java is up to speed. Maybe you’re right. I’m not saying you’re not. Like I said. This is just frank communication. I support the use of Java for gaming just like you. I just want to know that I have a fighting chance.
[quote]Edit: I take it back. There is one, and only one, way you could chnage the situation.
Write a killer AAA blockbuster hit title in Java.
One so good that Sony and Microsoft are both desperate to have it on their platform.
You do that and all the problems go away
[/quote]
This is a bit like the “who came first: the chicken or the egg” kind of situation, don’t you think?
Will some company (or group of indies) invest in writing a killer AAA title, hoping Sony, Microsoft and Nintendo are going to make java available on their platform?
Will Sony, Microsoft and Nintendo make java available on their platform, just in case someone would write a killer AAA title in java which they are dying to get on their platform?
I’m guessing the answer to both questions is “no”, leaving java in the current status quo.
The answer lies in looking at how the other guys bootstrapped it. Basically the owner of the technology pumped a ton of money into making sure they got their technology where they wanted it and that people used it. They also executed on their plans pretty quickly and even more importantly they got the hype machine running at full steam beforehand.
Without the bootstrapping from Sun you can more or less conclude it isn’t going to happen.
This is a bit like the “who came first: the chicken or the egg” kind of situation, don’t you think?
[/quote]
(The egg came first. Whatever layed the egg was not a chicken, the egg contained the genetic mutation that separated the chicken from whatever it’s parents were.)
I think Chris is saying that the Killer Game(s) must be written for PC/Mac/Linux and be so popular that the console makers want it ported to their systems, thus giving them incentive to have a Java Runtime on their console.
I think the PC game market is still there. It seems to be able to evolve faster than the console market, since PCs capbilities change more frequently than console capabilities. So the end result is that the most “cutting edge” games should show up on a PC first anyway. E.g. Doom 3.
Notice the frequency of the collections, and the rate at which the second set of numbers around the “->” grows.
This test generates no objects that should live longer than about one second. At least not in the test code itself. I think in the JRE code some long-lived objects are accumulatng… maybe some weak map or something?
(The egg came first. Whatever layed the egg was not a chicken, the egg contained the genetic mutation that separated the chicken from whatever it’s parents were.)
I think Chris is saying that the Killer Game(s) must be written for PC/Mac/Linux and be so popular that the console makers want it ported to their systems, thus giving them incentive to have a Java Runtime on their console.
[/quote]
Well it was me, not Chris, but spot on.
Two questions and pardon my ignorance at reading this output but ilamost nevre loo katt he raw GC dump like this…
(1) What happens if you DONT specify concurrent GC but just use the dafault (which is what I always run with.)
(2) Are those last numbers the pause? And th first the time it staretd at? If so, I see a hit of les then 2/100ths of a second every 20 to 40 seconds. Why is this a problem? Am I misreading something?
[quote]I think the PC game market is still there. It seems to be able to evolve faster than the console market, since PCs capbilities change more frequently than console capabilities. So the end result is that the most “cutting edge” games should show up on a PC first anyway.
[/quote]
Good point, and sure the PC market is still there. But maybe one good reason those ‘Cutting Edge’ games were written in a language like C/C++ is because then they have a chance to be portable to consoles later? When I look at the shelves, I think AAA titles are a minority on PC’s compared to consoles even though PC’s are generally more capable.
Being both cutting edge and daring (e.g. dev. in java) is maybe a bit much to ask? As far as I can see, ‘daring’ is still a word investors don’t like very much.
[quote] E.g. Doom 3.
[/quote]
I see your point, but Doom3 is a bad example. It was going to sell in huge numbers anyway even though it would be PC only at first, having the ID/John Carmack names on their side. So there was virtually no risk involved.
Using java will always be an added risk of losing market potential as long as there’s no java on consoles.
Good point, and sure the PC market is still there. But maybe one good reason those ‘Cutting Edge’ games were written in a language like C/C++ is because then they have a chance to be portable to consoles later?
[/quote]
I really don’t think so. Generally porting something cutting edge to a console requries pretty ,ajor rewriting since up til now the graphics hadrware has been so unique on the consoles.
Rather, I think they are coded in C/C++ because almost everything is still. And for the same reasons-- its a known quanitity. It takes a brave person to try new tools on a game project, especially one that is also trying to cut new technical ground in other areas.
Hmm. i dont see that at all. I see something else-- the accessability of the PC ADDS a flood of lower grade titles to the shelves. Take those away so they dont distract yo uand I thik the total number of AAA titles on any one paltform, PC or Console, is about the same.
Take awy from Consoles the numebr of AAA title that are ports of older PC AAA titles and I thin kthe PC proibably pulls out ahead by a tiny bit (but not a lot today. This was more true in the past.)
HOWEVER to get to the nub of SWP’s point, look at where the new ground is being cut, and youll generally see it on the PC first.
And here I agree. It IS a lot to ask. But thats what being on the cutting edge is about. The risk adverse dont do it.
I see your point, but Doom3 is a bad example. It was going to sell in huge numbers anyway even though it would be PC only at first, having the ID/John Carmack names on their side. So there was virtually no risk involved.
Using java will always be an added risk of losing market potential as long as there’s no java on consoles.
[/quote]
No, your missing the other side of the equation.
If its a big enough hit on the PC it will force there to be Java on consoles.
To use your own example, if DOOM3 was in Java, do you think we’d have Java on
all the consoles today? I sure as hell do.
The question is, are you willing to bet on being that big a hit?
[quote]I really don’t think so. Generally porting something cutting edge to a console requries pretty ,ajor rewriting since up til now the graphics hadrware has been so unique on the consoles.
[/quote]
Sure, but at least it can be done.
[quote]Rather, I think they are coded in C/C++ because almost everything is still. And for the same reasons-- its a known quanitity. It takes a brave person to try new tools on a game project, especially one that is also trying to cut new technical ground in other areas.
[/quote]
Yes I agree it’s probably the most important reason. But don’t you think portability is still a consideration to stick with C++ and not go for java?
No, I’m not missing the point, I’m just adding to the discussion. Maybe just to get my own views clear
I agree 100% with you here, but I think it was a bad example because there was no point for Doom3 to be written in java. There was no risk in Doom3 because they are no new players and they had a huge codebase at their disposal, Doom3 being just an incremental step in the ID FPS range (not denying it is rather cutting edge).
I’d rather take Farcry as an example. Or Half-Life 2 (Because afaik, they created a completely new engine anyway, so java could have made sense there).