« * K @quelklef.bsky.social

Maynard @quelklef.bsky.social

2026-11-27 08:27 UTC

like wtf is even happening here? ``` fn make_ctr() { let mutable value = 0; return { get: fn () => value; set: fn (v) => value = v; }; } ``` Each call to `make_ctr` spins up a new identity in the grand aether (ie, the heap) and provides a handle to it. wtf??

A reply in a thread.

2 likes, 0 reposts, 1 replies

3 Next post4 More from @quelklef.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup