Hacker GitHub

← All repos

akkartik/mu

View on GitHub ↗ ★ 1,431 Assembly

Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.

102 mentions on Hacker News by 14 people: 6 stories, 96 comments · first 2015-03-09 · latest 2026-10-01

Mentions per year 102 mentions · busiest year 2016 (22)
20082026
  1. It's Arc, and the program is an ancient prototype of https://github.com/akkartik/mu
    comment by akkartik · 2019-11-29 · in Syntax Highlighting Is Backwards (2018)
  2. …was a design document for soliciting feedback. You can see the progress on the implementation at https://github.com/akkartik/mu/blob/master/apps/mu.subx (colorized version: http://akkartik.github.io/mu/html/apps/mu.subx.html ) So far I've…
  3. …up needing to do that to a certain extent. My online help refers to the standard names in parens: https://github.com/akkartik/mu/blob/3a2d36a93680f2e9eb2bd2a3... b) Is it useful in enough places to be worth the lines of code it takes to…
    comment by akkartik · 2019-10-19 · in Mu: A minimal hobbyist computing stack
  4. …while reading the post in a browser. Slightly evil, I know. The concrete rules are illustrated at https://github.com/akkartik/mu/blob/469a1a9ace9b290658beb9d0... . In this case `%<reg>` always translates to `3/mod <reg-code>/rm32`.
    comment by akkartik · 2019-10-18 · in Mu: A minimal hobbyist computing stack
  5. …if you search for the pattern '/89' you'll find the first two versions. The 3rd one is here: https://github.com/akkartik/mu/blob/master/apps/factorial.su... Can you explain in a sentence what rules are used to complete the encoding for the…
    comment by eterps · 2019-10-18 · in Mu: A minimal hobbyist computing stack
  6. …/plforums.org/practice/minimal-features-required-for-... That comment dates from before I built this: https://github.com/akkartik/mu#readme
  7. …that we need to go even deeper and think about why the maintenance burden for software is so high. https://github.com/akkartik/mu#readme This is a very long-term project, and it's still early days. But none of the short-cuts seem to pan…
    comment by akkartik · 2019-09-16 · in Sandstorm Oasis Is Shutting Down
  8. …You have to start from scratch. (Like many others in that group, I'm trying to start from scratch: https://github.com/akkartik/mu/blob/master/subx/Readme.md . My focus isn't directly on the tools you describe. But hopefully it'll one day…
  9. …performance but for reducing dependencies, for building a more parsimonious stack at all levels: https://github.com/akkartik/mu/blob/master/subx/Readme.md . It's surprisingly pleasant. Lately I find myself thinking heretical thoughts, like…
  10. …soon be self-hosting and come in under 2kLoC source and under 30KB executable (excluding tests): https://github.com/akkartik/mu/blob/master/subx/Readme.md Stats: https://raw.githubusercontent.com/akkartik/mu/master/subx/st...
    comment by akkartik · 2019-05-28 · in An x86 Assembler in 256 LOC (2017)
  11. …languages, but with key implementation features that enable outsiders to comprehend a codebase. https://github.com/akkartik/mu/blob/master/subx/Readme.md
    comment by akkartik · 2019-03-31 · in The Programming Language Conundrum
  12. …As it happens, my current project that uses it has a Readme in every folder: https://github.com/akkartik/mu
    comment by akkartik · 2019-03-31 · in The Programming Language Conundrum
  13. …simple text-based tools (that should in principle be easy to write in machine code) My repo is at https://github.com/akkartik/mu/tree/master/subx#readme
  14. …encourage that! I accepted that possibility in my comment. See the kind of stuff I build: https://github.com/akkartik/mu . I introduced Posix purely as an example that builtins are as subject to standardization as coreutils. Other than…
    comment by akkartik · 2018-04-20 · in Show HN: Lisp Shell
  15. …I consider an example of exemplary library use to be how I copied the termbox library into Mu ( https://github.com/akkartik/mu/commit/5f1285238b ), periodically merged commits from upstream ( https://github.com/akkartik/mu/commit/9ba313ab7f…
  16. …tests. Good luck! (Speaking as someone who's trying to imagine OSs with automated end-to-end tests: https://github.com/akkartik/mu )
    comment by akkartik · 2017-05-13 · in Patching Is Hard
  17. Fascinating! Seems to have some commonality with dependency injection, which is one of my interests ( https://github.com/akkartik/mu#readme ) Can you point me at any Lua docs where I can read more about overriding IO in Lua?
    comment by akkartik · 2017-05-01 · in ZetaVM, my new compiler project
  18. …for everyone. Edit 16 minutes later : I just tried your benchmark with my VM-like language ( https://github.com/akkartik/mu ), and the time taken was almost identical. Interesting exercise! Here's the Mu and Plush/0 programs side by side:…
    comment by akkartik · 2017-04-29 · in ZetaVM, my new compiler project
  19. …as part of that larger project, I've been improving my zoomable UI for browsing program traces: https://github.com/akkartik/mu/blob/9be4a67f42/100trace_brow... . I plan to turn this into a self-contained tool. All it requires is for…
    comment by akkartik · 2017-03-10 · in What are you working on?
  20. For many years now I treat C++ as "C with destructors and the STL". Examples: 1. RAII: https://github.com/akkartik/mu/blob/61fb1da0b6/010vm.cc#L484 2. STL: https://github.com/akkartik/mu/blob/61fb1da0b6/020run.cc#L50 I really don't use…
  21. …2. http://akkartik.github.io/mu/html/000organization.cc.html ( https://github.com/akkartik/mu/blob/61fb1da0b6/000organizati... ) The ability to 'tag' tests into multiple suites is particularly nice. I might steal that at
    comment by akkartik · 2017-01-07 · in Lispy sets
  22. …yet full-featured stack to hack on. Stephen Malina has good instructions here for getting started: https://github.com/akkartik/mu/wiki/Installing-OpenBSD-on-a-...
    comment by akkartik · 2016-12-20 · in Linux at 20, some personal memories (2011)
  23. …starting insight as you: http://akkartik.name/about . And my project (with one other collaborator): https://github.com/akkartik/mu Nice to meet ya! I'd love to chat more at some point once the HN rush dies down, perhaps over email (address…
  24. …figured out what commands waf was running and then ripped it out. You can see my changes inlined at https://github.com/akkartik/mu/tree/master/termbox Edit : ack, sorry I momentarily forgot that I also recently ripped out my project's…
  25. …with more testable OS primitives. Among other things, I implemented a fake screen for this project. https://github.com/akkartik/mu#readme
  26. …Since you already took a look at Mu, here's a place where I try to elaborate on this belief system: https://github.com/akkartik/mu/blob/07b54625f7/001help.cc#L7...
  27. …situation. In a VM and programming language and operating system that I wrote from scratch[1]. https://github.com/akkartik/mu/blob/a90faae990/edit/003-shor... [2] Moreover, I lived with it for months before I decided it wasn't worth the…
  28. …they impose on the programmer aren't insurmountable. We'll see. (More info on the project: https://github.com/akkartik/mu#readme . On its memory model: https://news.ycombinator.com/item?id=11855470 . On the deep-copy implementation:…
    comment by akkartik · 2016-07-24 · in Reference Counting: Harder Than It Sounds
  29. …all sources of undefined behavior. http://akkartik.name/post/mu http://akkartik.name/about https://github.com/akkartik/mu
  30. …brackets with colons: address:array:character But you have full expressiveness if you need it. [1] https://github.com/akkartik/mu
  31. I use a layer-based approach described at http://akkartik.name/post/wart-layers in https://github.com/akkartik/mu . It's 20kLoC of literate code, and I was super concerned about optimizing it for non-linear reading, because that's how I…
  32. I'm exploring something similar in my project: https://github.com/akkartik/mu . Where C was designed as a more portable+expressive assembly language, Mu is designed as a more portable+safe assembly language. You have to manually manage…
  33. …it usually takes. (I still can't get the feature to work in gdb..) Try it out: $ git clone https://github.com/akkartik/mu $ cd mu $ ./mu browse-trace .traces/factorial-test It'll take ~30s to compile the first time you run it (C compiler…
  34. …in these questions stems from trying to program in an idealized assembly language for the past year: http://github.com/akkartik/mu . After writing 10kLoC of assembly to build a simple text editor ( http://akkartik.name/post/mu ) I'm…
  35. …getting more and more brittle under the weight of added constraints. (I work on this problem: https://github.com/akkartik/mu/blob/7f5a95cdbe/Readme.md . It's been 31 days since I last got on my soapbox in this forum:…
  36. …the same benefits and more. As a concrete proposal, here's something I wrote a couple of days ago: https://github.com/akkartik/mu/blob/14d3dacc4d/Readme.md . I deleted it yesterday because a Readme feels like the wrong place for it, but…
    comment by akkartik · 2016-03-11 · in What Makes Software Good?
  37. …it can check. You lose the expressivity of conventional HLLs, but still get their safety benefits. https://github.com/akkartik/mu
    comment by akkartik · 2016-03-08 · in On the Madness of Optimizing Compilers
  38. …automatic. Some links about my project in case you'd like to learn more: http://akkartik.name/about; http://github.com/akkartik/mu#readme . I'd love to hear your thoughts, either here or over email (address in profile). [1]…
    comment by akkartik · 2016-02-28 · in All Software is Legacy
  39. …added the warning.. and found several bugs in my mu code. Thanks! I've credited you in this commit: https://github.com/akkartik/mu/commit/8fd27372b6
  40. …it; I haven't touched it in a while. Further suggestions most welcome. [1] Colorized version of https://github.com/akkartik/mu/blob/379244666c/010vm.cc
  41. Try the README: https://github.com/akkartik/mu/blob/master/Readme.md It's a new programming language. edit: The source seems to be structured intentionally in a recommended reading order. See the comment at the top of…
  42. …undertake dramatic rewrites, and to reuse code between projects/rewrites. (More info on my project: https://github.com/akkartik/mu )
    comment by akkartik · 2016-02-13 · in Moving on from Picasa
  43. My assembly language for beginners: https://github.com/akkartik/mu . Rationale: http://akkartik.name/post/mu
    comment by akkartik · 2015-12-15 · in Why I no longer use MVC frameworks
  44. …address to an illegal value. More info about the goal and rationale: http://akkartik.name/post/mu; http://github.com/akkartik/mu . I also recently found out about http://eigenstate.org/myrddin which seems more mature with very similar…
  45. Author here. OP isn't exactly the best link to start reading about this project. Please check out http://github.com/akkartik/mu#readme and tell me what you think.
  46. …with my current project. Problem: http://akkartik.name/about . Ongoing attempt at a solution: http://github.com/akkartik/mu .
    comment by akkartik · 2015-03-09 · in Outcome-Oriented Programming