3 ms·
Yes, and you can choose to use any language with a garbage collector and get the same benefit. The list of memory safe languages at your disposal is endless and
by Spivak 1y ago
Yes, and you can choose to use any language with a garbage collector and get the same benefit. The list of memory safe languages at your disposal is endless and they come in every flavor you can imagine.
- airstrike 1y ago> Yes, and you can choose to use any language with a garbage collector Uh, no thanks. > and get the same benefit. Not quite.
- creata 1y agoThat's true (with some qualifications), but everyone seems to continue using C and C++ for everything, even for applications like text editors, where the performance of a GC language would presumably be good enough. I wonder why.
- nine_k 1y agoThe cost of it is spending more CPU and more RAM on the GC. Often it's the cost you don't mind paying; a ton of good software is written in Java, Kotlin, TS/JS, OCaml, etc. Sometimes you can't afford that though, from web browsers to MCUs to hardware drivers to HFT.