Comment by vlovich123
Comment by vlovich123 10 hours ago
> we want code that's expressive enough to do what we want, while being constrained enough to not do what we don't.
Have you somehow solved the halting problem? AFAIK, all Turing complete languages are perfectly capable of expressing the exact same programs.
The price for not making a Turing Complete language is that you can't solve all possible problems. But, you probably didn't want to solve all possible problems.
That's one of the insights in WUFFS. Yes, most problems cannot be solved with WUFFS, but, we often don't want to solve those problems so that's fine. WUFFS code, even written by an incompetent noob, categorically does not have most of the notorious problems from systems languages, yet in the hands of an expert it's as fast or faster. It has a very limited purpose, but... why aren't we making more of these special purpose languages with their excellent safety and performance, rather than building so many Swiss Army Chainsaw languages which are more dangerous but slower ?