News for hackers. Stuff that matters.
Re:React-material-ui with a pure Java stack by LoSboccacc on Tuesday August 29, 2017 @12:45PM (#15125583)
ah! the memories of when I ran ember on rhino within a servlet container. fun thing was that some javascript reserved words are allowed in node and widely used. had to write a nodejs to vanillajs converter.
Re:React-material-ui with a pure Java stack by pjmlp on Tuesday August 29, 2017 @12:48PM (#15125614)
Oracle plans to replace Nashorn with V8 due to lack of manpower.

Check this year's Java Languages Summit.

Re:React-material-ui with a pure Java stack by issaria on Tuesday August 29, 2017 @01:58PM (#15126230)
What? Where did they say that in that talk? They simply showed a way to execute native code with V8, so it's easier to run node on nashorn. Stop spreading misinformation.
Re:React-material-ui with a pure Java stack by pjmlp on Tuesday August 29, 2017 @02:46PM (#15126633)
Anyone can check by themselves, starting at 7:25.

"Nashorn has been in development since 2010"

"Alas, only 2-3 engineers available to work on Nashorn at any given time"

"It takes a village to implement a programming language"

"ECMAScript 6 requires a significant number of changes"

"Other JavaScripts get better and better; V8, Nitro, SpiderMonkey"

https://www.youtube.com/watch?v=-JLhwsbMvjQ

Then follow from there up to the end.

Re:React-material-ui with a pure Java stack by jerven on Tuesday August 29, 2017 @04:42PM (#15127448)
Or GRAAL.js which is a lot further in implementing al the new ES6+ features than Nashorn will ever be [1]

It's really quite nice and I think there will be exiting news in this front from Oracle lab soonish...

[1] http://www.oracle.com/technetwork/oracle-labs/program-langua...

Re:React-material-ui with a pure Java stack by pjmlp on Wednesday August 30, 2017 @04:43AM (#15130617)
I love Graal, have been following its development since it used to be called Maxime VM.
Re:React-material-ui with a pure Java stack by issaria on Wednesday August 30, 2017 @07:01AM (#15131120)
There is no where they mentioned "replace nashorn", the main feature of nashorn is to interoperate with Java, V8 cannot do that. If you follow the development of Nashorn, they are working on ES6 features right now.

Also replace nashorn with V8 simply is a false statement, V8 is of it's own project established before Nashorn, and it doesn't even belong to Oracle, how can one replace a new project with an old one?

Re:React-material-ui with a pure Java stack by BoorishBears on Tuesday August 29, 2017 @01:19PM (#15125891)
You can use J2V8 to use V8 for now too:

https://github.com/eclipsesource/J2V8

I prefer it's very cut and dry boundaries between Java and JS to Nashorn which tries to help by bridging Java into JS (but complicates both in the process)

Re:React-material-ui with a pure Java stack by zengid on Tuesday August 29, 2017 @01:16PM (#15125862)