Re:Golang vs. C# (.NET 5.0) at Benchmarks Game
by agumonkey on Tuesday August 24, 2021 @03:58PM
(#28294119)
and afaik, .net has record types unlike the jvm (yet) which means java is even worse
[ Parent
| on HN ]
Re:Golang vs. C# (.NET 5.0) at Benchmarks Game
by kaba0 on Tuesday August 24, 2021 @04:14PM
(#28294364)
I think you mean structs (value types. Will be called primitive types in Java). Records are not too interesting from a performance pov (and java has them, and I think they actually predate c#’s), though java will likely be able to optimize serialization/deserialization of records better.
Re:Golang vs. C# (.NET 5.0) at Benchmarks Game
by ternaryoperator on Tuesday August 24, 2021 @04:45PM
(#28294781)
Java recently added record types.