1.6 KiB
1.6 KiB
title, type, source, source_url, author, handle, post_id, date, archived, draft, tags, description, in_reply_to
| title | type | source | source_url | author | handle | post_id | date | archived | draft | tags | description | in_reply_to | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| People who say "C is modern-day assembly" usually way undershoot it. | archive | https://x.com/valigo/status/1990460012385522118 | Valentin Ignatev | valigo | 1990460012385522118 | 2025-11-17 | 2026-08-25 | false |
|
People who say "C is modern-day assembly" usually way undershoot it. |
Source
- URL: https://x.com/valigo/status/1990460012385522118
- Author: Valentin Ignatev (@valigo)
- Posted: 2025-11-17 16:40:22
Thread
1/ @valigo ^1990460012385522118
People who say "C is modern-day assembly" usually way undershoot it. This guy actually writes C like it's asm:
- No types - uints everywhere until a cast to actual type on access.
- No pointers - only integers, types only on load/store. Is this how all GPU programmers write C?
2/ @valigo ^1990462184170926463
This is @NOTimothyLottes btw, with his "Fixing C" talk, it's very cool. I really like mixing up shader code and regular C code in the same file and just ifdefind it out depending on which compiler you runt it through: https://www.youtube.com/watch?v=RrL7121MOeA
Branches: archive/threads/valigo/2025-11-17-people-who-say-c-is-modern-day-assembly-usually/2025-11-17-mrsteyk1-his-style-goes-a-bit-beyond-that-judging-by-the, archive/threads/valigo/2025-11-17-people-who-say-c-is-modern-day-assembly-usually/2025-11-17-Cheezaight-if-this-is-not-timothy-lottes-then-who-is-it