Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
amelius
50 days ago
|
parent
|
context
|
favorite
| on:
Swift is a more convenient Rust (2023)
> 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?
mh2266
49 days ago
|
next
[–]
weak delegates seem to work fine...?
keyle
50 days ago
|
prev
[–]
Look up the language and ARC.
astrange
50 days ago
|
parent
[–]
ARC doesn't do cycles, but it is deterministic and more power efficient than GC.
amelius
49 days ago
|
root
|
parent
[–]
So use a language that supports both.
astrange
49 days ago
|
root
|
parent
[–]
That would only have the disadvantages of both.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
For UI, why would anyone choose a language that has no automatic GC that can handle cycles?