←back to thread

480 points jedeusus | 2 comments | | HN request time: 0.001s | source
1. kunley ◴[] No.43544332[source]
"Although the struct Data contains a [1024]int array, which is 4 KB (assuming int is 4 bytes on the architecture used)"

Huh,what?

I mean, who uses 32b architecture by default?

replies(1): >>43548953 #
2. bombela ◴[] No.43548953[source]
Most C/C++ compilers have 32b int on 64b arch. Maybe the confusion comes from that.

Also it would be 4KiB not 4KB.