2025-07-31
大端序,小端序
Examples with the number 0x12345678 (i.e., 305 419 896 in decimal):
little-endian: 0x78 0x56 0x34 0x12
big-endian: 0x12 0x34 0x56 0x78
mixed-endian (historic and very rare): 0x34 0x12 0x78 0x56
https://developer.mozilla.org/en-US/docs/Glossary/Endianness
2025-07-30
zig 这门语言似乎是和 rust 产生竞争,抢占 c 语言的市场
The primary goal of Zig is to be a better solution to the sorts of tasks that are currently solved with C. A primary concern in that respect is readability; Zig attempts to use existing concepts and syntax wherever possible, avoiding the addition of different syntax for similar concepts. Further, it is designed for “robustness, optimality and maintainability”, including a variety of features to improve safety, optimization, and testing.
继续阅读“追回来了”