Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (476)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (533)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2] 3 4 ... 6
  ignore  |  Print  
  JDK 8 is released  (Read 7576 times)
0 Members and 1 Guest are viewing this topic.
Offline princec

JGO Kernel


Medals: 342
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #30 - Posted 2014-03-19 12:32:56 »

... 6% still on XP. Safely ignored for commercial purposes then. Hurrah!

Cas Smiley

Offline Jacob Pickens
« Reply #31 - Posted 2014-03-19 12:52:06 »

I doubt I will download it. Tongue I'm scared of new things. Does it greatly change the syntax from Java 7?
Offline Jacob Pickens
« Reply #32 - Posted 2014-03-19 12:58:22 »

I just downloaded it... I'm so ashamed.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline princec

JGO Kernel


Medals: 342
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #33 - Posted 2014-03-19 13:12:12 »

I doubt I will download it. Tongue I'm scared of new things. Does it greatly change the syntax from Java 7?
No, the syntax for existing code remains the same. But lots of new code will start using "lambda" expressions and that looks weird and alien and will require quite a bit of brain reprogramming until it's second nature. A bit like generics did.

Cas Smiley

Offline Roquen
« Reply #34 - Posted 2014-03-19 13:28:53 »

On XP.  It mostly like means they're not officially supporting it and not that it won't run.
Offline SHC
« Reply #35 - Posted 2014-03-19 14:30:34 »

Downloading it right now.  Smiley

Offline opiop65

JGO Kernel


Medals: 153
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #36 - Posted 2014-03-19 15:06:01 »

Be thankful for your Windows xp on your school computers, some of my school computers still are on 95 Sad Excited for lambda methods though! The more power the better!

Offline gouessej
« Reply #37 - Posted 2014-03-19 16:21:49 »

Quote
C has better performance
Lol. Thank you for the joke, really.

Offline Oskuro

JGO Knight


Medals: 39
Exp: 6 years


Coding in Style


« Reply #38 - Posted 2014-03-19 17:01:14 »

Well, it does, it's faster to write "C" than to write "Java"

Offline Andre Lopes
« Reply #39 - Posted 2014-03-19 17:52:17 »

*Still waiting for this : "Assembly is faster , java noobs, i code gamez inz assemblyz " *

Im happy with java 8.
New Features, improvements..

Now, Android has to start accepting java 7 -> 8 ... Im tired of using java 6 lol.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline princec

JGO Kernel


Medals: 342
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #40 - Posted 2014-03-19 18:18:29 »

Well, there is an ARM JDK 8 which should run on Android....

Cas Smiley

Offline Andre Lopes
« Reply #41 - Posted 2014-03-19 19:16:37 »

Well, there is an ARM JDK 8 which should run on Android....

Cas Smiley

Im kinda a newbie.
So its possible to make jdk8 work with android + libgdx?
Offline opiop65

JGO Kernel


Medals: 153
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #42 - Posted 2014-03-19 19:18:49 »

I don't believe so, unless Android and LibGDX specifically support the functions included in the new JDK update. You can't exactly force an API to use features that aren't implemented in that API.

Offline Andre Lopes
« Reply #43 - Posted 2014-03-19 20:04:02 »

Hm, Shouldnt google actually worry with that? I mean.. They dont seem preocupied.
Offline opiop65

JGO Kernel


Medals: 153
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #44 - Posted 2014-03-19 20:07:13 »

How do you know? Honestly, I'm not trying to be mean here! Google is huge company, they could be doing anything at any time and most of us wouldn't know until they told us. Not to mention an update is (usually) just a bunch of fixes and some new features. Does Google need to implement Lambdas in their code everywhere? Probably not. You can still use them, though, because its part of the JDK. Android is just built on top of Java, which still gives you access to all the Java functions. Google just needs to incorporate some of the new stuff in the update into it's low level code, which you will probably not be concerned with anyway.

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #45 - Posted 2014-03-19 20:19:16 »

But lots of new code will start using "lambda" expressions and that looks weird and alien and will require quite a bit of brain reprogramming until it's second nature. A bit like generics did.

