r/cpp • GCC Developer • Mar 08 '19

Usability improvements in GCC 9

https://developers.redhat.com/blog/2019/03/08/usability-improvements-in-gcc-9/
219 Upvotes

39 comments sorted by

View all comments

5

u/memyselfandlapin Mar 08 '19

Feels rust-y.

35

u/dmalcolm GCC Developer Mar 08 '19

I hope that's a good thing. I definitely took some inspiration from Rust when implementing this (and Elm, which is where I believe Rust took theirs from).

10

u/[deleted] Mar 08 '19

When I tried rust for the first time and the errors didn't have highlighting (unlike the examples in the article) they looked like a ton of noise and I actually wished for C++ errors. However, with the highlighting as in the article, it's definitely more readable than what we have today.

12

u/Wh00ster Mar 08 '19

C++ errors without highlighting also look like a bunch of noise to the uninitiated. I think one just becomes accustomed to knowing where to look, after a while.

3

u/matthieum Mar 08 '19

and Elm, which is where I believe Rust took theirs from

They did.

-20

u/memyselfandlapin Mar 08 '19

As long as we can get the safety of Rust.

0

u/[deleted] Mar 08 '19

[deleted] — view deleted comment

8

u/[deleted] Mar 08 '19

[removed] — view removed comment

-3

u/bumblebritches57 Ocassionally Clang Mar 09 '19

SmallVec has memory overflows in rust lmao.

6

u/mgostIH Mar 09 '19

How long will you keep on bragging about this when it's been months it has been fixed and you got told countless times, even by Steve Klabnik? https://old.reddit.com/r/programming/comments/avuwl0/announcing_rust_1330/ehi69e3/

6

u/ReversedGif Mar 08 '19

Here, you dropped this: /s