The Gnome Village
18 points by krig
18 points by krig
I didn’t expect the metaphor to work but it did.
Isn't this simply modularization with messages as an interface?
It is a stronger form of separation than modularization implies. Each BEAM process has its own isolated memory, and processes communicate exclusively via message passing (not RPC).
so this "architecture" can only be used on low level langs?
I mean lets say you have a function in moduleB and you want to use it in moduleA. you need to create a message sharing of some sort?
No. From the article:
"Modules define domains of logic, the scrolls on the shelf. Processes are independent actors, the gnomes who read those scrolls. You can have thousands of workers all using the same code without binding their identity to it."