3 ms·
Surprising Weak-Ref Implementations: Swift, Obj-C, C++, Rust, and Vale
- mc4ndr3 5y agoIn the safety comparison matrix I submit that JavaScript, being a dynamically typed language, is not safe. You can save a little type signature by writing tons of unit tests. Go deserves a spot in the comparison matrix. It's not real time (but neither is JavaScript). However, it is easy to use, safe, and fast.
- verdagon 5y agoThats fair, I suppose it depends on how one defines safety. I'd still lean toward JavaScript being safer from a language design perspective (no comment on VM/interpreter implementations!) because there's no equivalent to golang's unsafe pointers. I've updated the page with the grid [0] to be more specific. I like the idea of putting Golang in the comparison matrix, since Vale will be a strong choice for servers. I'll see if I can fit that in! [0]: https://vale.dev/comparisons https://vale.dev/comparisons