This is the bit that slightly concerns me.
Generics turned out to be really useful, but lambda expressions seem to me more like making the syntax more compact but more difficult to read by taking away a bit of context.
I'm sure I'll be able to get used to them, but do lambda expressions actually offer more beyond that?

Offline wessles

JGO Wizard


Medals: 64
Projects: 4
Exp: 3 years


Radirius Software Developer


« Reply #46 - Posted 2014-03-19 20:25:41 »

Say, I remember when a good portion of people insisted on J6 when J7 came out. Will people be waiting on this update for a bit? If so, how long?

Offline gouessej
« Reply #47 - Posted 2014-03-19 20:36:19 »

But lots of new code will start using "lambda" expressions and that looks weird and alien and will require quite a bit of brain reprogramming until it's second nature. A bit like generics did.

This is the bit that slightly concerns me.
Generics turned out to be really useful, but lambda expressions seem to me more like making the syntax more compact but more difficult to read by taking away a bit of context.
I'm sure I'll be able to get used to them, but do lambda expressions actually offer more beyond that?
There is still an unfixed bug about lambdas when mixing them with anonymous classes, use them with care.

Offline mike_bike_kite

Senior Member


Medals: 1
Projects: 2



« Reply #48 - Posted 2014-03-19 21:03:20 »

I used to release little games as applets and I thought Java was great. I then turned to webstart where people could run your stuff from their desktop. I thought Java was great. Then they released 7.21 which made applets and webstart programs show up with huge security warning popups. These programs stayed entirely within the sandbox but Java doesn't seem to trust itself. I could pay for a certificate (and that's assuming they'll give me one) but I just look upon it as extortion.

It's nice to see that they're doing another release but personally I'd put "having programs run without loads of warning popups" higher on the priority list than whatever "lamda expressions" are.

Arcade swarm
Board Chess - Checkers - Othello
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #49 - Posted 2014-03-19 21:05:55 »

There is still an unfixed bug about lambdas when mixing them with anonymous classes, use them with care.

I'm not sure I follow. What is the bug that needs fixing?

Offline princec

JGO Kernel


Medals: 342
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #50 - Posted 2014-03-19 21:09:17 »

It's nice to see that they're doing another release but personally I'd put "having programs run without loads of warning popups" higher on the priority list than whatever "lamda expressions" are.
That can never happen. The whole concept of trusting arbitrary code to run without asking permission (as it does when you just happen across it on a web page for example) is about the worst idea ever conceived. I'm awaiting with interest when the same sorts of things inevitably turn up in JavaScript.

Cas Smiley

Offline mike_bike_kite

Senior Member


Medals: 1
Projects: 2



« Reply #51 - Posted 2014-03-19 21:28:06 »

That can never happen. The whole concept of trusting arbitrary code to run without asking permission (as it does when you just happen across it on a web page for example) is about the worst idea ever conceived.
But if it's running within the sandbox then does it matter?

If I download an exe of the web and run it (after virus scanning etc) then I get fewer warnings then when I try to run a sandboxed Java app ... go figure.

EDIT: I'm fine with it asking permission but surely if you click the webstart icon then doesn't that kind of imply you want to run the program. What I object to is all the warnings that show up.

Arcade swarm
Board Chess - Checkers - Othello
Offline princec

JGO Kernel


Medals: 342
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #52 - Posted 2014-03-19 21:49:48 »

Webstart links run automatically from a browser, so, no you don't want that.

The problem is that no sandbox is 100% secure. Even if it's claimed that they are... they always, empirically, turn out not to be.

Cas Smiley

Offline gouessej
« Reply #53 - Posted 2014-03-19 22:09:44 »

There is still an unfixed bug about lambdas when mixing them with anonymous classes, use them with care.

I'm not sure I follow. What is the bug that needs fixing?
This one:
https://bugs.openjdk.java.net/browse/JDK-8030816

I assumed that you had read the detailed release notes.

Then they released 7.21 which made applets and webstart programs show up with huge security warning popups. These programs stayed entirely within the sandbox but Java doesn't seem to trust itself. I could pay for a certificate (and that's assuming they'll give me one) but I just look upon it as extortion.

