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

Interesting, they seem to be switching to Swift soon.


Swift is underrated, it's a good alternative to C++ for those not interested in Rust.


Noted that as well. Could be a reflex of swift’s improved memory safety capabilities.


Wouldn’t that make it slower than if in C++?


Swift can be just as fast as C or C++. The danger, in my experience, is that it's not always clear what the performance implications of the language's many convenient abstractions are. (A random example, I recently improved one code path by over an order of magnitude by replacing some serialisation that used Codable with hand-rolled code. Still 100% Swift, just paid a lot of attention to avoiding RTTI and allocations.)


Swift had automatic memory management, so yes ()

(: Although anything can be made as slow as python yada yada)


A bit slower is good if it is safer from exploits than C and C++.




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

Search: