Programmers can make and gradually change these choices within a single language and ecosystem: - Dynamically vs statically typed (vs theorem prover) - Garbage collected vs ownership-based memory management Python, OCaml, and Rust merge (in spirit) to become this language.https://twitter.com/smdiehl/status/1342886946775965697 …
When I say “get the stdlib for free” I mean eg that OCaml’s array type would actually be Rust’s Vec<T>. Then OCaml code could easily call Rust code and vice versa.
-
-
Oh I see, something like what BuckleScript (now ReScript) has done for JavaScript. Or Elixir for Erlang.
-
Yes, like that. The PL challenge is how to automatically lift an API designed eg for ownership into one that works with garbage collection. For example, guard pattern (eg releasing mutex in destructor) is hard without ownership.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
cognitive psychology. PhD