Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'd actually recommend D ( https://dlang.org/ ) or OCaml ( http://ocaml.org/ ) over any of those.

- D is a safer, cleaner, more convenient version of C++. It has a Rust-like build system/package manager (dub), a sane module system, Rust-like unit tests available anywhere, C++-like compile-time expressions and functions, C++-like generics, and contract-style programming (which C++ is also about to get) for safer code. Oh, and the D compiler is known to be fast, unlike C++ and Rust.

- OCaml is a pragmatic functional programming language focusing on a sound static type system with strong modules support, rather than on total purity. It too has a fast compiler and targets JS as well as native.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: