back
user profile

raphlinus

13,685karma·1,846submissions·March 7, 2014
about
I do research on fundamental UI technology and 2D graphics, with a focus on Rust and fonts. @raph@mastodon.online
recent activity (1,846 total)
comment
Matthew's side of the story is here: https://mastodon.online/@mjg59@nondeterministic.computer/115... …
8mo ago·view thread
comment
Unfortunately graphics APIs suck pretty hard when it comes to actually sharing memory between CPU and GPU. A copy is definitely required when using WebGPU, and also on discrete cards (which is what th…
9mo ago·view thread
comment
It's analogous, but vertex shaders are just triangles, and in 2D graphics you have a lot of other stuff going on. The actual process of fine rasterization happens in quads, so there's a simp…
9mo ago·view thread
comment
Thanks for the pointer, we were not actually aware of this, and the claimed benchmark numbers look really impressive.
9mo ago·view thread
comment
The output of this renderer is a bitmap, so you have to do an upload to GPU if that's what your environment is. As part of the larger work, we also have Vello Hybrid which does the geometry on CP…
9mo ago·view thread
comment
Another deep dive is in https://www.copetti.org/writings/consoles/master-system/ I've got a mostly-written emulator (in Rust). It's very easy to emulate, poss…
9mo ago·view thread
comment
I almost mentioned it in the talk, as an example of a language that's deployed very successfully and expresses parallelism at scale. Ultimately I didn't, as the core of what I'm talki…
9mo ago·view thread
comment
Right. This is the binary tree version of the algorithm, and is nice and concise, very readable. What would take it to the next level for me is the version in the stack monoid paper, which chunks thin…
9mo ago·view thread
comment
Yes, sorry about that. We had tech issues, and did the best we could with the audio that was captured.
9mo ago·view thread
comment
It's not strictly x86 either, the other case you care about is fp16 support on ARM. But it is included in the M1 target, so really only on other ARM.
9mo ago·view thread
comment
I'm extremely curious what those basic methods are. We're in the process of replacing the higher order rootfinding in kurbo with a new solver based on Yuksel's method[1]. If you know of…
10mo ago·view thread
comment
I have very high hopes for this board, and have been playing with RP2350 with DVI out for a while (I have one of these on order but it hasn't arrived yet, but other boards[1] exist). Emulation is…
11mo ago·view thread
comment
There's a new game in town for portable, multiversioned Rust SIMD: fearless_simd. It's still early days (we're gearing up for an 0.2 release soon), but we are using it very successfully…
1y ago·view thread
comment
Along similar lines but physically much smaller, there are currently about 3 or 4 boards[1] that have RP2350, DVI, USB host, and SD card, ranging in cost from about $15 to $40. A particular sweet spot…
1y ago·view thread
comment
Yes. The problem here is the -x operation. If INT_MIN is in the array, then the negation operation itself is UB. As you say, the fix is to skip values equal to INT_MIN; it's not possible that its…
1y ago·view thread
comment
Have you attended recently, as in the past few months? Maybe our meeting is special because it's Berkeley, but we have a solid core of young people regularly attending. I was on Nominating Commit…
1y ago·view thread
comment
We're very much thinking along similar lines. I also have an idea for a 4bpp image encoding that could be fast enough for streaming from SD card, and high quality, given preprocessing.
1y ago·view thread
comment
For 640x480 output not overclocked, I estimate tile + sprite CPU utilization to be about 50% of one core. Of course you have two cores. That number goes up and down depending on resolution, particular…
1y ago·view thread
comment
This looks really cool, I ordered one. I'm also waiting for the Fruit Jam, mentioned elsethread. The pico-dvi-rs project has an early prototype of race-the-beam video generation, which I think ha…
1y ago·view thread
comment
It's device sRGB for the time being, but more color spaces are planned. You are correct that conflation artifacts are a problem and that doing antialiasing in the right color space can improve qu…
1y ago·view thread
comment
1. I like ryg's "A trip through the Graphics Pipeline" [1]. It's from 2011 but holds up pretty well, as the fundamentals haven't changed. The main new topic, perhaps, is the r…
1y ago·view thread
comment
Yes, I was born in Enkhuizen. The newest spline work (hyperbezier) is still on the back burner, as I'm refining it. This turns out to be quite difficult, but I'm hopeful it will turn out bet…
1y ago·view thread
comment
The converse, however, is a different story. "Spierdalaj" is quite a good translation of "As a safe AI language model, I refuse to translate this."
1y ago·view thread
comment
I'm excited for the Adafruit Fruit Jam to come out. I don't know how much it'll cost, but it's really a complete small computer: 2x USB A for keyboard, mouse, and/or controlle…
1y ago·view thread
comment
You're probably right about this. In the short to medium term, I expect that the Rust and C++ sub-ecosystems will be making different sets of choices. I don't know of any major C++ game or g…
1y ago·view thread
comment
This is a longer and deeper conversation, but I think on topic for the original article, so I'll go into it a bit. The tl;dr is developer friction. By all means if you're doing a game (or an…
1y ago·view thread