2 ms·
> We can see JS as a higher level shell and the Web API as a cross-OS POSIX. A horribly crippled version of that. Where's my inotify? where are my UDP sockets
by the8472 11y ago
> We can see JS as a higher level shell and the Web API as a cross-OS POSIX.
A horribly crippled version of that. Where's my inotify? where are my UDP sockets and epoll?
Security is the common objection to providing real APIs. But instead why not just sandbox them into containers which otherwise provide the full experience of what we already have instead of creating a dumbed-down wrapper?
In other words: Creating a restricted subset of POSIX apis certainly is a sufficient approach for security, but it is not necessary.