Get the latest tech news

Writing Portable ARM64 Assembly (2023)


An unfortunate side effect of the rising popularity of Apple’s ARM-based computers is an increase in unportable assembly code which targets the 64-bit ARM ISA. This is because developers are writing these bits of assembly code to speed up their programs when run on Apple’s ARM-based computers, without considering the other 64-bit ARM devices out there, such as SBCs and servers running Linux or BSD. The good news is that it is very easy to write assembly which targets Apple’s computers as well as the other 64-bit ARM devices running operating systems other than Darwin.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of assembly

assembly

Photo of arm64 assembly

arm64 assembly

Photo of Writing Portable

Writing Portable

Related news:

News photo

Building a web server in aarch64 assembly to give my life (a lack of) meaning

News photo

The first commercial space station, Haven-1, now undergoing assembly for launch

News photo

PatchworkOS: An OS for x86_64, built from scratch in C and assembly