Re:Golang’s most important feature is invisible
by karmakaze on Saturday January 22, 2022 @09:22PM
(#30043026)
The article is not very well informed. It doesn't even make a distinction between os threads and green threads.
> To get this performance out of Java you would need to add threadpools, futures or some other async library.
What Java needs to be as efficient is the work of Project Loom: Fibers and Continuations. Go also has value types (e.g. arrays and nested structs with inline memory layout) that's the work of Java's Project Valhalla.
> To get this performance out of Java you would need to add threadpools, futures or some other async library.
What Java needs to be as efficient is the work of Project Loom: Fibers and Continuations. Go also has value types (e.g. arrays and nested structs with inline memory layout) that's the work of Java's Project Valhalla.