Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ninjaaron
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
ninjaaron
6y ago
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.
2.
▲
by
ninjaaron
7y ago
> 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 middle of
3.
▲
by
ninjaaron
7y ago
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 be crap because
4.
▲
by
ninjaaron
7y ago
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 hairy). Side effects are
5.
▲
by
ninjaaron
8y ago
You have not because you ask not. https://xon.sh/
6.
▲
by
ninjaaron
8y ago
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 bu
7.
▲
by
ninjaaron
8y ago
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.
8.
▲
by
ninjaaron
8y ago
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), femtolisp https:/&
9.
▲
by
ninjaaron
8y ago
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 not us