#clang

2025-05-27

Blog post on using "sanitizers" for C programming: levin405.neocities.org/blog/20

I'm trying to get more familiar with modern tooling for C, so I figured I'd document what I find out. For future reference and for others getting into / back into C :)

#clang #cprogramming

2025-05-27

Perfectly normal post on the LLVM forum

#clang #llvm

2025-05-23

Do you guys know a good C/C++ ide? I don't like Code::Blocks and I don't need Clion (for now?)

Edit: of course it's out of the question to use a Microsoft product.

#C #clang #clanguage #Dev #solodev #programming #coding

2025-05-23

Sometimes I wish the c++ compilers were clearer about what they do, because when I mix SIMD with expression templates and it gets as optimized as the best for loop I could write, it doesn't feel like I'm doing code anymore, but dark magic

2025-05-22

Reminder about the #LLVM / #Clang #Meetup in #Darmstadt
That’s happening Wednesday 28th May.

RSVP: meetu.ps/e/P3fJN/ZJC7X/i

@llvmweekly @llvm
#compilers #HPC

GripNewsGripNews
2025-05-22

🌗 可視化整個 Chromium 包含圖
➤ 使用 clang-include-graph 分析 Chromium 程式碼依賴
blog.bkryza.com/posts/visualiz
本文描述了使用 clang-include-graph 工具可視化 Chromium 專案的包含關係圖的過程。作者分享了建構 Chromium、產生 `compile_commands.json` 檔案、以及使用 clang-include-graph 產生 GraphML 格式的包含圖,最後利用 Gephi 進行可視化的步驟。文章詳細說明瞭每個步驟,並提供了相關的程式碼和設定,以及產生的圖形統計資料。重點在於利用工具分析大型程式碼庫的依賴關係。
+ 這篇文章對於想要了解大型專案程式碼架構的人來說非常實用,提供了可行的工具和流程。
+ clang-include-graph 聽起來很強大,可以節省大量分析程式碼的時間。

2025-05-17

Has anybody already written a #clang-tidy check replacing the use of std::stringstream with that of std::format()? I can't find anything like this, but it seems like it would be such a useful tool to have for modernizing the old code.

#CPlusPlus #fmt

2025-05-08

I wonder how long until people skip the language / compiler entirely, and teach an #llm to emit #clang IR or jvm bytecode from a prompt

2025-05-06

#Openindiana#gcc は古すぎるから #Clang を使ってね、じゃあないんだよ! #ladybird

ladybird/Documentation/BuildInstructionsLadybird.md at master · LadybirdBrowser/ladybird · GitHub github.com/LadybirdBrowser/lad .

:radare2: radare :verified:radareorg@infosec.exchange
2025-05-06

r2 from git is now checking for nullability bugs at compile time, this will not just improve code quality but also enable some performance improvements on clang compilers which support this C11 feature #clang

Jonathan Arnold 🇺🇦jdarnold@indieweb.social
2025-05-06

I had a couple of pretty fun days in the #SaltMine. On Friday, I set up a #Jenkins server so that one of my projects can support Jenkins as well as #Gitlab. I always love learning new packages. Yesterday, I spent a lot of time in the #clang compiler's source code trying to figure out some problems with their static analysis, either their static analysis or my understanding of it.

2025-05-06

Ok help me out here. I've got two computers with the same version of
clang, MSVC build tools, and Windows SDK.

C++ code that calls std::pow is built with clang. Binary built on one computer calls implementation that (RAD debugger says) comes from "oss/arm-software/optimized-routines/20.05.00/src/math/exp2f.c"

Binary built on the other calls "minkernel/crts/ucrt/src/appcrt/tran/_exp2.h"

Unless I've missed something, command lines etc are the same.

How do I figure out why?

#cpp #clang

2025-05-04

I am getting into writing PostgreSQL functions in the C language and I am particularly interested in ordered-set aggregate functions.

Is there anyone out here who can direct me in the right direction?

2025-05-02

Finally I got debugging with nvim, clang and lldb working in Neovim. Including preLaunchTasks, CMakePresets...
Now I need to clean up the build process.
One thing that seems absolutely essential is to add the nvim-dap-lldb to the mix.
But for now it just works and I can move on from here.
#gamedev #neovim #cpp #clang #lldb #linux #vulkan

2025-04-30

[Перевод] Golang на PlayStation 2

Мне всегда хотелось творить какую-нибудь дичь с консолями. Не знаю почему, но меня всегда привлекала идея реализовывать на устройствах неожиданные возможности. Это относится и к PlayStation 2 , выпущенной Sony в 2000 году. Sony, пожалуйста, не подавайте в суд на меня за этот пост. Перейдём сразу к делу: я хочу научиться запускать код на консолях (подробнее о том, зачем это нужно, я расскажу в другом посте). Обычно это делается на языках низкого уровня, но сегодня мы можем проще и удобнее работать с языками наподобие Go . Поэтому я подумал: почему бы и нет? Поискав онлайн, я не нашёл простого решения, поэтому взялся за эту задачу самостоятельно.

habr.com/ru/articles/895322/

#playstation_2 #golang #clang #llvm #llvm_ir #mips

2025-04-29

Mark your calendars! Next #LLVM #Meetup #Darmstadt happening on May 28th 2025, starting 7pm.

We will have three shorter talks to cover a variety of cool topics around #compilers and #tooling support. \o/

Check out the agenda and RSVP at meetup.com/llvm-social-darmsta

#Software #HPC #Clang
@llvmweekly @llvm

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst