0:00
30th of September ᛫ Varbergs Teater

We got Communist Nerves before GTA 6 lol

by Sahil PohareJust a curious guy building stuff for fun.

*From each according to capability, to each according to need.* Your camera needs a GPU. It doesn't have one. Another node on the network somewhere in the world does. One line: `Network.spawn([gpu: true], fn -> infer(frame) end)` Done. No servers. No orchestrators. No cloud. No Config Required. Everyone sharing their compute, exactly as Karl Marx and our great leaders intended. It's "Our Compute [*CommieBuggsBunny.gif] It's sortta like BitTorrent for BEAM. Nodes advertise themselves: `Network.advertise([gpu: 128, storage: 512]);` We'd find nodes (comrades) all across the network, connect, get things done and back. All with native OTP patterns. Tasks, Agents, GenServers send and recieve. All work natively. Nerves devices discover each other over mDNS or DHT or Rendevous or whatever the hell you could think of over libp2p, punch through NAT, form a sparse mesh using Partisan, and route work to wherever the capability exists using nothing but OTP primitives. Horde becomes the scheduler. The network assembles itself, nodes act as relays. This can potentially be over any given transport: We could have networks like BEAM <--[web_rtc]--> BEAM <--[BLE]--> BEAM. I'm patching Horde to be transport-agnostic, built a capability-based distribution strategy on top of CRDT-replicated module registries, and wired it all together on embedded hardware. To hell with the big cloud providers. *I'm kidding, I still need a job if anyone's offering We got Communist Nerves before GTA 6 lol.

Transcript