3 ms·
I can't speak for Rust or Zig, but for C I don't think this is true. If anything it's the opposite -- the C community is constantly writing replacements and enh
by andrewla 5y ago
I can't speak for Rust or Zig, but for C I don't think this is true. If anything it's the opposite -- the C community is constantly writing replacements and enhancements to the standard library. C lacks good support for modules, but has excellent support for libraries installed on the OS level.
The ability to have all the bells and whistles out of the box may be a lot of the appeal of Go, and is certainly a lot of the appeal of languages like Python. But it's not core to the ethos of C.
- eatonphil 5y agoGo's standard library is quite far beyond C and C++ in terms of features. Neither C nor C++ as far as I know have a JSON parser, CSV parser, language parser (Go for Go, but C for C, C++ for C++), web server, crypto libraries, and so on. Though C++ and Java both probably have more container/algorithm libraries builtin than Go does.
- jcelerier 5y ago> Neither C nor C++ as far as I know have a JSON parser, CSV parser, language parser (Go for Go, but C for C, C++ for C++), web server, crypto libraries, and so on. people already complain constantly that the C and C++ standard libraries are bloated though
- tialaramex 5y agoWho has complained that the C standard library is bloated? In C++ the standard library has several entire features that are regrettable and so just take up space (e.g. regex, yes regular expressions are useful, no the standard library implementation isn't what you want), as well as places where they kept thinking of new better ideas and now there's a trail of old busted stuff you shouldn't use in new projects. So of course people are going to say that's bloated, it is.