Readit News logoReadit News
_mrinalwadhwa_ commented on Direnv Is All You Need to Parallelize Agentic Programming with Git Worktrees   waldencui.com/post/direnv... · Posted by u/cui
_mrinalwadhwa_ · a day ago
Oh, that's a really nice approach. Thank you for sharing.
_mrinalwadhwa_ commented on The Isolation Trap: Erlang   causality.blog/essays/the... · Posted by u/enz
Twey · 2 days ago
Message passing is a type of mutable shared state — but one that's restricted in some important way to eliminate a certain class of errors (in Erlang's case, to a thread-safe queue with pairwise ordering guarantees so that all processing on a particular actor's state is effectively atomic). You can also pick other structures that give different guarantees, e.g. LVars or CRDTs make operations commutative so that the ordering problems go away (but by removing your ability to write non-commutative operations). The big win for the actor model is (just) that it linearizes all operations on a particular substate of the program while allowing other actors' states to be operated on concurrently.

Nobody argues that any of these approaches is a silver bullet for all concurrency problems. Indeed most of the problems of concurrency have direct equivalents in the world of single-threaded programming that are typically hard and only partially solved: deadlocks and livelocks are just infinite loops that occur across a thread boundary, protocol violations are just type errors that occur across a thread boundary, et cetera. But being able to rule out some of these problems in the happy case, even if you have to deal with them occasionally when writing more fiddly code, is still a big win.

If you have an actor Mem that is shared between two other actors A and B then Mem functions exactly as shared memory does between colocated threads in a multithreaded system: after all, RAM on a computer is implemented by sending messages down a bus! The difference is just that in the hardware case the messages you can pass to/from the actor (i.e. the atomicity boundaries) are fixed by the hardware, e.g. to reads/writes on particular fixed-sized ranges of memory, while with a shared actor Mem is free to present its own set of software-defined operations, with awareness of the program's semantics. Memory fences are a limited way to bring that programmability to hardware memory, but the programmer still has the onerous and error-prone task of mapping domain operations to fences.

_mrinalwadhwa_ · a day ago
> a thread-safe queue with pairwise ordering guarantees so that all processing on a particular actor's state is effectively atomic

> The big win for the actor model is (just) that it linearizes all operations on a particular substate of the program while allowing other actors' states to be operated on concurrently.

Came here to say exactly those two things. Your comment is as clear as it could be.

_mrinalwadhwa_ commented on Where can I find startups looking for fractional product leads?    · Posted by u/stulogy
_mrinalwadhwa_ · 2 months ago
If you're SF, I would highly recommend the local evening meetups. They are full of founders at a variety of early stages of their journey. Last night at a meetup at Github I met the following types: Series B+, Seed+, pre-seed, pre-product, just out of college started a company, not quit job yet etc.

If you're in some other city, try to find our where the local founders hangout - this might be meetups, specific universities, specific incubators etc.

_mrinalwadhwa_ commented on Why RSS Matters   werd.io/why-rss-matters/... · Posted by u/herbertl
_mrinalwadhwa_ · 2 months ago
This part of the post deeply resonates:

> .. The result will be that publishers will lose distribution sovereignty, and readers will lose one of the last tools that puts them, not algorithms, in control. If we want an internet where publishers retain autonomy and readers retain agency, we need to treat RSS not as legacy plumbing but as strategic infrastructure.

_mrinalwadhwa_ commented on I switched from VSCode to Zed   tenthousandmeters.com/blo... · Posted by u/r4victor
_mrinalwadhwa_ · 2 months ago
I love the minimalism and speed of Zed. The Zed Agent is exceptional!

It doesn't easily allow for parallel work like Claude Code in a Terminal but for a single session it is just as good plus it makes it really easy to switch between models. I also find it super useful when I'm working on our large monorepo, the minimal and fast ui makes it super easy to pull in the right context of folders, files, snippets etc to help the Agent.

u/_mrinalwadhwa_

KarmaCake day1January 5, 2026View Original