2 ms·
Coding in both swift and rust is really a funny experience. It's like two roads being built going toward the same city, but starting from widely different place
by bsaul 1y ago
Coding in both swift and rust is really a funny experience. It's like two roads being built going toward the same city, but starting from widely different places.
- ak_111 1y agowhich is better?
- singularity2001 1y agoSwift started from beautiful syntax rust has ugly syntax Swift is becoming more rust like but also safer
- viktorcode 1y agoThe actual targets are very different. For Rust is to be memory safe and available at any level starting from embedded. For Swift it is to be readable.
- bsaul 1y agoi think i prefer swift as a language, and rust as an ecosystem. The amount of quality libraries in rust is astounding. But that may change with swift getting more and more into safety and reaching the limits of how many keywords a language can have and remain descent. I honestly don't know what the feeling of learning swift would be like today. And on the other hand, i don't see how the rust language can really get nicer without sacrificing on a few design decisions and goals (in order to keep the language extremely versatile).