News for hackers. Stuff that matters.
Re:A Special Kind of Hell: intmax_t in C and C++ by colejohnson66 on Sunday December 06, 2020 @09:00PM (#25328657)
Same with C#. int is an alias for System.Int32 and long is an alias for System.Int64. (Or is it the other way around?)

Just don’t do what Java does and make Integer a class and int a value type. Then you end up with references and the “integer cache” garbage. https://viveksb007.github.io/2020/06/integer-cache-in-java

There are no comments on this comment yet.