ps
banner
paultarvydas.bsky.social
ps
@paultarvydas.bsky.social
Why is programming so hard? Thinking about programming at the hardware level.
Containerization and processes are very heavy weight solutions. At the language level, just using a queue class and closures/anonymous functions is enough and much lighter weight.
November 20, 2025 at 3:56 PM
Here's one (Statecharts Papers We Love). I will follow up with more stuff about PBP, etc. - if not pls remind me. Today, esp. is weird and I expect to be forgetful ... guitarvydas.github.io/2023/11/27/S...
Statecharts papers we love video
Statecharts Papers We Love Video
guitarvydas.github.io
November 20, 2025 at 3:52 PM
[meta: I can provide links to my Statecharts slides and PBP stuff if you'd like].
November 20, 2025 at 3:11 PM
This "other" model can be programmed using Harel Statecharts and my PBP stuff. It can be done and IMO, it's 10x simpler.
November 20, 2025 at 3:11 PM
That model doesn't need magical, complex ideas like cache coherency by default - and - it fits the notion of geographically distributed nodes better than the memory-sharing model does.
November 20, 2025 at 3:10 PM
The other model is: using over-the-hood synchronization, like explicit network protocols.
November 20, 2025 at 3:10 PM
The function-based model that we adopted was one of memory-sharing.
November 20, 2025 at 3:10 PM
I think that it's deeper than that, although I *know* that using multiple, simpler notations is a good thing.
November 20, 2025 at 3:09 PM
I'm on a Mac using bluesky in my browser (Safari). I had to chop the response up into 4 parts to make it fit the arbitrary character limits. I posted one after the other. On my screen, it shows the 4 parts in reverse order...
November 20, 2025 at 3:01 PM
[meta: obviously, I don't yet know how to control and manipulate responses. Read the next 4 comments in reverse order.]
November 20, 2025 at 2:39 PM
It would be much simpler to grow an IC with 100s of MC6800s on it, instead of bloating ICs with caches and memory-sharing.
November 20, 2025 at 2:29 PM
(1) The basic model of the innards of a CPU is a single-thread, step-wise recipe, but, (2) the basic model of asynchronous devices is that of many CPUs each with their own private memory (after 50 years, we're kinda backing into that by inventing L1 caches.
November 20, 2025 at 2:29 PM
Even Smalltalk, IMO, doesn't do message-passing - it does synchronous method calling.
November 20, 2025 at 2:28 PM
Nope, it's about /not/ basing every programming language on the concept of how assembler works - synchronous, sequential. Function-based programming (and FP) has its place, but that place ain't one of dealing with asynchrony.
November 20, 2025 at 2:28 PM
One must create additional code to implement isolation using functions (e.g., queue classes or operating systems). CPUs _can_ implement paradigms that differ from the popular function-based paradigm, such as Prolog and Forth.
November 16, 2025 at 3:24 AM
The brevity of this statement belies its depth. Functions cannot, by definition, isolate data _and_ control flow.
November 16, 2025 at 3:23 AM