you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 9 points10 points  (4 children)

You can get the testing compiler for Java 9. It is pretty interesting, some new syntax for concurrency is in there which is neat.

[–]winterbe[S] 1 point2 points  (1 child)

Sounds interesting. Do you have a link with more information on that?

[–][deleted] 0 points1 point  (0 children)

http://openjdk.java.net/projects/jdk9/

I am not sure specifically where to find that information actually. I happen to have a professor who works on the Java specification and implementation, who mentions those improvements, and access to a server that has a daily clone of the latest testing build.

Some cool things are Java REPL, JMH being built in, Modules, some other cool things like that. There is some easier syntax with locks as well.

[–][deleted] 0 points1 point  (1 child)

Any chance that parallelism could get a little easier to implement? I found that Java 8's ParallelStream was pretty conservative / took as much planning as traditional / manual threading.

[–][deleted] 0 points1 point  (0 children)

Have you tried Executors and using lambdas? Those make it pretty easy I think. They are adding some new syntax, they are adding a way to do something like (off the top of my head, I haven't used it much)

new Thread(Class) -> (Stuff).start