▲ | cestith 3 days ago | |||||||
Do you know any other languages that tend to be safer than C and suitable for CLI tools but without the borrow checker? Over many years I’ve seen a lot in C++, Go, Perl, Python, Ruby, Pascal, various shells, assembly, Java, and some in Haxe, Ada, Lisp, Scheme, Julia, forms of Basic, and recently JavaScript or Typescript. Most of those are more memory safe than C. None of them have the borrow checker. This leaves me wondering why - other than proselytizing Zig - this article would make such a direct and narrow comparison between only Zig and Rust. | ||||||||
▲ | tayo42 3 days ago | parent | next [-] | |||||||
With how easily go creates statically compiled binaries and cross compiles I think that might be best language for cli tools. Unfortunate becasue it's annoyingly unexpressive. | ||||||||
| ||||||||
▲ | pjmlp 3 days ago | parent | prev [-] | |||||||
OCaml for example, Unix system programming in OCaml, from 1991 | ||||||||
|