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

In other languages, it's possible to set environments where code run from that environment have restricted access to explicitly defined globals.

You can do this to create things like plugin systems, etc, where you know by specification you never want a context to have access to say, making HTTP requests.



Out of curiosity, which languages?


Lua comes to mind first, with `setenv`, other languages have similar functionality. I believe this can be done with C#, too.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: