The more I look at this, the more that I find is wrong. For example, that sizes round up to 8. This is true of both Java and C++! Look at jemalloc’s bin sizes:pic.twitter.com/WYhr8kGy0E
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
The more I look at this, the more that I find is wrong. For example, that sizes round up to 8. This is true of both Java and C++! Look at jemalloc’s bin sizes:pic.twitter.com/WYhr8kGy0E
Tightly packed structures are problematic in Java not because of the lack of pointer arithmetic but rather the lack of value types. Besides, it’s misleadingly worded. For example, the nursery is a bump allocator, so it’s tightly packed. There are also arrays and byte buffers…
XOR linked lists are awesome, but only in appropriate places. Pretending their absence rather than much higher level idiomatic problems is the cause of Java's bloat is a joke.
I can’t think of a single piece of software that uses xor linked lists…
I would think that the real issue is pervasive boxing leading to more objects in Java...
Though I think the bigger issue is probably just that Java is JIT’d and so all the code has to go into memory.
You can do pointer arithmetic in a GC’d environment, as long as you have fat pointers (like slices in Go).
did an xor linked list write this
TIL XOR linked lists
but you never know when you might want to completely break debuggability in order to shave a miniscule amount of memory
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.