This reminds me of Alan Kay's OOPSLA 1997 presentation "The Computer Revolution Hasn’t Happened Yet" when he describes the Air Force / Burroughs 220 file format from 1961 where the file/tape contained both the data and the procedures to read/write/print them: https://youtu.be/oKg1hTOQXoY?t=1355
Maybe not "elegant", but quite readable compiler impl. compared to what I have seen. And which (real world) compiler has an "elegant" implementation anyways.
Adding product location would be great! As a resident of the European Union I'm unlikely to order one of these mini PCs from the USA due to import taxes and additional shipping costs.
> […] they have 4 lines of code in Wing, but the long Pulumi example sets up permissions. So how did the permissions get set up in Wing?
As it says on the page: "Wing allows developers to write very few lines of code and let the compiler take care of IAM policies and other cloud mechanics."
Basically it auto-generates least-privilege IAM policies.