|
Thats Great
|
 |
«
Reply #1 - Posted
2014-03-18 20:02:50 » |
|
Nice. Will test it in the next few days.
|
|
|
|
trollwarrior1
|
 |
«
Reply #2 - Posted
2014-03-18 20:03:53 » |
|
Nice. Will test it in the next few days.
your name
|
|
|
|
Games published by our own members! Check 'em out!
|
|
gene9
|
 |
«
Reply #3 - Posted
2014-03-18 20:34:23 » |
|
Thoughts?
- Java 8 is awesome! Lambdas, streams, new date/time, VM improvements, and tons of library improvements. Very major release. - Scala is still a better, more elegant language. Scala work still directly benefits from many of the Java 8 changes, like VM improvements, date/time library, optimized unsigned integer math, etc. - This has zero to do with Android. Android is still mostly based on a variant of Java 6 and can't handle Java 7 bytecode or standard library calls. - Game development with Java is an empty desert. Except for Android. I can think of one recent full budget Java desktop game, Wakfu, and that's basically an oddball. The Java technology is really ideal for PC games, in that it's high performance, elegant, and very runtime friendly for PC/Mac/Linux.
|
|
|
|
BurntPizza
|
 |
«
Reply #4 - Posted
2014-03-18 20:42:30 » |
|
Game development with Java is an empty desert. Except for Android.
The Java technology is really ideal for PC games, in that it's high performance, elegant, and very runtime friendly for PC/Mac/Linux.
Umm, what? I can't tell if you're serious or not, and with which statements.
|
|
|
|
Opiop
|
 |
«
Reply #5 - Posted
2014-03-18 20:43:03 » |
|
I was about to point that out also...
|
|
|
|
kappa
|
 |
«
Reply #6 - Posted
2014-03-18 20:44:19 » |
|
Love new major Java releases, apps always get a nice performance boost without any code changes.
The compact profiles look nice, especially the ones without AWT, should allow pretty small jre's.
|
|
|
|
gene9
|
 |
«
Reply #7 - Posted
2014-03-18 21:13:05 » |
|
Umm, what? I can't tell if you're serious or not, and with which statements.
I am completely serious. Look at the top indie PC games of 2013/2014. None of them use Java. The game dev world is mostly C/C++, some Flash, some JavaScript, and now some C# (ugh). Even Sony has pushed C# + Visual Studio quite heavily with Vita and PS4. Yuck! C# the language is nearly identical ot Java, but the .NET platform completely loses the open, independent nature of the JVM. Also Java has more vibrant alt-languages like Scala which are way better than Java/C#.
|
|
|
|
Drenius
|
 |
«
Reply #8 - Posted
2014-03-18 21:16:28 » |
|
You are aware that you are in a Java forum? Just to mention...
|
|
|
|
BurntPizza
|
 |
«
Reply #9 - Posted
2014-03-18 21:16:49 » |
|
I am completely serious.
I was confused because you said it's awesome, it has no potential, then went back to ideal. Are you saying it's a shame it's not used as much, because of it's virtues?
|
|
|
|
Games published by our own members! Check 'em out!
|
|
Opiop
|
 |
«
Reply #10 - Posted
2014-03-18 21:18:08 » |
|
Exactly. You completely contradicted yourself there.
|
|
|
|
kpars
|
 |
«
Reply #11 - Posted
2014-03-18 21:33:07 » |
|
Shit.
|
|
|
|
saucymeatman
|
 |
