The original Rust compiler was written in OCaml, and OCaml was one of the chief design inspirations for the language. The similarities between Rust and ML-like languages is no coincidence.
> To me, the second is both more charitable, and more in line with what I think Rob Pike's background and experience would have exposed him to. More charitable to Rob Pike, rather than to the person you're in the the…
There are some animals that don't do anything like a human definition of sleep. Some sharks, for example, who have to keep moving all the time. Probably any computer-based metaphor we come up with for sleep is going to…
In a purely functional language, functions apply inputs to a single expression to produce an output (though there is usually a way to add some declarations inside the function to keep the expression from getting to…
You have not because you ask not. https://xon.sh/
Why is web assembly a desirable target? Wouldn't it make more sense to use LLVM IR or something that can go down to native? It don't get why, if you're compiling down to such a low level anyway, you'd want to target a…
This is only partially true. Almost all types are known at compile time because Julia was designed with static evaluation in mind. Many type errors are caught at compile time.
There are four guys credited as the creators of Julia, but the guy who sort of had the initial idea, Jeff Bezanson, is definitely a lisp enthusiast. He created his own dialect of scheme (like every lisp enthusiast),…
You don't have to declare types, but they are enforced when you do declare them. I'm not exactly how this is bad. Anyway, you can get into a scenario like you do with Python where type errors occur at runtime if you're…
The original Rust compiler was written in OCaml, and OCaml was one of the chief design inspirations for the language. The similarities between Rust and ML-like languages is no coincidence.
> To me, the second is both more charitable, and more in line with what I think Rob Pike's background and experience would have exposed him to. More charitable to Rob Pike, rather than to the person you're in the the…
There are some animals that don't do anything like a human definition of sleep. Some sharks, for example, who have to keep moving all the time. Probably any computer-based metaphor we come up with for sleep is going to…
In a purely functional language, functions apply inputs to a single expression to produce an output (though there is usually a way to add some declarations inside the function to keep the expression from getting to…
You have not because you ask not. https://xon.sh/
Why is web assembly a desirable target? Wouldn't it make more sense to use LLVM IR or something that can go down to native? It don't get why, if you're compiling down to such a low level anyway, you'd want to target a…
This is only partially true. Almost all types are known at compile time because Julia was designed with static evaluation in mind. Many type errors are caught at compile time.
There are four guys credited as the creators of Julia, but the guy who sort of had the initial idea, Jeff Bezanson, is definitely a lisp enthusiast. He created his own dialect of scheme (like every lisp enthusiast),…
You don't have to declare types, but they are enforced when you do declare them. I'm not exactly how this is bad. Anyway, you can get into a scenario like you do with Python where type errors occur at runtime if you're…