6 ms·
The original rust compiler was written in OCaml. That's not evidence it "had an influence", but it's highly striking considering how many other languages Greydo
by TwentyPosts 2y ago
The original rust compiler was written in OCaml. That's not evidence it "had an influence", but it's highly striking considering how many other languages Greydon could've used.
- hollerith 2y agoYes: if a person knows nothing else about Rust and the languages that might have influenced it, then the fact that the original Rust compiler was written in OCaml should make that person conclude tentatively that OCaml was the language that influenced the design of Rust the most. I'm not one to hold that one shouldn't form tentative conclusions until one "has all the fact". Also, I'm not one to hold that readers should trust the opinion of an internet comment writer they know nothing about. I could write a long explanation to support my opinion, but I'm probably not going to.
- dimitrios1 2y agoIt's like trying to say Elixir wasn't influenced the most by Erlang
- hollerith 2y agoWas any Elixir interpreter or compiler every written in Erlang? If not, what is the relevance of your comment?
- jolux 2y agoElixir’s implementation still has significant parts written in Erlang. I don’t know if it’s a majority but it’s a lot. e.g.: https://github.com/elixir-lang/elixir/blob/aef7e4eab521dfba9e81708b0f5d28bfe428babe/lib/elixir/src/elixir_erl_for.erl https://github.com/elixir-lang/elixir/blob/aef7e4eab521dfba9...