4 ms·
If the goal is not to be similar to Ruby then what makes Crystal better than Rust or Go? I can understand being compatible ith not being a specific goal.
by kavok 10y ago
If the goal is not to be similar to Ruby then what makes Crystal better than Rust or Go? I can understand being compatible ith not being a specific goal.
- RX14 10y ago>what makes Crystal better than Rust or Go Rust is very much a systems programming language: no GC, no runtime, no overhead. We don't intend to compete with Rust at all. Go however has inspired Crystal's IO system quite a bit. Crystal looked at Go and saw that CSP was working very well and copied the idea. Here's some differences: - Go aims for simplicity, in Crystal it's a bit lower down the priority list in favour of expressability - Crystal has a stronger, more complex type system than Go - Crystal has type inference - Crystal has blocks/yield (with 0 overhead) like Ruby - Crystal has a more "normal" package manager