Marvin Hagemeister's Avatar

Marvin Hagemeister

@marvinh.dev

I build simple and fast things. Part of Preact team.

2,311
Followers
161
Following
261
Posts
18.11.2023
Joined
Posts Following

Latest posts by Marvin Hagemeister @marvinh.dev

We improved batching behavior in Signals-core.

If a signal goes A → B → A inside a batch, dependents will no longer re-run if the final value equals the starting value.

Example:

const count = signal(0)

batch(() => {
count.value = 1
count.value = 0
})

08.03.2026 10:51 👍 36 🔁 3 💬 1 📌 0
Preview
Beyond Static Resources: Delta Compression for Dynamic HTML Compression Dictionary Transport (RFC 9842), authored by Patrick Meenan and Yoav Weiss, lets browsers...

Good blog post from Carlos (a colleague) about a new proposed addition to Compression Dictionaries allowing short-lived HTML pages to continue to be used as compression dictionaries for longer:

dev.to/carlosmateom...

#webperf

07.03.2026 11:51 👍 10 🔁 5 💬 0 📌 1
Preview
Blast Radius #1: The Svelte Compiler Got 55% Faster. The Fix Was 3 Files. A developer asked Svelte about performance. Then he fixed it himself — 5 PRs in 8 days. Here's what the dependency graph reveals about his 3-file fix.

New blog series: Blast Radius

We take real open-source PRs and run them through a 3D dependency graph to show what the diff missed.

First up: the Svelte PR that made the compiler 55% faster. 3 files changed. 2,036 affected.

codelayers.ai/blog/blast-radius-svelte-compiler-performance

06.03.2026 17:46 👍 44 🔁 3 💬 2 📌 1
Post image

Deno v2.7.2 is released

`deno install` is now dramatically faster

Full release notes at: github.com/denoland/den...

03.03.2026 16:26 👍 51 🔁 4 💬 2 📌 0
A clean looking graphic with sharp lines and crisp colour

A clean looking graphic with sharp lines and crisp colour

The same graphic, but muddy and blocky. The previously sharp lines are blurry.

The same graphic, but muddy and blocky. The previously sharp lines are blurry.

I think it's often overlooked that AVIF is also really good at flat colour & sharp edges.

Don't go straight for a lossless format just because it's the kind of image that would look bad as a JPEG.

Here's an 11kb image as an AVIF, vs JPEG XL.

02.03.2026 14:08 👍 145 🔁 22 💬 9 📌 1
Post image

JSR now lets you diff the generated documentation between released versions of a package, making it easy and clear what has changed in a visual manner!

Example: jsr.io/@david/gagen...

27.02.2026 16:16 👍 110 🔁 15 💬 3 📌 2
Video thumbnail

Can you spin environments in 200ms with all the dependencies installed and ready to use?

You can with snapshots in Deno Sandbox!
Do the setup once, reuse it forever.

See how in this demo with Python
youtu.be/mASEjxpuDTM

24.02.2026 19:18 👍 30 🔁 3 💬 2 📌 0

Curiosity is what fuels progress.

18.02.2026 06:26 👍 11 🔁 1 💬 0 📌 0
Video thumbnail

HTML might be getting a new type of tag, which… hasn't happened this millennium. Here's the new syntax, and how it works:

16.02.2026 14:46 👍 298 🔁 49 💬 14 📌 8

This is wild. AI is being weaponized against OSS maintainers by automatically writing angry blog posts when the AI's PR isn't merged.

12.02.2026 17:20 👍 23 🔁 2 💬 0 📌 0

cc @boshen.github.io

12.02.2026 08:47 👍 2 🔁 0 💬 0 📌 0
Preview
A Broken Heart Or, getting a 100x speedup with one dumb line of code.

I love a good bug hunt. What a doozy. allenpike.com/2026/a-broke...

11.02.2026 16:49 👍 31 🔁 6 💬 3 📌 2

