Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
ecshafer
14d ago
0 comments
Save
Share
Swift and Rust were developed at similar times. I think of them more as having similar influences than borrowing from each other.
0 comments
5 comments · 3 top-level
top
newest
oldest
pohl
14d ago
· 1 in thread
There’s no reason to invent your own head canon, the influence was openly acknowledged when Swift was new and it continues now that the language is developed out in the open (see Swift Ownership Manifesto)
zarzavat
13d ago
Obviously Rust was first but over time both languages have been taking inspiration from each other. For example let-else was motivated directly because of its success in Swift:
https://rust-lang.github.io/rfcs/3137-let-else.html#prior-ar...
est31
14d ago
· 1 in thread
Similar times and the Rust originator went on to work on Swift after it.
DenisChetwynd
14d ago
Graydon Hoare's impact on the language is marginal than that of Chris Lattner, the originator (also, Hoare joined the team much later)
pjmlp
13d ago
Additionally both have influences from CLU, C++, Object Pascal, Modula-2, Mesa/Cedar, Standard ML, Cyclone.
Many features that get discussed as being Swift/Rust, trace back to one of those languages.
j
/
k
navigate · click thread line to collapse