6 ms·
C# vs. Java int: Primitive type semantics, runtime behavior and tribal knowledge
- msiyer 1y agoA Reddit debate over C# vs. Java int, sparked by a Microsoft engineer’s claim that C#’s int is a primitive, revealed confusion amplified by `Type.IsPrimitive`. This led to the Lₐₓ/Lₐₜ/R (LAX/LAT/R) taxonomy: a framework to classify types by their language-level, atomic, and runtime properties, resolving disputes rooted in specs and tribal knowledge.
- pragmatic 1y agoWow very indepth. This used to be (and still is in some circles) a hot topic. .net had the benefit of coning second and fixed a lot of java's design issues. It really use a better java. Of course in the days of JavaScript desktop apps and python, people just don't need to pay attention to perf as much for better or worse.
- msiyer 1y agoThank you! Happy to see a positive comment. Took a lot of effort. I like long-form writing. However, it takes a lot of effort. So, I end up not writing often. It is a hot topic especially among polyglots who have to deal with the same word meaning different in different languages.
- mwkaufma 1y agoGenAI red flags.
- msiyer 1y agomove on.