Best aspects of C
> <i>There is little of needless code in standard library. And what there is, believe me, over the decades was really polished.</i><p>Wrong. Counter-example: locales [1]<p>Also: String handling, which is responsible for so, so, <i>so many</i> security vulnerabilities. The underlying cause is zero-terminated strings (instead of using start/end pairs or start/length pairs). You can't even tokenize a string without either copying or modifying it!<p>Also also: just a single, apologetic mention of undefined behavior. Responsible – in cooperation with over-zealous compiler writers – for so many more bugs not already caused by improper string handling.<p>[1] <a href="https://github.com/mpv-player/mpv/commit/1e70e82baa9193f6f027338b0fab0f5078971fbe" rel="nofollow">https://github.com/mpv-player/mpv/commit/1e70e82baa9193f6f02...</a>