«
Reply #12 - Posted
2014-03-18 21:55:15 » |
|
I think this is a typo : The java man page has been reworked. (Taken from http://www.oracle.com/technetwork/java/javase/8-whats-new-2157071.html) Unless there is Man page, in which no gurlz are allowed. - Java 8 is awesome! ... - Game development with Java is an empty desert. Except for Android. I can think of one recent full budget Java desktop game, Wakfu, and that's basically an oddball.
The Java technology is really ideal for PC games, in that it's high performance, elegant, and very runtime friendly for PC/Mac/Linux.
So java is great, but awfull compared to scala? Honestly confused on your stance. Also, its just not true that great desktop games are not developed in Java.
|
|
|
|
princec
|
 |
«
Reply #13 - Posted
2014-03-18 21:58:12 » |
|
Minecraft. There we go. It's not popular as a game development language because of historic fumbling from Sun, a complete hiatus for 5 years during the awkward Oracle takeover during which C# flourished under Mono, and then the subsequent traction gained by Unity. Java does not have Unity and Java is not available on nearly as many platforms due to irritating restrictions. And Java still doesn't f**king have structs/mapped objects/value types which is a huge pain for games developers. So... it's mostly great, and mostly niche, in our area. Cas 
|
|
|
|
kpars
|
 |
«
Reply #14 - Posted
2014-03-18 22:07:56 » |
|
Source. The Lord has said it, so now we can all shut up and get on the topic.  - Jev
|
|
|
|
gene9
|
 |
«
Reply #15 - Posted
2014-03-19 00:52:35 » |
|
So java is great, but awfull compared to scala? Honestly confused on your stance.
Also, its just not true that great desktop games are not developed in Java.
Java, the language, is good, and a big step up from C++, but Scala is better. Java, the platform (JVM), is great, a big step up from C++, and really well suited for making PC games. Regardless of well it is suited, it largely didn't take off. There is Minecraft, Wakfu, the Puppy games, and Android stuff. Many other tool ecosystems have developed much further: C, JavaScript, Flash, C#. Not because they are better technology, C# is in many ways worse, but their ecosystems have developed farther than Java.
|
|
|
|
gene9
|
 |
«
Reply #16 - Posted
2014-03-19 00:57:36 » |
|
And Java still doesn't f**king have structs/mapped objects/value types which is a huge pain for games developers.
Why is this so important? This is just a performance concern, right? Any benchmarks that showcase this issue? Have you used value types in Scala? Those are more limited than full C# style structs.
|
|
|
|
BurntPizza
|
 |
«
Reply #17 - Posted
2014-03-19 01:27:43 » |
|
And Java still doesn't f**king have structs/mapped objects/value types which is a huge pain for games developers.
Why is this so important? This is just a performance concern, right? Any benchmarks that showcase this issue? Have you used value types in Scala? Those are more limited than full C# style structs. If you went through Cas's post history even just a little, I'm sure it would become apparent that structs are/would be a game-changer (literally) when pushing the limits of what graphics can do in Java, although I'm sure someone can give links. See Riven's MappedObject lib for one. I also tend not to question the dude who has spent over a decade figuring something out.
|
|
|
|
Grunnt
|
 |
«
Reply #18 - Posted
2014-03-19 07:54:41 » |
|
With regards to performance, here's some nice quotes from the top-rated Hacker News comments on the JDK8 release: The modern JVM is surprisingly quick and robust technology Aside from terrific performance, the JVM gives you the best concurrency platform out there (though not the easiest to use), cool and extremely useful capabilities like dynamic linking and bytecode instrumentation, and unparalleled monitoring and profiling tools. It's the most professional platform you can choose (unless you're limited to Windows, in which case .Net is also an option). It's so far ahead than anything else out there, that the competition can only beat it in very specific use cases (e.g. Go is much better at startup time as well as standalone packaging, and C has better performance, though mostly in single-threaded programs). But nothing else gives you the whole package of performance, flexibility, maturity and monitoring. So I've been pretty surprised to see that Java code can get fast, really fast. I've also managed to bang out some pretty slow code if I wasn't paying attention.
|
|
|
|
Roquen
|
 |
«
Reply #19 - Posted
2014-03-19 07:55:58 » |
|
Structures are huge. They go well beyond the performance only side as well. Once the VM allows some limited form of pointer arithmetic there are a large number of language features which could be exposed to make languages more useful (aka faster to write, easier to maintain...all that good stuff.)
|
|
|
|
princec
|
 |
«
Reply #20 - Posted
2014-03-19 09:45:32 » |
|
There are rumours of its appearance in some form in Java 9. In the meantime I think it'll take me another 2 years just to get used to all the fancy new stuff in Java 8. Wonder if my game runs any faster under Java 8... Cas 
|
|
|
|
Roquen
|
 |
«
Reply #21 - Posted
2014-03-19 09:47:27 » |
|
Unsigned comparisons...I need to verify they're intensified...uber nice feature that'll not get much attention.
|
|
|
|
princec
|
 |
«
Reply #22 - Posted
2014-03-19 09:51:12 » |
|
I've got so used to working with signed types now I'll probably take years to figuring out some use for them  Cas 
|
|
|
|
Roquen
|
 |
«
Reply #23 - Posted
2014-03-19 09:55:31 » |
|
Wonder if my game runs any faster under Java 8...
The short answer is probably not. The backend compiler code is mostly shared between versions. There's probably a few options that were turned off by default in the last 7 update that will be on in the first 8. Doing a 'diff' between the dumps will give you an idea if it's worthwhile or not to check. ( http://www.java-gaming.org/topics/wiki/32055/msg/298657/rev/4/view.html)
|
|
|
|
princec
|
 |
«
Reply #24 - Posted
2014-03-19 10:28:55 » |
|
I already turn most options I can on in Java 7, and indeed, there's no noticeable performance difference this time around. I was hoping scalar replacement had made it into escape analysis but I don't think that's the case judging by the vast number of $Itrs I've got floating around the heap. Cas 
|
|
|
|
kappa
|
 |
«
Reply #25 - Posted
2014-03-19 10:39:18 » |
|
hmm, seems like Windows XP is not supported by Java 8 anymore (although some reports suggest it might still work there while other state various problems), about 30% of windows PC's still seem to be on XP which is still too high to ignore IMO.
|
|
|
|
Roquen
|
 |
«
Reply #26 - Posted
2014-03-19 10:47:23 » |
|
I haven't looked but I think that scalar replacement is very limited in C2.
|
|
|
|
kpars
|
 |
«
Reply #27 - Posted
2014-03-19 11:09:23 » |
|
hmm, seems like Windows XP is not supported by Java 8 anymore (although some reports suggest it might still work there while other state various problems), about 30% of windows PC's still seem to be on XP which is still too high to ignore IMO.
This should give people another reason to upgrade.  Nobody should be using Windows XP anymore. - Jev
|
|
|
|
Screem
|
 |
«
Reply #28 - Posted
2014-03-19 11:22:45 » |
|
I bet those 30% are mostly stingy public schools who don't want to spend money upgrading any of their computers.  Windows XP is ancient, like Jev said, this gives them a reason to upgrade. Java 8 looks awesome. I can't wait to learn and use all the new features. 
|
|
|
|
princec
|
 |
«
Reply #29 - Posted
2014-03-19 11:31:58 » |
|
* princec checks Steam stats... Cas 
|
|
|
|
|