Writing in C just feels right. Having my code compiled by GCC makes me happy. And when the binary does what it's supposed to, nothing could be better.
I only usually have the same gut feeling with Rust. PHP simply can't compete. C is like a drug xD!
Writing in C just feels right. Having my code compiled by GCC makes me happy. And when the binary does what it's supposed to, nothing could be better.
I only usually have the same gut feeling with Rust. PHP simply can't compete. C is like a drug xD!
What do OpenBSD people use for static analysis of C code?
Valgrind was available for a while but it seems to have been removed now
Apparently there is something called the "Clang Static Analyzer", but I'm not sure how to actually use it (it seems you have to compile your program with specific Clang flags?)
I know there are countless other bugs in my code, but its nice to see "no leaks detected" when I do some stupid shit with void pointers :)
In this article, we will describe how you can install the GCC compiler on your Debian 12.
Keep reading:👇
https://greenwebpage.com/community/how-to-install-gcc-compiler-on-debian-12/
#gcc #compiler #programming #debian #linuxadministration #greenwebpage
🌖 使用 GCC 構建 Rust 編譯器
➤ 克服編譯器中的迴圈內聯問題
✤ https://fractalfir.github.io/generated_html/cg_gcc_bootstrap.html
本文記錄了作者使用 `cg_gcc` 嘗試以 GCC 代替 LLVM 構建 Rust 編譯器的過程。此過程分為三個階段,目標是驗證使用 GCC 構建的編譯器與使用 LLVM 構建的編譯器是否具有相同的行為。作者在過程中遇到了多個錯誤,並透過一系列的除錯技巧,包括將編譯器「切除部分功能」,最終找到並解決了問題,其中一個主要問題源自於 `#[inline(always)]` 屬性在 GCC 和 LLVM 上的不同處理方式。
+ 這篇文章詳細記錄了編譯器的開發過程,對於想了解編譯器原理的人來說很有幫助。
+ 看到作者用「編譯器切除術」來除錯,真是讓人嘆為觀止!這也顯示了編譯器開發的困難度。
#編譯器 #Rust #GCC #開源專案
Ah, the joys of summer! ☀️ While normal folks bask in sunlight or strum guitars, our hero chooses to conquer the Everest of unnecessary complexity: #bootstrapping #Rust with #GCC. 🏔️ Because nothing screams "fun" like turning your passion into a 22-minute snooze fest about the #compiler build process! 🎉
https://fractalfir.github.io/generated_html/cg_gcc_bootstrap.html #Summer #Fun #Complexity #HackerNews #ngated
Building the Rust Compiler with GCC
https://fractalfir.github.io/generated_html/cg_gcc_bootstrap.html
#HackerNews #Building #Rust #Compiler #GCC #RustCompiler #GCCBootstrap #Programming
Today's `gcc` bug is https://gcc.gnu.org/PR120929
There `gcc` was falsely declared out-of-bounds access for code like:
struct magic ** ma = malloc(sizeof(**ma) * mentrycount);
for (...) {
(void)memcpy(*ma, b, sizeof(**ma));
Reading « This Week in Rust » 601 (28th May), there is this item:
The #GCC compiler backend can now fully bootstrap the #Rust compiler!
Wow!
Then it points to some Reddit messages. Do you know more on the current status?
https://this-week-in-rust.org/blog/2025/05/28/this-week-in-rust-601/
https://old.reddit.com/r/rust/comments/1ktph3c/media_the_gcc_compiler_backend_can_now_fully/
The next GNU Tools Cauldron, taking place in Porto, Portugal, on September 26-28, 2025.
https://inbox.sourceware.org/gcc/87o6ubhn4j.fsf@oracle.com/
https://gcc.gnu.org/wiki/cauldron2025
https://gnu-tools-cauldron.org/
Some #Sourceware Project Leadership Committee members and @conservancy staff should also be there.
#GCC #GDB #binutils #CGEN #DejaGnu #newlib #glibc #poke #libabigail #elfutils
Ah, yes, #C23 finally blesses us with tag compatibility, because who doesn't love redefining #structs in their spare time? 🥱✨ #GCC and #Clang are here to save us from the horrors of incompatible parameters—truly a thrilling adventure in "do we really need this?" 🚀🔧
https://nullprogram.com/blog/2025/06/26/ #Cplusplus #TagCompatibility #ProgrammingAdventures #HackerNews #ngated
Уничтожение EXE: 640 Байт для программы на C
В наше время разработчики уже не так беспокоятся о размере приложений. Некоторые простейшие приложения требуют под 200-300 МБ, а игра вообще может весить более 100 ГБ. Я уже не говорю про "Hello World", который иногда занимет под 180-260 КБ! К счастью, есть возможность сократить размер приложения. О мусоре в exe'шнике и о способах его удаления написано в этой статье.
https://habr.com/ru/articles/922320/
#exe #размер #windows #c #c++ #gcc #минимальный #бинарники #стандартная_библиотека
For the official AmigaOS 4 developer package, George 'walkero' Sokianos has published a supplement at the title link that adds newer versions of the GCC compiler (11 and 6, as of May 14) and clib4 (V1.6.0) for AmigaOS 4 to the SDK.
This is why it's good to have lots of stickers on your laptops: when you get interviewed and they publish a photo, your face may not be all that pretty but the laptops, they look great! 😆
#fsf #gcc #gnu #dfri #emacs #bash #fripost #debian #foss #floss #FreeSoftware #FriProgramvara #ThereIsNoCloud
Assigning your copyright to the FSF helps defend the GPL and keep software free. Thank you to Giovanni Turco for assigning your copyright to the FSF! More at: https://u.fsf.org/463 #GCC #CopyrightAssignments