Re:Should I Learn Java in 2018
by bloomthrowaway on Friday July 13, 2018 @08:38AM
(#17522387)
I'm really excited for WASM, it should be nearly as fast as native code. Java and native code aren't far apart though, so I would say 1.5-2x faster generally
[ Parent
| on HN ]
Ok, but I'm worried about the garbage collector, and if it can run concurrently without interrupting the program (as a native JVM would do it).
Re:Should I Learn Java in 2018
by bloomthrowaway on Friday July 13, 2018 @08:42AM
(#17522411)
It should be able to... Hopefully Go and Java will be some of the first GC languages to target WASM, and we'll find out :) . Personally I'm more worried about the size of the GC getting added to the binaries than how fast it is.
AssemblyScript already does it, if I am not mistaken.
Re:Should I Learn Java in 2018
by jackpeterfletch on Friday July 13, 2018 @08:45AM
(#17522435)
If the Javascript garbage collecter can do it then I don't see why not.