3 ms·
This is the most under appreciated feature of Python and Ruby. They got it right and other languages are still trying to catch up. Rust offers nothing better ex
by dragonsh 6y ago
This is the most under appreciated feature of Python and Ruby. They got it right and other languages are still trying to catch up. Rust offers nothing better except memory safety at the expense of ease of use and with steep learning curve. Indeed same can be achieved by C, if one replace the complicated syntax and steep learning curve with better testing to check for memory safety. Zig language shows that it is possible to provide a simple way to write both memory safe or unsafe code.
Well begin is half done, and Python and Ruby made it so easy to program that without reading multiple of books and spending a year or two, programmers can write decent code. This is the reason why Go and Swift the other two system programming language is far ahead of Rust despite being GC language. Indeed even the latest OS Fuschia is written in C++ (zircon kernel), with Rust SDK to write high level programs same as the one written with Dart and flutter.
- ghostwriter 6y ago> Zig language shows that it is possible to provide a simple way to write both memory safe or unsafe code. Zig is a kind of language that wouldn't have been written if its author discovered ATS[1] at a right time. [1]: http://www.ats-lang.org http://www.ats-lang.org
- AndyKelley 6y agoi was aware of ats before creating zig