Re:Don’t assume that safety comes for free: a Swift case study
by xenadu02 on Tuesday December 06, 2016 @05:43PM
(#13118943)
It comes from mistakenly architecting systems as monolithic entities. No one would run a major website serving millions of users on a single piece of hardware. Why do applications stuff everything into a single process? Applications can and should be broken up into multiple pieces. The Web Browser is a great example - run each tab in its own process. Run WebGL in yet another process. Our tools could make this a lot easier.
FTIW Swift may not necessarily need to bring down the entire process anyway. When it gets a concurrency story where the compiler can enforce thread boundaries at compile time it could be paired with separate heaps per thread to allow a single thread to abort without aborting the entire process. That would be ideal for the server case.
FTIW Swift may not necessarily need to bring down the entire process anyway. When it gets a concurrency story where the compiler can enforce thread boundaries at compile time it could be paired with separate heaps per thread to allow a single thread to abort without aborting the entire process. That would be ideal for the server case.