Recent submissions

Comment · 3 days ago
So, it’s shareware? :)
Comment · 28 days ago
Huh, I kinda thought something like this was already being done, but perhaps it was a bit later stage. Neat!

A kind of related shower thought I had, could rustc not instantiate generic methods, but write out what it expects to find (std::Vec<String>::push), and a separate build process listens to these, but makes sure already built ones are not built multiple times from the whole build.

I don’t actually know how much of duplication there usually is, but I had gotten the impression that it would be part of the problem.

Of course I’m no compiler engineer, and I’m sure there are complications like per crate build profiles, etc.

Comment · 1 month ago
Nice, always good to have some extra checking.

While most of the time you want the memcpy semantics, but I wonder if naga could be used to compute a facet SHAPE from the shader. Maybe it could be used to "serialise" the cpu format to gpu format, without them needing to be padding/repr-compatible (or even field-reorder-compatible!).

Another option of course would be to parse the struct with naga and just always generate the rust counterpart, then it should always be compatible and up-to-date, but then you have codegen in your build step.

Comment · 1 month ago
Comment · 1 month ago
This irks me as well. There have been perfectly good words to describe these.

The models are freeware, and some have additional restrictions in the license that make them shareware, imho!

Comment · 2 months ago
I believe there are several crates (and other languages too) inspired by the original cassowary paper, don't know how mature they are though.
Comment · 5 months ago
Maybe it’s for the llm tool use PATH?

That was the most plausible reason to even mention it, that I could think of.

Comment · 6 months ago
Comment · 8 months ago
Comment · 1 year ago
Comment · 1 year ago
> Every once in a while I pull up some Wikipedia article with idle curiosity of "If I were transported back in time, could I usefully help this get invented?"

This reminds me of the book “How to invent everything” by Ryan North, to kind of see the fast-path for many inventions :)

Comment · 1 year ago
Comment · 1 year ago
Heh, little prince tries gig work ;)
Comment · 1 year ago
Heh, in Finnish it is often called “miuku mauku”, almost like “meow meow”, or perhaps “meowdy meowdi”. Didn’t see any other cat-themed nick names.
Comment · 1 year ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton