Get the latest tech news

Mandelbrot in x86 Assembly by Claude


Inspired by a tweet asking if Claude knew x86 assembly, I decided to run a bit of an experiment. I prompted Claude Sonnet 4: Write me an ascii art mandelbrot …

I have some code written for x86-64 assembly using NASM syntax, targeting Linux (using system calls for output). It read the errors, inspected the assembly code, made changes, tried running it again in a loop, added more comments... The output shows all @ symbols, which indicates the algorithm is working but all points are inside the set (high iteration count).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of assembly

assembly

Photo of Claude

Claude

Photo of mandelbrot

mandelbrot

Related news:

News photo

Apple Could Use ChatGPT or Claude to Power Siri

News photo

Anthropic Let Claude Run Its Office Shop. Then Things Got Weird

News photo

Show HN: A tool to benchmark LLM APIs (OpenAI, Claude, local/self-hosted)