Better HN
topnewbestaskshowjobs
Log inSign up

stevefolta

149 karma · joined Jun 28, 2015 (11y ago) · 83 submissions

Submissions

comment 3w ago · link · parent

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>.

comment 3w ago · link · parent

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.

comment 3mo ago · link · parent

Someone turned me on to this recently, but mainly it ended up getting me back into Timeguessr. (I'm much better at Timeguessr.)

comment 5mo ago · link · parent

"If you have a procedure with ten parameters, you probably missed some." -- Alan Perlis

comment 6mo ago · link · parent

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!

comment 8mo ago · link · parent

There's also my own "KX" (<https://codeberg.org/stevefolta/kx>), a very similar project. Mere looks like it wants to be more serious in the long term.

comment 10mo ago · link · parent

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.

comment 10mo ago · link · parent

Nice! Compiles in 2s on my unexceptional hardware. But it lacks my other main desiderata in a new language: string interpolation and kebab-case.

comment 10mo ago · link · parent

Hooray! Personally, I'm hoping this'll lead to support for the GPU on Spacemit SoCs.

comment 11mo ago · link · parent

I’ve often heard “Fontucky” for Fontana CA.

comment 1y ago · link · parent

In synthesizers, diodes are used in oscillators to shape triangle waves into sine waves.

comment 1y ago · link · parent

Hainbach's video on the collection: <https://www.youtube.com/watch?v=WxYGxpXBEos&t=2024s>

comment 1y ago · link · parent

This video says latency is two samples: <https://www.youtube.com/watch?v=TzEoYlaj9u8&t=110s>.

comment 1y ago · link · parent

Once you cut through all the verbiage, this is just a re-invention of Woosh (https://woosh.sourceforge.net/).

comment 1y ago · link · parent

But if that's what they want, they may be driving out the exact wrong subset of their devs.

comment 1y ago · link · parent

Another interesting one is Scroll, a scrolling-tiling fork of Sway: https://github.com/dawsers/scroll/

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

No it can't. Not for RISC-V/musl, so I'm sure that must be true for other platforms too.

comment 1y ago · link · parent

The downside of QBE is that it doesn't have a way to generate debug symbols. But I still love and use it.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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).

comment 1y ago · link · parent

> 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.

comment 1y ago · link · parent

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".

comment 1y ago · link · parent

> ...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?

comment 2y ago · link · parent

What is nongnu.org, and what is its relationship to gnu.org?

comment 2y ago · link · parent

Yeah, Rust is the language for people who think C++ is not complex (or hostile) _enough_.

comment 2y ago · link · parent

Yeah, it seems odd that it has PowerPC but not RISC-V.

comment 2y ago · link · parent

Not true, the JS _does_ get a chance to prevent the search behavior. It's not a problem with other games.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

I tried looking at code in Mebinac, and was surprised at how strongly it reminded me of old screenshots of Smalltalk.
123