News for hackers. Stuff that matters.
Re:Mill Computing in 2017 by infogulch on Thursday January 12, 2017 @02:35PM (#13385348)
I don't see compiler writers being thrilled by having to harden the entire compiler toolchain against actively malicious input. And there would be no way to verify the binary by itself, you'd have to have every binary built on and signed by a trusted build server. Oh, and now any binary built with a compiler that has bugs can now compromise the entire OS.

No, if you want to keep security you need some kind of external memory protection system. Memory isolation gives that and takes away performance. Mill gives both.

Re:Mill Computing in 2017 by elihu on Thursday January 12, 2017 @03:34PM (#13385852)
You're right, compiler writers wouldn't want to be responsible for system security in the same way that OS kernel authors are now, and commercial closed-source software doesn't fit well with the scheme I describe.

If Mill can drop the cost of context switches down to the point where they're indistinguishable from function calls, then that's pretty awesome and it would presumably work well with the software we have now, which is a strong point in its favor. (I haven't seen any Mill talks about security/memory protection, so I don't know what the implementation details are.)

I'm just trying to make the point that reducing the cost of context switches isn't the only solution, and that we could eliminate context switches altogether by making different tradeoffs. I think both approaches are promising and will appeal to different audiences.

Re:Mill Computing in 2017 by gpderetta on Thursday January 12, 2017 @08:28PM (#13387715)
> And there would be no way to verify the binary by itself.

Doesn't Java do exactly that?

Re:Mill Computing in 2017 by infogulch on Friday January 13, 2017 @10:26AM (#13391485)
No, the JVM provides security in this scenario by being the trusted compiler and inserting memory safety checks itself.