scalascala-native

Is Scala Native big-endian or little-endian?


Java uses network byte order for storing numerical values in memory. But what about Scala Native? Does it follow JVM's approach or brings something new?


Solution

  • Scala generally uses an excellent LLVM based compiler, which is portable, and hence on Windows (Intel) would use little endian - in contrast to Java.