News for hackers. Stuff that matters.
Re:Improve React.js Server-Side Rendering by 150% with GraalVM by alex_duf on Sunday February 09, 2020 @01:27PM (#22283496)
This is a really good read, I'm surprised by how little the code needed to be adapted. Is it because they aren't using AoT compilation and therefore the classes can still be dynamically loaded?

Does that mean the JavaScript essentially gets compiled to a Jar?

How does graalvm bundles non jvm dependencies when your using the JIT compiler?

Re:Improve React.js Server-Side Rendering by 150% with GraalVM by marcusarmstrong on Sunday February 09, 2020 @02:29PM (#22283836)
150% vs Nashorn is an important caveat here. At {employer} we started our SSRing via Nashorn and later moved to a separately deployed Node service for performance reasons... and saw a 4x drop in time per request for rendering tasks.
Re:Improve React.js Server-Side Rendering by 150% with GraalVM by SubjectToChange on Sunday February 09, 2020 @06:05PM (#22284956)
Nashorn is deprecated though, and GraalVM is its intended replacement. So why even evaluate Nashorn for new projects?