Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The idea is that you don't look. A handle is opaque. You don't care or depend on what's in it. Doesn't matter if it's actually a number or a string.

As for sending over a network, that's the low level details. You can keep high-level types most of the way.



Types work within a single process, but that's pretty limiting. Most people are dealing with multi-process systems, one way or another.

There is a trend towards more sandboxing - the sandboxes and pinholes model described in the article.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: