3 ms·
Mostly, yes. Notice that Go and Rust (two of the newer languages popular at least on HN) also feature static compilation by default. Turns out that shared lib
by mook 10y ago
Mostly, yes. Notice that Go and Rust (two of the newer languages popular at least on HN) also feature static compilation by default. Turns out that shared libraries are awesome, until the libraries can't provide a consistently backwards compatible ABI.
- zuzun 10y agoGo has no versioning, in Rust everything is version 0.1... then one day you update that serialization library from 0.1.4 to 0.1.5 and all hell breaks loose because you didn't notice they changed their data format internally and now your new process can't communicate with the old ones and your integration test missed that because it was running all tests with the new version on your machine. This makes you implement the policy "Only rebuild and ship the full stack" and there you are, scp'ing 1GB of binaries to your server because libleftpad just got updated.
- michaelmrose 10y agoExcept outside of Javascript nobody on earth makes libleftpad
- michaelmrose 10y agoExcept outside of Javascript nobody on earth makes libleftpad and whose binaries are 1gb?
- qznc 10y agoIn D it is part of the standard library. ;) https://dlang.org/library/std/range/pad_left.html https://dlang.org/library/std/range/pad_left.html