Of course, of course… I also had found a proof to fermat's last theorem that fits in a single page but I'm not publishing it as well :D
Of course, of course… I also had found a proof to fermat's last theorem that fits in a single page but I'm not publishing it as well :D
AI helped me successfully restart that patch set, and take it much further than I got on my first try. Once I got that merged and perfected the contribution process, I was also planning to work on some of the feature requests that I posted on GCC's bugzilla, mainly an analyzer feature for tagged unions in C that verifies field accesses match their associated tags, and also a way to rename the "internal" symbols that GCC generates purely for aesthetic reasons.
Looks like all that stuff is gone now. Maybe it's for the best. Attempting to contribute to GNU projects hasn't exactly been a pleasant experience.
Even if the GP poster submitted these patches that may or may not exist, I'm not sure they would ever get merged.
Nope. Not every system call is available. It took years before glibc got getrandom, for example. Others are straight up not supported because they break glibc's internals.
One could argue that it's always possible use the generic syscall function, but then what's the point of glibc? You can just get rid of it and use minimal shims, or compiler builtins, ideally.
> Having GCC builtins for them is of questionable utility at best.
It's useful if you're writing freestanding Linux programs. Great for eliminating all of the dependencies and writing minimal applications that target Linux directly. I wrote an entire lisp interpreter on top of nothing but Linux system calls.
> Even if the GP poster submitted these patches that may or may not exist, I'm not sure they would ever get merged.
Honestly I'm not sure either. The GCC maintainers didn't seem particularly convinced on the mailing list. It's the reason why I didn't bother to restart this work until years later. Claude made it easy enough to do it all over again.
Equally easy to drop. I'm gradually switching to Rust anyway.