Brian Callahan personal blog

Can we do better than our C compiler?

Today, I wanted to see if I could out-compile my C compiler. I added a hand-compiled assembly version of echo from our previous coding exercise and added a new make target, make asm , that will assemble it. Let's look at our hand-compiled assembly and compare it to our C compiler and ask whether or not it was worth it.
Points
119
HN comments
55
Submissions
1
Cited by
0 commenters

Software EngineeringSystems & Performance2020

On Hacker News

SubmittedTitle on HNPointsComments
Aug 13, 2020Can we do better than our C compiler? by signa1111955

More from Brian Callahan

All 15 posts →

Related posts from the same era