4 ms·
Pascal is a neat little language, but are you really trying to claim that its features are on par with Rust? The grandparent poster might not have picked the be
by codeflo 6y ago
Pascal is a neat little language, but are you really trying to claim that its features are on par with Rust? The grandparent poster might not have picked the best examples (I’d have chosen traits, zero-cost lambdas and syntax macros), but the point is, Rust’s abstractions are inspired by decades of PL theory research that haven’t made their way into any Pascal dialect that I know of.
- badsectoracula 6y agoNo, i only mentioned that sum types exist in Pascal - and existed in other languages too before Rust. But my main point of bringing up Pascal was that it existed for decades before Rust, it provides at least the same functionality as C (in fact, even late 80s Turbo Pascal has more functionality than C), is safer than C while still providing as much low level functionality as C, yet it never supplanted C. Which makes me wonder how much programmers who use C really care about those features in the first place.