Y
Hacker News
new
|
ask
|
show
|
jobs
by
ecshafer
2 days ago
Swift and Rust were developed at similar times. I think of them more as having similar influences than borrowing from each other.
3 comments
pohl
2 days ago
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)
link
zarzavat
2 days 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...
link
pjmlp
2 days 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.
link
est31
2 days ago
Similar times and the Rust originator went on to work on Swift after it.
link
DenisChetwynd
2 days ago
Graydon Hoare's impact on the language is marginal than that of Chris Lattner, the originator (also, Hoare joined the team much later)
link