Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: