67 karma · joined March 3, 2022
What kind of person does this appeal to?
// TODO: Translate the above Rust into CHIP-8
### TODO
and now it got stuck on emitting some assembly. I don't exactly know what because CHIP-8 doesn't have an assembly representation.
It printed this 16 times
@0000
LD V0, [I]
LD V1, [I + 1]
LD V2, [I + 2]
ADD I, 3
LD V3, [I]
LD V4, [I + 1]
LD V5, [I + 2]
ADD I, 3
LD V6, [I]
LD V7, [I + 1]
LD V8, [I + 2]
ADD I, 3
LD V9, [I]
LD VA, [I + 1]
LD VB, [I + 2]
ADD I, 3
LD VC, [I]
LD VD, [I + 1]
LD VE, [I + 2]
ADD I, 3
LD VF, [I]
LD I, V0
LD V0, [I]Also we don't live in a world where you type IP addresses into your browser. DNS is an unfortunate case but generally you don't have to do it constantly at least.
What confuses me though is how much space these libraries take.
321kb for a router? 3.4mb for material ui? 1mb for jquery?
MinIO uses AGPL which explicitly includes network usage so Nutanix is forced to provide all patches and associated code.
Blocking javascript causes every page on slack.com to continuously refresh. Why?
They removed the code of the public repo by now but you can still find references in the issue threads
There are a few factors that contribute more or less to this. In no particular order:
- many dependencies badly handle additional, potentially unwanted features (many aren't optional at all and take runtime checked branches)
- lto is disabled by default on release builds
- release builds still bundle a lot of debug info (should only affects binary, not memory size)
- backtracing on panic pulls in a big backtracing library, formating code and string literals
Enabling lto shaved off 10mb of my build just now