logoalt Hacker News

Swift is a more convenient Rust (2023)

256 pointsby behnamohyesterday at 10:05 PM240 commentsview on HN

Comments

FranklinJabartoday at 1:55 AM

[dead]

prairieroadenttoday at 2:39 AM

[dead]

MarginalGainztoday at 12:10 AM

[dead]

IshKebabyesterday at 10:48 PM

Interesting. I'm not totally sold - still seems like Swift is quite niche and Apple-specific - but I might take another look.

Also you might want to rework the `Box` example because you don't actually need to use `Box` in that case - the `Vec` already provides indirection.

ewuhicyesterday at 10:41 PM

>Swift is more convenient Rust

Nah.

show 1 reply
ameliusyesterday at 11:01 PM

> Swift is better for writing UI and servers and some parts of compilers and operating systems.

For UI, why would anyone choose a language that has no automatic GC that can handle cycles?

show 2 replies