3 ms·
I think we could use a reasonable middleground between the awesome standard libraries of Python and Java and the ocean of tiny packages of Rust and Javascript.
by jtolmar 9y ago
I think we could use a reasonable middleground between the awesome standard libraries of Python and Java and the ocean of tiny packages of Rust and Javascript.
It'd be nice if a package-managed language could import the huge awesome standard library, automatically drop whatever goes unused, and that mechanism worked well enough that everyone but the most restricted embedded programmers were fine with it.
- rtpg 9y agoTotally. I think that if you can build your dependency graph properly you don't need to package the standard library. The standard library exists partly because packaging was hard, so it's easier to ship a bunch of stuff. But nowadays it could simply be "core libs" that get pulled in on use.
- pjmlp 9y agoPackaging is only part of the whole equation. Quality, available documentation, guaratee of supporting every OS targeted by the language toolchain, and future updates in sync with the language version also matter.
- jasonkostempski 9y agoGoogle Closure does a pretty good job at stripping unused code. ClojureScript is powered by Google Closure. Leiningen gets you package management.