top | item 43944377

(no title)

ak_111 | 9 months ago

which is better?

discuss

order

singularity2001|9 months ago

Swift started from beautiful syntax rust has ugly syntax

Swift is becoming more rust like but also safer

bsaul|9 months ago

i 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).

viktorcode|9 months ago

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