acha.ninja

Acmeish for vscode

Just a quick post to release a new vscode plugin I have written - Acmeish, inspired by the acme text editor from plan9. The general idea of the plugin is to allow you to use system commands to manipulate text in your editor buffers in a convenient way, so the IDE blends better with the host system. The video does a far better explanation than what I am capable of describing in writing. Read more...

Hidden gem - stgit

I just discovered stacked git which is an alternative ui for git, and am very impressed. It solves a lot of headaches I have been having with git and I feel like it may be a better user interface for people who like careful commits. Maybe it doesn’t get attention is deserves due to (in my opinion) a hard to understand website and little promotion, so to help spread the word here is my 2 cents. Read more...

Self Hosting C

I did it. It wasn’t easy, but I did it. My C Compiler can compile itself. Even though it still has holes in functionality and obvious bugs, It gives me a funny sense of pride that my compiler can now be used to improve itself. I consider it a significant milestone, and this post shares an overview of what was involved. Lets look at the breakdown… Timeline and Commits ~ 188 days of self directed work. Read more...

Calling Conventions Are Hard - Fuzz them!

I am busy implementing the C AMD64 calling conventions in my C compiler suite and have a topic worthy of a post. It is about testing the C ABI (How C programs layout structs and perform function calls). The old Linux C x86 ABI was relatively simple, to call a function you pushed arguments onto the stack in reverse order and you are done with it. Unfortunately for me, most people now use AMD64 processors, so that is what I need to target first. Read more...
Previous Page 2 of 2