←back to thread

480 points jedeusus | 1 comments | | HN request time: 0.218s | source
Show context
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 #
1. 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.