‹ BackHN Continuity

Thread

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

62 points · 49 comments · vladcodes

  1. nylonstrung · · focus · HN ↗
    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

    1. tbrockman · · focus · HN ↗
      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.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.