Live data from Hacker News

Usability Improvements in GCC 15

developers.redhat.com

81–90 of 231 posts

Re: Usability Improvements in GCC 15

#82
post #15
post #8

Earlier quoted context omitted.

The embedded compiler vendors, UNIX and consoles are quite happy with it. How much do you think they contribute back upstream regarding ISO compliance outside LLVM backend for their hardware and OS?

It's not like GCC or the embedded toolchains are a shining beacon of ISO compliance... and if you mean video game consoles, are any of them using GCC today? Sony and Nintendo are both LLVM and Microsoft is Microsoft

GCC has very good ISO compliance and ISO C23 is better supported than in Clang (which I expect to catch up soon though)

Re: Usability Improvements in GCC 15

#83

Earlier quoted context omitted.

Browser makers should straight up remove the JS API for interacting with history. There are legitimate uses for it, but the malicious actors far outweigh the good ones at this point. Just remove it.

Ditto for unprompted redirects.

Redirects are used for stuff like POST->GET or canonicalizing URLs (adding slashes on directories), would you get rid of that too?

Re: Usability Improvements in GCC 15

#84

Big fan of all of this except for the emojis in my console

On the one hand I feel like the #WARNING_SIGN is a welcome addition. On the other, I'm sensitive to the idea that it will be totally obnoxious if you need to grep/search for it in whatever tool you're using. Was a little surprised to learn that the warning sign is generally considered an Emoji; I guess I don't think of it that way. Was even more surprised to learn that there is no great definition for what constitute…

It's only an emoji if followed by the "emoji presentation selector" U+FE0F. Without it, it has no colors (but hackernews doesn't allow including it).

Re: Usability Improvements in GCC 15

#85

Earlier quoted context omitted.

Alternatively, if you join a Stallman-led Free Software project and hope he'll accept your ideas for making life easier for proprietary vendors, you're gonna have a bad time. I mean, the GNU Emacs FAQ for MS Windows ( https://www.gnu.org/software/emacs/manual/html_mono/efaq-w32... ) says: > It is not our goal to “help Windows users” by making text editing on Windows more convenient. We aim to replace proprietary soft…

But the person you're responding to never said he was shocked or disappointed by the views; he just said the views are bad/counterproductive.

But they're only bad/counterproductive when assessed against their own goals. They're a lot more reasonable if you assess them against Stallman's, where you could say "yeah, these actions kept GCC from becoming a handy tool for proprietary interests who don't want to share their work back with us".

Re: Usability Improvements in GCC 15

#86
post #74

Earlier quoted context omitted.

I actually quite like the emojis they put in the output, it helps alleviate the balance of providing enough context while also giving a clear visual indicator for the actual error message. They aren't going overboard on it, they just put a warning emoji in front of the error message.

How do you grep for it without taking your hands off the keyboard?

Windows key + dot, then type in warning / if it was among the last ones you used, use the arrow keys, and hit Enter to insert it.

If you use whatever OS other than Windows, I'm sure there are similar flows available if you search for it. And since it's just Unicode, I'm sure there are numpad based keybinds available too.

Re: Usability Improvements in GCC 15

#87

Earlier quoted context omitted.

Why?

I started putting emoji's in my bash scripts. gitk broke! Can't parse emojis I want emojis in my code. They are a superior form of communication (non-linear)

> I want emojis in my code.

Then you will enjoy swift [1]!

[1] Emoji driven development: https://www.swiftbysundell.com/special/emoji-driven-developm...

Re: Usability Improvements in GCC 15

#88
post #4

I hope gcc remains the default in Linux due to the GPL. But I expect someday clang will become the default. Plus I heard COBOL was merged in with the compiler collection, nice!

> I expect someday clang will become the default [compiler for the Linux kernel].

Why? I don't personally use GCC except to compile other people's projects in a way that's mostly invisible to me, but it seems like it's still widely used and constantly improving, thanks in part to competition with LLVM/Clang. Is the situation really so dire?

Re: Usability Improvements in GCC 15

#89

What is the status of GCC plugins?

Is there any reason to ask this? GCC plugins have been good since 4.8. 4.5 lacked some essential features; 4.6 would be fine if not for the annoyance of trying to support a plugin that works across the C++ transition. Of course, you can just use the Python plugin to save yourself a lot of sanity ...

Re: Usability Improvements in GCC 15

#90

Big fan of all of this except for the emojis in my console

If you're using an OS that honors your font choices (i.e., not macOS), you can use a font like Symbola to provide emoji so that they're stylized, monochrome, and vectorized, rather than incongruous color bitmap images. That helps them play nice with terminal colorschemes and things like that.

I'm not aware of any emoji fonts like Symbola which provide a monospace typeface, though. That would be a great option.

Post reply on HN