News for hackers. Stuff that matters.
Re:All About E: The Language That Infiltrated JavaScript by j-pb on Thursday October 27, 2022 @05:05AM (#33355061)
Freeze is completely inadequate for immutability, persistent data-structures are really what you want for immutability most of the time, and they give you the nice security properties for free.

Most people think of proxies as JavaScripts "method-missing", but that's really not what they are for. They are an isolation primitive to build stuff like membranes [1][2][3].

[1]: https://tvcutsem.github.io/js-membranes [2]: https://tvcutsem.github.io/membranes [3]: https://www.youtube.com/watch?v=sClk6aB_CPk&ab_channel=JSCon...

There are no comments on this comment yet.