News for hackers. Stuff that matters.
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
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.
Re:Golang vs. C# (.NET 5.0) at Benchmarks Game by agumonkey on Wednesday August 25, 2021 @01:43AM (#28298383)
did it land in a release ? i thought it was still at review proposal
Re:Golang vs. C# (.NET 5.0) at Benchmarks Game by scns on Wednesday August 25, 2021 @04:29PM (#28306504)
In openjdk 16 IIRC.