Memory Safe Inline Assembly

·Hacker News··

Fil-C Memory Safety • C/C++ Compatibility • Modern Tooling Home Installing Documentation Releases GitHub Meet Fil Memory Safe Inline Assembly NOTE: This is a pre-release feature. The Fil-C 0.679 release does not ship with this feature. To test this feature, you need to build from source. GCC and clang both support an incredibly powerful inline assembly syntax. For example: unsigned rotate(unsigned x, unsigned char c) { asm("roll %1, %0" : "+r"(x) : "c"(c) : "cc"); return x; } Instructs

Read full article →

Related Articles

Nashville uses eminent domain to block data center near zoo
mapping365 · Hacker News · 4h ago
Xbox goes down. You can't play games you own on disc
surprisetalk · Hacker News · 1d ago
Muse Code and Muse Spark 1.2
paulkrush · Hacker News · 11h ago
Civilian plane crash in New Mexico tied to military GPS blocking
dzdt · Hacker News · 19h ago
LLMs won't break symmetric crypto
rowbin · Hacker News · 4h ago