Live data from Hacker News

What should go into the C++ standard library (2018)

abseil.io

1–10 of 91 posts

Re: What should go into the C++ standard library (2018)

#4
This makes interesting reading, as I've been following C++ graphics proposals for a while, and they are one of the inspirations behind piet. I hope for piet to have a role in the Rust ecosystem similar to what Titus envisions - it's certainly not a standard, but hopefully will be the tool people reach for, much like serde is for serialization.

Of course, if I fail, the negative consequences are minor, people just won't use it. By contrast, having bad stuff in a standard library lasts almost forever.

Re: What should go into the C++ standard library (2018)

#6
I completely agree with this article, it is very well written and makes total sense. Managing dependencies is SO much more important and allows code to move quickly while existing legacy code sticks with what worked at the time it was written. There are tons of solutions out there for dependency management for C++ and a graphics library would be much better as a separate package that can be versioned, improved, deprecated and ignored as required.

Re: What should go into the C++ standard library (2018)

#7
Coming from any language with a package manager to C or C++ is like a trip back to the dark ages. Sometimes homogeniety is much much better than flexibility. I too prefer a slimmer std lib with a sane package manager over batteries included (and kitchen sink, and now outdated gfx api). You might get shit like leftPad.js, but you'll also get a very very vibrant ecosystem.

Re: What should go into the C++ standard library (2018)

#9

Coming from any language with a package manager to C or C++ is like a trip back to the dark ages. Sometimes homogeniety is much much better than flexibility. I too prefer a slimmer std lib with a sane package manager over batteries included (and kitchen sink, and now outdated gfx api). You might get shit like leftPad.js, but you'll also get a very very vibrant ecosystem.

Couldn't agree more about package managers.

I just went back to C and have spent too many hours trying to get small libraries to build and link properly. I'm pulling my hair out.

Re: What should go into the C++ standard library (2018)

#10

Coming from any language with a package manager to C or C++ is like a trip back to the dark ages. Sometimes homogeniety is much much better than flexibility. I too prefer a slimmer std lib with a sane package manager over batteries included (and kitchen sink, and now outdated gfx api). You might get shit like leftPad.js, but you'll also get a very very vibrant ecosystem.

You also inherit an entire chain of trust over code you yourself didn't write nor did anyone actually validate. The issue with leftpad.js wasn't that it was stupid, it was that it was dangerous.
Post reply on HN