Here's my current stab at a small compiled language: <https://codeberg.org/stevefolta/lx-2025>.
148 karma · joined June 28, 2015
Here's my current stab at a small compiled language: <https://codeberg.org/stevefolta/lx-2025>.
I love QBE, but it does have its limitations: - It handles the ABIs for passing and returning structures in registers, but only with superfluous copies to and from the stack. - Can't generate debug info for data. This is probably due to lack of assembler support and/or complexity in the DWARF format. - The line number debug info directives are currently undocumented and don't support inlined functions.
But it's smol, effective, and it doesn't make you deal with phi nodes!
Huh? ENIAC was a decimal machine all the way through.
What's wrong with poll(), at least for smaller values of nfds? And what should one use instead when writing POSIX-compatible portable code, where epoll() and kqueue() don't exist?