Hacker News new | past | comments | ask | show | jobs | submit login

Relying on as won't work with Visual Studio

It's easier to update an external assembler than the system assembler. A lot of distros don't ship with updated binutils so you can't reliably compile for newer CPU extensions on them.

Earlier versions of clang's integrated assembler (which clang uses instead of as) weren't fully compatible with as, e.g. no .intel_syntax support.

Different operating systems can have subtly different behavior, e.g. the ancient as that ships with OS X uses $name for macro parameters while most? other systems use \name. I think gcc on OS X is intentionally forgotten so everyone will switch to clang.

Cross platform x86 asm is a real headache no matter what. NASM/Yasm/fasm just make it less of one.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: