News for hackers. Stuff that matters.
Re:A sketch of the biggest idea in software architecture by hoosieree on Friday June 17, 2022 @10:14AM (#31778505)
Best example I know of:

You have M languages, and N computer architectures. You want a compiler from every language to every architecture, but don't want to write M*N compilers.

One solution is to make a virtual machine. Now, you write M language-to-VM compilers, and N VM-to-cpu compilers, so you only have to write M+N compilers.

Re:A sketch of the biggest idea in software architecture by bombcar on Friday June 17, 2022 @01:42PM (#31781657)
For example - if you wrote a new language that targeted the JVM it’d “out of the box” work on almost all systems.

The reality is of course more complicated but the idea is there.

Re:A sketch of the biggest idea in software architecture by thgs on Sunday June 19, 2022 @08:44AM (#31798778)
thats like webassembly these days :D