It's nice to see that they're doing another release but personally I'd put "having programs run without loads of warning popups" higher on the priority list than whatever "lamda expressions" are.
If you need some help to get rid of those warnings, let me know. I agree with you but I'll probably have to buy a "trusted" certificate Sad

Offline ctomni231

JGO Wizard


Medals: 98
Projects: 1
Exp: 7 years


Not a glitch. Just have a lil' pixelexia...


« Reply #54 - Posted 2014-03-19 22:38:03 »

It's nice to see that they're doing another release but personally I'd put "having programs run without loads of warning popups" higher on the priority list than whatever "lamda expressions" are.
That can never happen. The whole concept of trusting arbitrary code to run without asking permission (as it does when you just happen across it on a web page for example) is about the worst idea ever conceived. I'm awaiting with interest when the same sorts of things inevitably turn up in JavaScript.

Cas Smiley

I'm unsure if it'll ever pose a problem in JavaScript.

The biggest difference between Java and JavaScript is the Client File Access doesn't exist with the base API. You have to download a separate application just to get any sort of access to the client. In every other language, this functionality is built into the language so with a bit of permission flips, you can just access whatever you want to access and that is it. JavaScript's sandbox is literally that, you have no access to altering the files of the client PC, period.

To bring this a little bit more on topic...

If lambda's are the "BIG FEATURE" that everyone is talking about in Java 8, undeniably, this language is in grave trouble. I mean, we already have Scala, why should this be the most prominent feature? What I hope to see, is Java working hard to keep itself relevant. As it stands, even Unity is getting WebGL cross platform support with iOS and Android by working with Mozilla. If Java can't break its way into getting deals like its competitors can, it'll remain a niche language... and we all know what happens to those. Sad

Online BurntPizza
« Reply #55 - Posted 2014-03-19 22:43:37 »

If Java can't break its way into getting deals like its competitors can, it'll remain a niche language... and we all know what happens to those. Sad

Except Java seems to be unbeatable in the enterprise arena, which is not going away anytime soon. (That might count as a niche, IDK)
Offline gouessej
« Reply #56 - Posted 2014-03-19 23:00:37 »

As it stands, even Unity is getting WebGL cross platform support with iOS and Android by working with Mozilla. I
WebGL renders always in offscreen mode which is always at least a bit slower than onscreen rendering and it is nowhere near JogAmp / Android GL / LWJGL in terms of reliability as I explained in my article here.

Offline actual

JGO Coder


Medals: 23



« Reply #57 - Posted 2014-03-19 23:21:41 »

I had downloaded the jdk pre-release builds and have been developing my game with those. Defender methods are pretty cool. It makes it easy to add certain types of functionality with very little boiler plate.

Offline Roquen
« Reply #58 - Posted 2014-03-20 07:21:33 »

There is still an unfixed bug about lambdas when mixing them with anonymous classes, use them with care.

I'm not sure I follow. What is the bug that needs fixing?
This one:
https://bugs.openjdk.java.net/browse/JDK-8030816

I assumed that you had read the detailed release notes.
That's a javac bug.  Not many people here use javac to compile.

Offline gouessej
« Reply #59 - Posted 2014-03-20 09:55:04 »

Roquen, what do you mean? When you use an IDE, it uses the compiler of the JDK except maybe in Eclipse, I'm not sure its incremental compiler uses javac.

Edit.: Eclipse uses its own compiler (ECJ) based on Jikes. I use javac in Eclipse when I run my Ant script, therefore I'm concerned by this bug.

Pages: 1 [2] 3 4 ... 6
  ignore  |  Print  
 
 

 

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

The first screenshot will be displayed as a thumbnail.

pw (18 views)
2014-07-24 01:59:36

Riven (17 views)
2014-07-23 21:16:32

Riven (14 views)
2014-07-23 21:07:15

Riven (17 views)
2014-07-23 20:56:16

ctomni231 (45 views)
2014-07-18 06:55:21

Zero Volt (40 views)
2014-07-17 23:47:54

danieldean (32 views)
2014-07-17 23:41:23

MustardPeter (36 views)
2014-07-16 23:30:00

Cero (51 views)
2014-07-16 00:42:17

Riven (50 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!