3 ms·
Depends what you mean by "most languages." I think it's clearer to say which languages have zero-overhead custom types. Go has it. Java didn't used to have it
by skybrian 2y ago
Depends what you mean by "most languages." I think it's clearer to say which languages have zero-overhead custom types.
Go has it. Java didn't used to have it so you would use wrapper classes, but I haven't kept up with Java language updates.
- beeboobaa3 2y agoJava does not have it yet. Project Valhalla might bring it with Value types.