Seeing how quickly @npmx.dev came onto the scene and how many developers from different backgrounds came together to build it gives me hope for the future. The real value is always the people and the culture surrounding them.

10.02.2026 20:39 👍 83 🔁 12 💬 2 📌 0

Here is one of the dumbest things about vibe coding that I don't see a lot of people talking about

Imagine you're an open source maintainer and someone opens up a pull request against your repository that they vibe coded. They may or may not tell you they vibe coded it; it doesn't really matter… 🧵

07.02.2026 02:05 👍 310 🔁 70 💬 16 📌 16

The Graph view is cool but... The updates view is pretty awesome as well

06.02.2026 10:05 👍 10 🔁 1 💬 0 📌 0

One of the bigger challenges I have had promoting @solidjs.com is assuming developers have a general idea of how their tools work. I'd show off fine-grained rendering, and be met with "Isn't that how React works?" I'd find myself educating them more about their existing tools.

15.05.2025 20:38 👍 127 🔁 11 💬 11 📌 3
Video thumbnail

Deno Sandbox

◽ Volumes
◽ Snapshots
◽ Secrets

👉 See the announcement video for more

deno.co/announcing/s...

05.02.2026 16:43 👍 41 🔁 7 💬 0 📌 2
Preview
I Made A Real-Time Build Visualizer Sometimes software takes a long time to compile just due to how much code it has, like in the LLVM project. But often a build is slower than it could be for dumb, fixable reasons. I’ve had the suspici...

Great read by @danielchooper.bsky.social who just build his own built time visualization with minimal code

danielchasehooper.com/posts/syscal...

05.02.2026 18:55 👍 6 🔁 0 💬 0 📌 0
Intent to Prototype: Parse processing instructions in HTML

Oooo it's been a while since we had a new tag type for HTML! I'm hoping this can unlock things like declarative CSS highlights groups.google.com/a/chromium.o...

04.02.2026 00:56 👍 40 🔁 6 💬 3 📌 1

Congrats 🎉

03.02.2026 16:48 👍 1 🔁 0 💬 0 📌 0

Not sure. Haven't noticed a pattern so far. Waiting on network seems plausible although it seems odd that it freezes the UI too.

02.02.2026 12:29 👍 0 🔁 0 💬 0 📌 0

I'm surprised how often claude code just freezes. Like doesn't accept any input anymore, shows no update in the UI. It's completely dead. No high CPU usage either, so probably not an infinite loop.

Happens around 5 times per day for me.

01.02.2026 23:40 👍 11 🔁 0 💬 6 📌 0

Nah, you only need lifetimes when the language has references, see bsky.app/profile/stev...

31.01.2026 18:21 👍 2 🔁 0 💬 0 📌 0

oh god, that's nasty. Something malicious code would do

31.01.2026 17:35 👍 3 🔁 0 💬 1 📌 0

Yeah Go has lots of things going for it but I'm looking for something without GC. And I wish the type system would be more powerful in Go

31.01.2026 09:06 👍 1 🔁 0 💬 1 📌 0

Oh nice, that's the first time hearing about Moonbit. I have some reading to do! Thanks for sharing

31.01.2026 09:05 👍 0 🔁 0 💬 1 📌 0

That sounds like zig is only aimed at experienced devs.

31.01.2026 07:42 👍 2 🔁 0 💬 0 📌 0

Yeah, I think it should work without GC. GC has it's uses, but I basically just want a simpler and faster to compile rust 👀

30.01.2026 22:54 👍 0 🔁 0 💬 1 📌 0

And I know full well that Deno will always be written in Rust, but nonetheless I kinda want to explore alternative ways. And compile times are always an issue.

30.01.2026 22:05 👍 2 🔁 0 💬 1 📌 0

I'm at this stage too. What motivates me to keep pursuing it is the feedback loop. I might be biased but compiling a huge code base like Deno takes a looooot of time. This makes AI not as effective as it could be.

A faster feedback loop would make AI more effective

30.01.2026 22:05 👍 2 🔁 0 💬 1 📌 0