Show HN: Rhun, an open-source code editor written in assembly

rhun.app

60 points by vladcodes 1 day ago

I found that I'm not using even 1/3 of vim/vscode features anymore.

That's wht I'm building rhun - a small code editor for Linux, Windows and Apple silicon Macs. It obviously has Vim mode, a terminal, Git diffs and a panel for Claude Code or Codex sessions.

The editor and pixel renderer share an x86-64 assembly core. For Apple silicon, a build-time translator converts that core to AArch64, with separate platform adapters around it. The latest release can draft commit messages using a local Ollama model or an existing Claude Code or Codex subscription.

It's a solo project, MIT licensed and still early.

jrapdx3 1 day ago

I'll have to try it.

It occurs to me that in this era of RAM hardware shortage, resource-frugal applications like this one could become more prevalent.

Anyway I guess we'll see if that happens.

Edit: Downloaded, running under Windows.

Impressive. Loads fast, looks pretty polished. Highlighting for many languages included "obscure" ones that I sometimes use.

Mem used: 7.9MB (gvim 12.2MB, emacs 35.5MB, vscodium 291.1MB)

  • vladcodes 21 hours ago

    Thank you. Windows definitely needs a slightly better autoupdate system which is coming in the next major release.

vladcodes 1 day ago

The plan is to add as less new features as possible and keep the same performance/launch time/memory and disk footprint as it is currently.

uchiha7itachi 16 hours ago

Just tried it out in linux, its very fast and responsive. It would be awesome if it has LSP support though

  • vladcodes 10 hours ago

    Thank you. Yes, LSP support would be awesome as a plugin.

nylonstrung 19 hours ago

At this point I very much question that handwritten assembly can be more performant than what LLVM-based langs can produce at the highest optimization settings. Compilers are very good at optimization

Particularly when the "handwritten" code in question is vibecoded, like this is

  • hackermanai 18 hours ago

    It should be more performant if actually handwritten I guess. But just lowering the implementation like this will make it faster than many other apps seemingly for free, but not having the abstractions from e.g. C or C++ will likely make it unmaintainable long term.

  • tbrockman 18 hours ago

    LLVM is bounded by what its IR can express, and what it can express is constrained by what is portable and what it can prove. There is a reason `ffmpeg`, OpenSSL, OpenBLAS, glibc's string routines, LuaJIT's interpreter, etc. all still leverage hand-written assembly.

    As for the editor, even if it isn't necessarily optimal assembly (I have no clue), a reduced feature set and relying on OS APIs instead of frameworks will still probably result in something which feels faster than Electron programs like VSCode.

  • Someone 10 hours ago

    > Particularly when the "handwritten" code in question is vibecoded, like this is

    Also, “For Apple silicon, a build-time translator converts that core to AArch64” likely doesn’t help the quality of the ARM code.

ab_wahab01 12 hours ago

Just tried it is fantastic. pls add pi agent ...

  • vladcodes 10 hours ago

    Thank you for trying rhun. Never used Pi before - I'll definitely take a look to see if it fits the idea.

rgbrgb 1 day ago

can you talk about why you do this in assembly?

  • vladcodes 21 hours ago

    There are some good numbers in comments to respond the question. Think of rhun as of anti-vscode: feature-poor, configuration-lacking, but small and fast :-)

    • andsoitis 17 hours ago

      That’s not an answer to the question.

      • vladcodes 8 hours ago

        It's not and I probably don't have one. Initial motivation was enjoyment, learning, some flex and the challenge. Not the performance.

xorl 1 day ago

This bring me joy :)

gespadas 1 day ago

People... I just tried it... It is SOOO FAST !!!

  • slohr 1 day ago

    absolutely blazing! and it delivers exactly what I've wanted for quick code reviews of the AI output.

browningstreet 1 day ago

Assembly plus platform translation, hmmm. I don’t get it but that’s a heck of a thing to do! And yes, I’ll try it.

  • vladcodes 8 hours ago

    Thank you, yeah, the translator is a tricky part.

haolez 1 day ago

If you use an LLM to write assembly, it is officially your (optimizing?) compiler :)

arecsu 20 hours ago

Honestly, it runs and looks incredible (macOS). Very well done. Would love to have support for pi-agent, as is my go-to for most uses I have. Congratulations!

  • vladcodes 33 minutes ago

    Thanks! Glad it’s working well on macOS. For pi-agent support, do you mean showing its sessions in the Agents panel, or something else?

heckintime 1 day ago

Middle Earth reference?

  • pigeons 1 day ago

    I thought that was code for Thiel-backed war profiteer lol

  • vladcodes 21 hours ago

    Thanks for noticing :-)

Imustaskforhelp 19 hours ago

This is amazing. I think that the binary itself is just 980kb, which is such a fresh breath of air. I think that I am fairly impressed by the project!

Some few features that I would love to have for myself is if it can support remote development similar to zed[0] using ssh

and if possibly, LSP support can be added.

I also think that this project can be used as the base support for many things and not just an editor as initial inspiration (sort of as a way to bootstrap a way to create extremely minimalist applications with themes and everything!)

