stevefolta
stevefolta on Hacker News
Looks nice and small. Too bad it doesn't quite actually build (on Linux). Also, no string interpolation (AFAIC) and no kebab-case.
Here's my current stab at a small compiled language: <https://codeberg.org/stevefolta/lx-2025>.
Re "c)": No, self-hosting is the biggest temptation, and the worst mistake, for any programming language. It's death to bootstrapping. However, if you do succumb to the temptation to self-host, having a C backend, as Copper does, is probably the best way to handle it.
Someone turned me on to this recently, but mainly it ended up getting me back into Timeguessr. (I'm much better at Timeguessr.)
"If you have a procedure with ten parameters, you probably missed some." -- Alan Perlis
Looks like a new 1.3 release is coming very soon.
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!
Oh, it _does_ have string interpolation, my bad. Sadly, not by default -- you still have to go back and add an "f" before the string once you've started typing it and then realize that you want an interpolated string. Also, it doesn't always work -- if I define two interpolated string variables in one function, GCC chokes in a way I'm not understanding. And every interpolated string variable consumes 4K of global memory.
Nice! Compiles in 2s on my unexceptional hardware. But it lacks my other main desiderata in a new language: string interpolation and kebab-case.
Hooray! Personally, I'm hoping this'll lead to support for the GPU on Spacemit SoCs.
I’ve often heard “Fontucky” for Fontana CA.
In synthesizers, diodes are used in oscillators to shape triangle waves into sine waves.
But if that's what they want, they may be driving out the exact wrong subset of their devs.
I still have one of these that I bought back in its heyday, but it doesn't work. I suspect it just needs new belts.
No it can't. Not for RISC-V/musl, so I'm sure that must be true for other platforms too.
The downside of QBE is that it doesn't have a way to generate debug symbols. But I still love and use it.
Oh, perfect, thanks! I've been using Niri for less than a week, hadn't got to using named workspaces yet, and missed the bit in the docs where it says they can be empty.
The one caveat -- and it's a big one -- is that Niri numbers workspaces dynamically, and won't let you have an empty workspace (except temporarily).
> In the ENIAC the form of the [sic] that [program] storage (decimal) was quite different to that of the data that ENIAC operated on (binary).
Huh? ENIAC was a decimal machine all the way through.
Depends on your definition of "a good name". It seems like yours includes "must be a short English word", but doesn't include things like "is easily web-searchable" and "doesn't conflict with existing names". Throwing out the "short English word" criterion opens up a universe of names like "Wubulus" or "Flarnit".
> ...nobody really should be using either of them.
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?
What is nongnu.org, and what is its relationship to gnu.org?
Yeah, Rust is the language for people who think C++ is not complex (or hostile) _enough_.
Yeah, it seems odd that it has PowerPC but not RISC-V.
Not true, the JS _does_ get a chance to prevent the search behavior. It's not a problem with other games.
Too bad the keyboard doesn't work (Firefox with "Search for text when you start typing" on). They didn't do the "event.preventDefault(); event.stopPropagation();" dance.
I tried looking at code in Mebinac, and was surprised at how strongly it reminded me of old screenshots of Smalltalk.