3 ms·
It's too bad Pascal is dead. Wirth's original recursive-descent Pascal compiler was utterly straightforward. It produced mediocre, predictable code. I have h
by Animats 11y ago
It's too bad Pascal is dead. Wirth's original recursive-descent Pascal compiler was utterly straightforward. It produced mediocre, predictable code.
I have hope for Rust, but in terms of complexity, it seems to be picking up where C++ left off.
- atemerev 11y agoIt is not dead. You can still take FreePascal and write some security conscious code with it, to be linked with other parts of your application. The compiler works. There is also Lua. And Haskell and Ocaml compilers for FP people. These languages are easily linkable with C/C++ codebases.
- kibwen 11y agoI'm not sure where you got the impression that "Rust is picking up where C++ left off". Rust is a far, far, far smaller language than C++, and has benefited from hindsight in its design in a way that C++ cannot without massively breaking backwards compatibility.
- nickpsecurity 11y agoWhat did you think about Modula-3? I like how it had much of what a C++ programmer might want in a cleaner, safer, faster-to-compile way. Most Modula and Oberon derived languages had little to no undefined behavior outside the Unsafe modules. All were used to write OS's & other low-level code. Optional GC where it was tolerable. IIRC, Modula-3 also had verification done on its standard modules to catch certain errors. Some of the design attributes might be worth resurrecting in another project. Minus the capitalized keywords. :)
- Animats 11y agoI wrote much of an OS in Modula I. I wrote robotics code in Modula II. I didn't do much with Modula III, but I knew some of the people behind it at DEC SRL, before Compaq bought DEC and shut down research. I wish computing had gone that way, instead of C/C++. Everything would be less buggy.
- nickpsecurity 11y agoI agree.
- nickpsecurity 11y agoWe're in luck, Animats: a group is reviving and modernizing Modula-2. So far, most of their decisions sound very rational in the FAQ: http://modula-2.info/m2r10/pmwiki.php/Project/FAQ http://modula-2.info/m2r10/pmwiki.php/Project/FAQ One of few I enjoyed reading on new language work. The design goals are sensible, too, given Wirth languages have already achieved them. I'm still for ditching the uppercase and letting editors take care of that part. Don't want carpal pinky syndrome hitting shift or caps lock all the time haha. Anyway, some good news seeing Modula-2 get revived and with a M2-to-C compiler in works given its my favorite C alternative. Has a nice compromise between their simple, low-level, high-performance needs and my preference for safe, easier-to-integrate, maintainable and compiles fast. Your thoughts?