[14/*] As an example of a possible direction to go, perhaps we could have a new directive to the compiler that you could bracket pieces of code with that you have crafted carefully and analyzed.
Except it doesn't? That looks exactly as crappy as the CLANG version, where the syntax is unreadable due to tons of unnecessary markup.
-
-
Not disagreeing, but curious (again, not zealot / defending Zig at all)- I'd want to see a 1:1 mapping of variables to registers, then my asm code, then a map from regs I care about to output values. I do agree that syntax is gross but don't have any better ideas :( Got anything?
-
I actually don't want that. I want automatic register assignment most of the time, and only when I want to manually specify all registers do I want to do that. Most of the time if I specify the exact ASM stream a register allocator can figure it out.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.