Ben Visness's Avatar

Ben Visness

@bvisness.me.bsky.social

Handmade Network lead. WebAssembly engineer at Mozilla. Mentor for FRC Team 2175. https://bvisness.me/ Twitter: @its_bvisness Mastodon: @bvisness@mastodon.gamedev.place

144 Followers  |  2 Following  |  20 Posts  |  Joined: 20.09.2023  |  1.5278

Latest posts by bvisness.me on Bluesky

No, it is a bespoke tool and the layout algorithm is specifically designed for control flow graphs. There is no description language or whatever.

30.10.2025 13:41 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Inspiring words from the Handmade Network Discord today

03.07.2025 20:51 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

the one time git asks for my permission first is the one time it absolutely does not matter

02.07.2025 17:30 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Buongiorno: Detailed Writeup Buongiorno attempts to map out mDNS and DNS-SD activity by inspecting the raw stream of mDNS packe…

A larger write-up on the project can be found here, with background info about mDNS and DNS-SD: handmade.network/p/688/buongi...

16.06.2025 15:51 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Oh also I forgot to post my jam project here on Bluesky - here's Buongiorno, my tool for mapping out mDNS and DNS-SD services. It captures mDNS packets to show a graph of services being requested and advertised, e.g. printers, AirPlay, Handoff, and more.

16.06.2025 15:50 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
X-Ray Jam A jam to find out how software works on the inside. June 9 - 15 on the Handmade Network.

The X-Ray Jam is complete! I had a great time and we have 10 lovely submissions you can look through: handmade.network/jam/x-ray-2025

We're planning a recap live show in the near future, so stay tuned for that.

16.06.2025 15:48 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Behold! A list of mDNS services in my house. (This is basically just the output of `avahi-browse`, so nothing too novel yet.)

12.06.2025 02:56 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
The DNS-SD spec with the following highlighted: β€œa web server typically has multiple pages”

The DNS-SD spec with the following highlighted: β€œa web server typically has multiple pages”

The things you learn from reading specs

11.06.2025 02:04 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Highlighted printouts of mDNS-related articles and specs.

Highlighted printouts of mDNS-related articles and specs.

The X-Ray Jam is underway (handmade.network/jam/x-ray-2025) and I am exploring mDNS.

First step: testing if mDNS works on my printer. It does.

09.06.2025 23:27 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I'm tackling mDNS, hopefully making a tool that maps out the state of all my network devices so I can see why devices only seem to show up like 60% of the time πŸ˜ƒ

02.06.2025 17:47 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
X-Ray Jam A jam to find out how software works on the inside. June 9 - 15 on the Handmade Network.

The X-Ray Jam is just a week away! If you are interested in tools that dig into software internals then you should participate or at least follow along.

handmade.network/jam/x-ray-2025

02.06.2025 17:47 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

This is for a WASM record/replay tool I'm building for work. It instruments arbitrary WASM modules to record specific function calls to a log, then can recreate the module state to replay them.

19.05.2025 22:24 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
"Very stupid RLE", where runs of zeroes are collapsed but individual letters are spaced out by four bytes each

"Very stupid RLE", where runs of zeroes are collapsed but individual letters are spaced out by four bytes each

"Slightly smarter RLE", where long runs of unique characters are contiguous

"Slightly smarter RLE", where long runs of unique characters are contiguous

I have started to go down the compression rabbit hole. The compressor and decompressor are handwritten WASM.

Uncompressed: 52MB
Very stupid RLE: 182KB
Slightly smarter RLE: 65KB

19.05.2025 22:24 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Tweet from Fabian Giesen (@rygorous):

look, I'm sorry, but the rule is simple:
if you made something 2x faster, you might have done something smart
if you made something 100x faster, you definitely just stopped doing something stupid

Tweet from Fabian Giesen (@rygorous): look, I'm sorry, but the rule is simple: if you made something 2x faster, you might have done something smart if you made something 100x faster, you definitely just stopped doing something stupid

26.04.2025 02:30 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Spreadsheet showing results from a Flutter benchmark, showcasing a 15%+ performance improvement.

Spreadsheet showing results from a Flutter benchmark, showcasing a 15%+ performance improvement.

Sometimes you spend weeks on a performance optimization to get 0.5% faster. Other times you spend a day tweaking your GC code and get 15%+ faster.

26.04.2025 02:30 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Unwind

You can subscribe on podcast platforms at handmade.network/podcast/, and video versions are available on both YouTube and Spotify. I'm so excited to be doing this again πŸ˜„

08.03.2025 16:26 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
How does a web dev become a CPU engineer? // Unwind Ep. 8
YouTube video by Handmade Network How does a web dev become a CPU engineer? // Unwind Ep. 8

We're doing a Handmade podcast again!

Our first episode of 2025 is an interview with aolo2, a web dev turned CPU engineer, about several apps he has made from scratch: a collaborative whiteboard, a Handmade Slack alternative, and a CPU trace viewer.

www.youtube.com/watch?v=b74I...

08.03.2025 16:26 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
File Pilot - Next-gen file explorer File Pilot is a file explorer built from scratch for light-speed performance, with a modern and robust interface.

A file explorer called File Pilot just released in open beta yesterday: filepilot.tech

It is so insanely fast that it makes you question how all other software is developed. The Handmade community does good work.

19.02.2025 13:35 β€” πŸ‘ 9    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

The point of my post was that optimizations to Memory64 will NEVER be able to fully eliminate bounds checks the same way we can for 32-bit wasm.

16.01.2025 14:46 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Is Memory64 actually worth using? After many long years, the Memory64 proposal for WebAssembly has finally been released in both Firefox 134 and Chrome 133. In short, this proposal adds 64-bit pointers to WebAssembly.

After working hard to get 64-bit WebAssembly released in browsers, I would now like to discourage most people from using it πŸ˜›

(My first post on the SpiderMonkey website btw, which is a fun milestone)

spidermonkey.dev/blog/2025/01...

15.01.2025 22:00 β€” πŸ‘ 16    πŸ” 5    πŸ’¬ 1    πŸ“Œ 2

@bvisness.me is following 2 prominent accounts