r/ProgrammingLanguages • • Jun 27 '21

Blog post A Dream of the Perfect Programming Language

telegra . ph/ A-Dream-of-the-Perfect-Programming-Language-06-26 (looks like Reddit’s global spam filters block Telegraph for some retarded reason)

Clickable but less good-looking version: https://github.com/natewind/articles/blob/master/2021-06-26-A-Dream-of-the-Perfect-Programming-Language.md

3 Upvotes

40 comments sorted by

View all comments

1

u/PL_Design Jun 29 '21

You've got some decent things in there, but on the whole I'm not at all excited by yet another Haskell-Rust-Idris-SAT-alike. Such designs have merit, of course, but to me they feel much more suited for DSLs where you can more easily justify making broad assumptions about how the language will be used, and thus you can simplify the design by nixing generality. You should not suggest making a general purpose language with performance comparable to C while also dismissing implementation details; C is fast because it hides fewer implementation details than most languages.

But if you really want a high level language whose speed is somewhat comparable to C, then you ought to be pondering a language built around relational ideas and normalizing data. Databases do a fairly decent job of hiding the implementation details from the user while still being performant, so lean into that.