@dysfun @david_chisnall Writing that down: „nobody can program c++“
I think it‘s beautiful. 😌
Discussion
@dysfun @david_chisnall Writing that down: „nobody can program c++“
I think it‘s beautiful. 😌
From the work we did on the de-facto C standard, I’m pretty sure no one can program C either. One of the things we did was send questions to compiler writers, members of the standards committee, and systems programmers. It was terrifying the number of questions that we set where:
Everyone who uses C++ defines a subset to use. Everyone who uses C defines a superset to use.
@david_chisnall @icing @dysfun Borrowing this quote for training materials I'm working on, I hope you don't mind
@david_chisnall @dysfun Every standard and its implementations meet potholes, not just programming languages.
The complexity of the standard determines if this is somewhat manageable or a desaster.
C89 is what we use in #curl, sprinkled with some stuff from C99. We don‘t go beyond this and probably never will, because the cost/benefit does not justify it.
Our battlefield is platforms and interop with other implementations and dependencies.
@david_chisnall @dysfun We use pthreads for DNS resolving. Where would be the problem with that? Curious.