Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Surprising Weak-Ref Implementations: Swift, Obj-C, C++, Rust, and Vale (verdagon.dev)
8 points by verdagon on April 2, 2022 | hide | past | favorite | 2 comments


In 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.


Thats 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




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

Search: