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

Google Hits 50% IPv6
barqawiz · Hacker News · 20h ago
FDA advisors unanimously vote to approve Moderna's mRNA after agency drama
worik · Hacker News · 7h ago
Fossil Fuels Are 40% of Freight Shipping Tonnage, but Half Its Fuel Use
choult · Hacker News · 13h ago
Linux eliminates the strncpy API after six years of work, 360 patches
simonpure · Hacker News · 1d ago
Bun has an open PR adding shared-memory threads to JavaScriptCore
gr4vityWall · Hacker News · 1d ago