News for hackers. Stuff that matters.
Re:Give me back my monolith (2019) by nicoburns on Tuesday May 10, 2022 @03:31PM (#31331530)
How is that any different to calling a function on a class? That's technically not class A modifying class B's memory either. B modifies it's own memory in response to a message (function parameters) from A. The message going over a network doesn't make that fundamentally different.
Re:Give me back my monolith (2019) by staticassertion on Tuesday May 10, 2022 @03:35PM (#31331577)
Function parameters aren't messages. They're shared state. I'd suggest watching the talk and reading about message passing systems in general.
Re:Give me back my monolith (2019) by blowski on Tuesday May 10, 2022 @03:43PM (#31331682)
“Watch this famous video” is not a great response. Many of us watched it years ago and seem to have interpreted it rather differently.
Re:Give me back my monolith (2019) by staticassertion on Tuesday May 10, 2022 @03:44PM (#31331698)
Then you interpreted it incorrectly. I'm not inclined to teach you via HN about a subject that's well documented by resources I've already linked.
Re:Give me back my monolith (2019) by nicoburns on Tuesday May 10, 2022 @04:22PM (#31332167)
I suppose if you mutate them. But we have a linter in place and a CI system that enforces it that prevents that.
Re:Give me back my monolith (2019) by staticassertion on Tuesday May 10, 2022 @04:27PM (#31332234)
There are many solutions, certainly. A network is one option, which I personally prefer, but as I said elsewhere it's a "choose the right tool for the job" kind of situation.