r/Compilers • u/Retired-69 • May 25 '26
What compiler/runtime intrinsics do developers typically rely on most?
Hi folks! I’m currently porting my systems language from my own OS environment to Linux/macOS and realized I may be missing important low-level intrinsics or builtin expectations across platforms.
What do modern systems-language users and compiler backends typically expect to exist natively?
0
Upvotes
11
u/FloweyTheFlower420 May 25 '26
inline assembly
1
u/un_virus_SDF May 27 '26
inline assembly, compile time conditionals (and maybe evaluations), c ffi, pointer arithmetic.
-13
u/Retired-69 May 25 '26
I currently I have this intrinsic
https://pastebin.com/J3EQbuJV?utm_source=chatgpt.com