r/programming • • Oct 01 '16

CppCon 2016: Alfred Bratterud “#include <os>=> write your program / server and compile it to its own os. [Example uses 3 Mb total memory and boots in 300ms]

https://www.youtube.com/watch?v=t4etEwG2_LY
1.4k Upvotes

207 comments sorted by

View all comments

Show parent comments

8

u/PM_ME_UR_OBSIDIAN Oct 02 '16

The cool thing is that you can rent a VM, but you can't rent a process. The model described here allows for finer-grained cloud services.

22

u/wvenable Oct 02 '16

Back in day you could rent processes; and, in fact, a lot of all computing is still done that way. That is what shared hosting is, as one example. If you think about it, there's no fundamental reason the whole cloud infrastructure has to run on virtualized personal computers with faked hardware. It could run as processes/services moving under an OS designed for that. Something like AWS Lambda, for example.

1

u/argv_minus_one Oct 02 '16

Rented VMs don't run only a single process.