3 ms·
At least in Haskell you have unboxed primitive types, memory mapped IO, bump-pointer allocation, and compilation to direct loops that are often identical to wha
by dons 15y ago
At least in Haskell you have unboxed primitive types, memory mapped IO, bump-pointer allocation, and compilation to direct loops that are often identical to what GCC produces (or very close).
- nvarsj 15y agoAll of those things also exist in hotspot/Java. Primitive types have been available since the creation of Java. It's up to the programmer to use boxed types or not. Memory mapped IO - see Java.nio. Bump-pointer allocation/compilation to direct loops all exist in hotspot.
- andy_boot 15y ago>>Primitive types have been available since the creation of Java. It's up to the programmer to use boxed types or not. You can't use a primitive in a collection: eg HashMap / ArrayList