| I wrote some Crystal recently for a hobby project. I have to say, I really like it. • Nice syntax (mostly just that blocks/procs are easy to use— Ruby-like syntax is nice, but it’s not really that important) • straight-forward class/object model • type system is simple but powerful (union types + type inference are a great combo) • syntax and std lib that enables functional-style programming, but isn’t strictly functional • Pretty darn fast— compiles to machine code via LLVM, and seems like it’s not far behind C, C++ and Rust in most benchmarks, despite being garbage collected What other languages offer a similar profile? D? Swift? Kotlin (via LLVM)? |
Julia. It’s fast, JIT compiled (static compilation is possible but it’s quite rough around the edges), has a fantastic type system, uses multiple dispatch to achieve some very cool stuff, has quite powerful lispy macros, and a really great community / library ecosystem, especially in scientific computing.