4 ms·
Joyent is claiming that they are getting pretty impressive numbers out of running docker images on Solaris, by using some sort of funky shim layer to run Linux
by hinkley 11y ago
Joyent is claiming that they are getting pretty impressive numbers out of running docker images on Solaris, by using some sort of funky shim layer to run Linux in a zone.
I also like to point out that Java, another Sun project, was a big impetus for a bunch of OSes to get properly functioning pre-emptive threading implemented. At the beginning were dark times, and even Solaris was no cake walk. C has copied the Java Memory Model for shared state concurrency, and most of the best papers on Garbage Collection were written in the mid to late nineties, often targeting Java. Subsequently in the 00's, escape analysis made pretty giant leaps forward, leading to the memory system you have in Rust today.
I think people who argue about the best data models for shared state concurrency often forget that they're taking us-vs-them stances on conventions that were all documented by the same individual, the Late, Great, Sir Tony Hoare.
There have really only been two breakthroughs since then. Transactional memory, which is still in a state of discovery and who knows when we'll get forward motion on that (especially since Intel's hardware support went belly up), and object ownership based on escape analysis, as used internally in recent JVMs, and explicitly in a few new languages, like Rust.
Now if only they'd pushed type theory forward, instead of regressing and taking the rest of us with them...
- kibwen 11y ago> Subsequently in the 00's, escape analysis made pretty > giant leaps forward, leading to the memory system you > have in Rust today. Rust doesn't use escape analysis, its analyses are based on Cyclone's regions system (which did arise in the mid-'00s). Or are you implying that there's a lineage leading from escape analysis to regions systems? (I'm unclear on Cyclone's own heritage.)
- hinkley 11y agoI may be making a causal inference based on a correlation. What I had read about the compile time guarantees in Rust indicated that escape analysis was being used to implement them, but I don't know if I read that or assumed. I hadn't encountered Cyclone, but reading through a paper about it now, and it sounds a lot like reading about how Java uses escape analysis with its generational garbage collection to decide where to allocate objects. In fact in 8 goes a lot farther, and it can eliminate monitors, memory fences, and copy constructors that have no observable side effects. Of course if Java ever conservatively wrong (retaining a dead allocation), the GC will take care of it later. In a language without a collector you have to be right in both directions.
- pcwalton 11y agoEscape analysis uses somewhat similar machinery in that it cares about the scopes in which variables are used, but the similarity pretty much ends there. Lifetimes, by contrast, are a type system feature. The closest thing to lifetimes in terms of implementation is actually generics (which makes sense, because lifetimes are just another kind of generic type parameter).
- pja 11y agoLate, Great, Sir Tony Hoare Tony Hoare is very much still alive to the best of my knowledge!
- Einherji 11y agoYup, in fact I met him recently at a conference, looked great.
- chris_wot 11y agoIt's quite possible that he meant that he believes he has a time management problem, but finds it irrelevant and endearing due to his greatness.
- hinkley 11y agoOh gosh, I have my deceased founding fathers mixed up.