Varun Ramesh's Blog

#c-sharp


No More Primitives - What Python and Java Get Wrong

March 14th

Many languages distinguish between primitives on the stack and objects on the heap. Others only have objects, and thus require primitives to aways be boxed. It turns out you can get the best of both worlds.