News for hackers. Stuff that matters.
Re:I can't keep up with idiomatic Rust by mseepgood on Thursday April 09, 2020 @09:24AM (#22822273)
> C adds 2-3 features every 10-20 years.

This should be the norm for serious programming languages. Anything else is a hyperactive children's toy.

Re:I can't keep up with idiomatic Rust by whatshisface on Thursday April 09, 2020 @09:30AM (#22822325)
I don't get this perspective, are there only three good features invented every decade? Shouldn't it be the quality of the features that counts, not their rate of introduction?

Also, I think C might be the only language to get 1.5 features/decade. Fortran has seen a lot of recent editions, and so has Java. Even x86 gets new instructions every arch bump. Are there any other languages that change as slowly as C? If not it may be too elitist to claim that there is only one language in the world that's not a child's toy.

Re:I can't keep up with idiomatic Rust by stevelosh on Thursday April 09, 2020 @06:09PM (#22827725)
> Are there any other languages that change as slowly as C?

ANSI Common Lisp has had the same spec since 1994.

(This is not a problem, because Common Lisp gives you enough high and low level power to do (almost) whatever you want in user space, instead of relying on the language designers to add a particular feature.)

Re:I can't keep up with idiomatic Rust by mseepgood on Thursday April 09, 2020 @10:16AM (#22822727)
> I don't get this perspective, are there only three good features invented every decade?

To be honest, programming language design has been a solved problem since the 1950s when LISP came out.

Re:I can't keep up with idiomatic Rust by pcwalton on Thursday April 09, 2020 @04:45PM (#22826996)
1950s Lisp didn't even have lexical scope, for goodness sake. (If you don't know what dynamic scoping is, best to leave it that way—it's horrendous.)
Re:I can't keep up with idiomatic Rust by unlinked_dll on Thursday April 09, 2020 @11:52AM (#22823728)
If this were true we wouldn't have done so much research into programming languages over the last 50 years.

PL design is not a problem to solve, it's the study of the way to express problems and their solutions. As long as their are new problems and ways to solve them, we'll find new ways to improve PL designs.

Re:I can't keep up with idiomatic Rust by api on Thursday April 09, 2020 @10:29AM (#22822850)
Why does nobody use it? I've never heard a satisfactory answer from LISPers. "People are dumb" is not a satisfactory answer.
Re:I can't keep up with idiomatic Rust by jdmichal on Thursday April 09, 2020 @11:36AM (#22823563)
The best answer I've seen is the Lisp Curse. It's basically the idea that Lisp is so flexible that every project becomes its own DSL / idiomatic version of Lisp. Imagine what's being discussed here, except that every programmer actually has the power to just make the change rather than have to submit it to the central Rust team for consideration and eventual implementation.

http://winestockwebdesign.com/Essays/Lisp_Curse.html

Re:I can't keep up with idiomatic Rust by kazinator on Thursday April 09, 2020 @11:41AM (#22823603)
I had the same thought. Lisp puts an end to the bikeshedding; everyone can build their own shed and paint it whatever they want, without having to break upstream.

It also applies to the recent "Why I'm Leaving Elm" article. https://news.ycombinator.com/item?id=22821447

Part of the struggle depicted in the article is between user defined language extensions "competing" with the upstream compiler.

That's exactly a social problem that becomes a technical problem in Lisp.

Re:I can't keep up with idiomatic Rust by pcwalton on Thursday April 09, 2020 @04:50PM (#22827036)
There are a multitude of reasons, but I think the biggest ones are (1) the unfamiliar syntax; (2) the fact that Lisp runtimes tend to want all code that interacts with it to also be Lisp instead of focusing on FFI and interoperability; (3) Unix and C were free and so went viral.
Re:I can't keep up with idiomatic Rust by astrange on Thursday April 09, 2020 @08:55PM (#22828845)
Because of the rule of least power, it's actually bad for a language to be able to do anything.
Re:I can't keep up with idiomatic Rust by marcosdumay on Thursday April 09, 2020 @09:40AM (#22822420)
It is the norm for mature programming languages. You can't expect anything to improve if you apply it everywhere.