I wish luck to the project and I might even start to daily drive it, there are many ideas that I can think of which I wish to add on top of it (I wish to create a scratch-pad app which can automatically save the files and I wouldn't have to prompt it), I had built it in Odin[1] but I feel like writing it on top of rhun might be easier as well

or a markdown editor similar to a more barebones version of obsidian/notion also come to my mind (If you are interested, please, do create something like this. QTmarkdown is one of the more minimalist things that I use but nearly all of these aren't really as minimalist as I would want them to and I think that rhun can help in it.)

Thanks once again and have a nice day! Man, do I love hackernews for these type of creative projects :-D

[0]: https://zed.dev/docs/remote-development

[1]: https://github.com/SerJaimeLannister/odinpad

  • vladcodes 10 hours ago

    Thank you very much. Great ideas. LSP support was (and likely still is) planned via a plugin system, which is already a part of rhun. I'm trying to be really careful with feature creep and load time, so I postponed some features to stabilize the codebase and gather user feedback first.

    • Imustaskforhelp 8 hours ago

      Yup, I had left the agent (GLM 5.3 on maki) to work on creating rhunpad and I must say that its unwieldy for the model to handle the codebase although I guess it is still able to work though but definitely testing the limits of the model in terms of making it overthink substantially more.

      I would really like a plugin system which can make the codebase more easier to wield for these custom use-cases. Atom created Electron for their editor which then made literally everything use a browser for a native app, I can imagine that perhaps a similar yet hopefully more minimalist primitives can be provided by a strong plugin system to help other people make easier (side-editors?), plus points for using that for LSP purposes as well, also good point on preventing future bloat, I think that the future looks good provided that the codebase becomes managable for AI to use as its definitely testing the limits of AI in some sense imo which is strangely why I am even more curious as to how this project pans out as well and in terms of how it maintains the software/source code.

    • Imustaskforhelp 6 hours ago

      Edit: I have built rhunpad[0], its slightly built for myself

      Now, I was having some issues with LLM not able to really work with the native file manager capability [I would say that this probably happened because I wanted there to be two types of system, debug and prod, where debug asked for folder everytime in scratchpad so that I can test it behaviour and prod only asked once]

      And I try to write the prompt and pass it through a middle layer like chatgpt to then pass it onto the final layer and it seems that it preferred the macOS file picker in that sense

      but finally I have created the project, I think that it was a really pushing the limits vibe-coding project but quite impressed nonetheless that an open weights model was still able to do these edits, there are some other issues as well but I think that this was just created by me for myself to write thoughts in a scratchpad like way.

      I will be waiting for a v1 release or a stable release/the plugin system that you are mentioning for a more proper release as well but just wanted to let you know that I built it on top of your project and I think that there are just so many more ideas that I can think of if someone really wants to test the limits of LLM's while getting something decent. Creating a monkeytype alternative comes in my mind as well

      (I did use the word rhunpad, I hope that it can be okay and if not then I am more than happy to change the name as well!)

      Anyways, I'd be curious as to what you think of it and as always have a nice day and take care!

      [0]: https://github.com/SerJaimeLannister/rhunpad

bbor 1 day ago

…is it fast? Why assembly? Impressive, regardless!

“Super responsive, minimal-by-default” is kinda already met by Sublime Text, but it’s certainly not in assembly lol. And not OSS — thanks for sharing your work with the world :)

  • vladcodes 21 hours ago

    It's very difficult to call Sublime minimal, but for years that was my go to as well. rhun is OSS, no telemetry, free and is lacking dozens of "normal code editor" features compared to Sublime. Which is kinda the point. nano+ with GUI.

  • hackermanai 19 hours ago

    Typing latency is within one frame, so on par with my editor and Sublime Text etc. So, yes, it's fast.

    Obv not as polished but still cool.

    • vladcodes 7 hours ago

      Working on the polishing phase. Thanks for trying it out! Is there anything specific I should look into?

vivzkestrel 20 hours ago

- now imagine building entire systems tailored to each OS in just assembly

- imagine the next gen browser built in only assembly with a browser engine made in assembly

- imagine photoshop, illustrator, movie maker built ground up in assembly

- imagine an entire windows 12 operating system made in pure assembly

- the performance profile of each of the above must be absolutely wild

- since i am an an absolute newbie at assembly at this point, a sincere question to the some of the more englightened ones reading this, how and where do you recommend I learn assembly? I understand its different for x86 x64 and ARM? where should I start?

  • vladcodes 10 hours ago

    I would recommend RV32I. I started with Z80's, but that's something too esoteric for 2026. Thanks for giving rhun a try!

tamimio 1 day ago

Ok wow I am in love! Not just it’s fast, but also it automatically detected the AI session that’s actively working! Might ditch zed now!

  • vladcodes 21 hours ago

    I'm still thinking should I make it bidirectional. Wdyt?

Levitating 1 day ago

Website has all the hallmarks of AI slop.

  • ianeff 1 day ago

    The comments have all the hallmarks of generated slop.

    • microflash 21 hours ago

      The source code also has all the hallmarks of slop.

      • vladcodes 21 hours ago

        When someone says "hallmark," I can't stop myself from thinking of Xmas

  • nylonstrung 14 hours ago

    What are the "hallmarks" you see? There's almost no text on it

    • Levitating 12 hours ago

      Small text.

      BIG TEXT.

      COLORED BIG TEXT.

      Medium-sized text.

      Coloured download button.

      • vladcodes 10 hours ago

        Rhun also has a Geminispace page in my capsule. Hopefully, this works for you: gemini://r13.xyz/rhun/