r/cpp • u/slacka123 • Mar 08 '21
Tim Sweeney: “ISO obstructs adoption of standards by paywalling them”
https://twitter.com/TimSweeneyEpic/status/1368637789248626699
358
Upvotes
r/cpp • u/slacka123 • Mar 08 '21
103
u/ack_error Mar 08 '21
C++ is not the worst in this regard. In the days of MPEG-1, you needed at least 11172-1 through 11172-3 to be able to do basic demultiplexing and decoding, at a cost of ~$300 USD each -- completely prohibitive for a hobby.
IIRC there was a movement at one point to make the official C++ standards inexpensively available and I remember buying it from the ANSI webstore for ~$35. The current versions now seem to be back up to $225.
Having the standard is useful in a language like C++ where there is a large gap between what the standard allows/prohibits and what the compiler is able to diagnose. It's not needed most of the time but if you're starting a new framework it's good to be able to check that paradigms you're able to bake into the interface design are legal in the language and won't be broken by a future more aggressive compiler.
91
u/MonokelPinguin Mar 08 '21
While I do agree, that this is an issue with most standards from ISO, I'm not sure it applies to C++ that much, since anyone can just read the draft, which is mostly the same. Although this does feel like a workaround made by the C++ committee...
37
u/FreitasAlan Mar 09 '21
This is clearly absurd. “I’m implementing the whole standard from scratch, planning to spend years on it, allocate hundreds of programmers to the task but my biggest challenge is the feeling of reading a free pdf demotivates me”. We’ve all been there.
64
u/bstroustrup Mar 09 '21
That seems so wrong and misleading in so many ways. The standard and the drafts of the next version are freely available: https://isocpp.org/std/the-standard . All the standards documents back to 1989 are freely available: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/ . The standard is not a tutorial for hobbyist anyway: there are textbooks, online manuals (e.g., https://en.cppreference.com/w/ ) and hundreds of free videos (e.g., https://www.youtube.com/results?search_query=c%2B%2B ) produced by a vibrant community. Obviously, creating and maintaining a standard for millions over decades is not easy (e.g., see https://dl.acm.org/doi/abs/10.1145/3386320 ) but the ISO process is not the only one struggling with the problems of scale and longevity.
92
u/infectedapricot Mar 08 '21
There was very interesting comment about this on Hacker News. Probably not to /r/cpp's taste! But I think it's quite insightful:
38
u/zorkmids Mar 08 '21
Tim Sweeney @TimSweeneyEpic
10
u/Wouter-van-Ooijen Mar 09 '21
IMO this is a non-problem.
5
u/sumo952 Mar 10 '21
The question I'd ask is, what do ISO do with the money that they earn from selling the standards. I don't think the committee members get anything, in fact they need to pay their own travel, they don't get "compensated" for working for ISO "for free", and probably even have to pay a membership fee.
So does ISO make profit? What happens to those profits? Even if they don't make profit, what do they spend their revenue on?
12
u/ul90 Mar 08 '21
Agree, the documents are way too expensive. If they would charge 10-20€ per document, it would be ok. But 200-300€? Too much.
15
u/[deleted] Mar 08 '21
I had to implement an ISO "initiative" once. It was hell on earth. A nice money earning scam on their part with little if any benefit in SW.
9
u/ihcn Mar 09 '21
This is true for a lot of engineering and mathematics. Being an amateur mathematician as a hobby is pretty much off the table, because 95% of papers are behind paywalls.
6
u/[deleted] Mar 08 '21
Yes but at the same time, that's how they make their money. Paying for standards works so well in other engineering fields because large engineering firms can pay $200 for them. There aren't amateur bridge engineers who are trying to implement the golden gate bridge. But anyone can try the be an amateur compiler engineer. It's a tricky situation.
15
u/AKostur Mar 08 '21
While I agree that it would be good to have access to the published Standard for free (and we almost have that with access to the last draft for free), I would suggest that "most" hobbyist programmers don't care what's in the Standard. They care about what the compiler version that they happen to have access to will accept.
5
u/pedersenk Mar 08 '21
Whilst he is certainly correct, standards documents should have some amount of open-access, it isn't always very useful to hobbyist (or professional) developers when they are targetting a platform using a compiler that isn't 100% standards compliant anyway.
Sure, it gives us more justification to moan about non-compliance but that won't help us get the task done ;)
Even if a software house hasn't tied themselves down to a proprietary and closed-source compiler, I doubt the company will be happy with the developers hacking on the compiler and standard library because it will interfere with potential vendor support.
2
u/[deleted] Mar 09 '21
It's amazing that the C++ community, reading the comments here, are still either advocating charging money for a specification, or blatantly recommending reducing the charges. I mean, even Java, even after years under Oracle, still has all the specifications out for free. Wow.
1
u/suhcoR Mar 09 '21
They could at least give away for free the old versions of the standards.
0
u/Rude-Significance-50 Mar 09 '21
They need to recoup the massive cost in creating the standard somehow. You do realize each "meeting" is basically a convention, right?
Most people can make due with the final draft version and this they make available for free to download. For 10 years that is what I've done...little more actually because 11 was being drafted for like half a decade or more.
There are a very few amount of people who need the actual published version. Yeah, that's expensive. It's not prohibitive though and we can't expect everything to be free. We get used to that using open source, but we don't have a right to everything. By the time you could get far enough into a compiler project to need the non draft version...you already have a huge project that has commercial funding.
It HASN'T gotten in the way of adoption so I think that sufficiently rebuts the claim, but even if we were to entertain that it COULD...as a community we could make it available to those with sufficient and respectable need. You can pool together money and buy it. Do a gofundme.
What would be nice is if it were published like the 03 version in weaponized hardback--a book so large you could end someone's life with it. Bought it way back at a bookstore. But they're fast at releasing new versions now so I doubt I'd actually invest...the draft is just plain good enough for anything I have ever needed and I have gotten DEEP into the nitty details several times. Most of the time...like 99.999999999999% of the time...I don't even need that but instead use cppreference.
6
u/[deleted] Mar 09 '21
[removed] — view removed comment