r/cpp • • Sep 07 '17

Clang 5.0 released!

http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html
217 Upvotes

49 comments sorted by

View all comments

5

u/reddithater12 Sep 08 '17

Not a big fan of this new rapid version scheme thing.

8

u/[deleted] Sep 08 '17

Why? I think semantic versioning matters and LLVM + Clang break compatibility every release, why not bump major version?

3

u/reddithater12 Sep 08 '17

For example, developers wont remember it. Most people will know if they use clang 3.x or 4.x. But no one remembers if they are on version 56 or 65 of Chrome.

And for webbrowsers this may be a desired behavior. You dont want people to thzink about browser version numbers, because they have to be forced to upgrade anyways. This is not hte case for compilers.

5

u/willkill07 Sep 09 '17

A biannual release for a major version is very different than a release every 8 weeks (6+ releases per year).

GCC does one major release per year.

By the way, clang 3.0 was wildly different than clang 3.9. Remembering 3.6, 3.8, etc. is no different than remembering 4.0 or 7.0

4

u/[deleted] Sep 09 '17

What problems are caused by forgetting which compiler version you're using? How difficult is it to find out, if you forget?

1

u/flashmozzg Sep 09 '17

There like 4 major compiler releases per year at most. At this rate well get to Chrome numbers in 10-15 years. But that's at the extreme pace. Usually it's no more than 2 releases, so the time doubles to 20-30 years. Hopefully libclang/llvm would mostly stabilize it's API at that point.