4 ms·
The size of things in bytes
- vardump 4y agoSize of Hacker News front page, HTML only: 42830 bytes. I really appreciate HN keeping things simple. Wish more websites did same.
- deleted 4y ago[deleted]
- makapuf 4y agoI dont understand the reported size of the go runtime. Sure, an hello world can be 2 megs in Go, but not 500. Compiled binaries are standalone and famously statically linked, so there is no extra RUNtime. I'd think the reported 470MB is the compiler and stdlib install size ?
- edflsafoiewq 4y agoI also don't understand the quoted size of "LLVM/clang compiler+runtime". If I tally up the size of clang and it's dependencies with my package manager, I might get 500M, not 5G.
- vocx2tx 4y agoHe probably ran ls on /usr/local/go (it's 477MB on my machine). But that's the size of the entire Go download after unarchiving, which includes the runtime's and all the standard library's 1) source code and 2) precompiled object files, both in normal and race-mode. So no, that's not the actual size of "the Go runtime" for any meaningful definition of "the Go runtime".
- petilon 4y agoRelated: Latency Numbers Everyone Should Know https://static.googleusercontent.com/media/sre.google/en//static/pdf/rule-of-thumb-latency-numbers-letter.pdf https://static.googleusercontent.com/media/sre.google/en//st...
- bluepoint 4y agoGreat list! At the speed of light (300000 km/s) you can go around the earth (40000km) 7.5 times per second. The tcp packet speed is almost as fast as it can possibly be and this is amazing (or not, given that it is light most of the way).
- psyklic 4y agoI'm surprised the smallest listed size is 296 KiB. To me this is very large, especially only for a website's HTML. If I were making a similar list, I would use it to compare modern sizes versus what sizes could be (e.g. on older computers or embedded systems).
- dragontamer 4y agoThe smallest practical programs I'm aware of are RP2040 PIO, which are max 64 bytes each (32 instructions of 2 bytes per instruction). Various 8-bit controllers give you 256 Bytes to 128kB Flash / program space. Various 32-bit uCs, including ARM Cortex M0+, ARM Cortex M33, ARM Cortex M4, ARM Cortex M7 give you spaces from the 2kB to 1MB sizes. There are entire worlds and chip environments between the smallest 64 bytes programs and the 256kB programs around.
- rvieira 4y agoIt would be relevant to note that the Java 19 number is the JDK size. The JRE size is almost half that, 180Mb IIRC.