4 ms·
Not sure what's going on with this website, but I'm happy to see interest in my project: https://github.com/akkartik/mu#readme https://github.com/akkartik/mu#r
by akkartik 6y ago
Not sure what's going on with this website, but I'm happy to see interest in my project:
https://github.com/akkartik/mu#readme https://github.com/akkartik/mu#readme
OP is an old version of the Readme from a year ago. Here's the current page on SubX: https://github.com/akkartik/mu/blob/main/subx.md https://github.com/akkartik/mu/blob/main/subx.md
- jiofih 6y agoThanks for that. This article is nearly impossible to read on mobile due to word wrapping and riddled with ads. My first thought was “can this lead to easier implementation of a higher level language” and it seems Mu is exactly that? What’s performance like?
- akkartik 6y agoYeah! Most statements translate to a single instruction, and you have to pick registers, so even though performance hasn't been a priority I think it'll tend to be pretty good. It does have some simplifications for safety and clarity rather than optimization. For example, setting a register to zero generates a copy with a 32-bit immediate rather than the xor trick most Assembly programmers would use.
- ant6n 6y agoI’m having the same problem reading the website (wordbreaks, ads). I wonder: * is there a list of instructions that are included? * is it possible to target this x86 subset with some C compiler?
- akkartik 6y agoList of supported instructions: https://github.com/akkartik/mu/blob/main/subx_opcodes https://github.com/akkartik/mu/blob/main/subx_opcodes I haven't tried to implement C, but can't immediately think of a reason why not. Forks strongly encouraged; if you decide to try to implement one, I'd love to contribute.
- dang 6y agoHmm - I've changed the URL to that from https://www.mdeditor.tw/pl/2ZsX https://www.mdeditor.tw/pl/2ZsX. (Thanks!) Was that latter copying your content from somewhere? Also - if you want a different title we can change it.
- akkartik 6y agoThe title seems fine! > Was that latter copying your content from somewhere? It had occurred to me that it might be a Markdown editing service. Maybe somebody tried it out with just the closest Markdown they happened to have on hand? However, looking closer at the Mu history, this seems like the closest version: https://github.com/akkartik/mu/blob/61b8fe6b18c6314268ed24d79bf99de6f55be63b/subx/Readme.md https://github.com/akkartik/mu/blob/61b8fe6b18c6314268ed24d7... The prose isn't identical. I think somebody was rearranging the prose as they made sense of it. So more like notes, maybe? I'm very flattered <3 I'd be ok with either the original link or my link above for precision. And the title could also have a "(2019)".
- drudru11 6y agoNeat approach. I like how you are trying to simplify the problem.