Re:Mozilla releases version 0.1 of the Rust programming lang...
by aaronblohowiak on Monday January 23, 2012 @07:53PM
(#3502914)
> and take out some old crummy features
Backwards-compatibility is held extremely dear to the C community, with those few breaking changes being simple (usually) to work around. If you want to break compatibility, you have a better chance calling it a new language.
Re:Mozilla releases version 0.1 of the Rust programming lang...
by jon6 on Monday January 23, 2012 @11:34PM
(#3503482)
Thats true, but new modes can be added with switches similar to how gcc has -std=c89, -std=c99 and whatnot. Newer modes could disable old features and people could upgrade at will.
Re:Mozilla releases version 0.1 of the Rust programming lang...
by rcfox on Tuesday January 24, 2012 @02:02AM
(#3503785)
Except that there's no business case for rewriting old code that still works and is still supported by the compiler. And then suddenly, the compiler team has to support multiple, very different versions in the same release.
Re:Mozilla releases version 0.1 of the Rust programming lang...
by roel_v on Tuesday January 24, 2012 @03:07AM
(#3503925)
With 10 years between each such 'mode', and the differences still being relatively minute, it would take centuries to morph C into something else. Which is a good thing, don't get me wrong. It just shows that the proposed approach isn't feasible.
Re:Mozilla releases version 0.1 of the Rust programming lang...
by enneff on Tuesday January 24, 2012 @01:41AM
(#3503751)
How can you build trust in a language that changes all the time?
Re:Mozilla releases version 0.1 of the Rust programming lang...
by riffraff on Tuesday January 24, 2012 @05:24AM
(#3504173)
as a point of thought: you could have a language where you introduce small changes incrementally, and a tool like go's gofix that is builtin and goes over an existing code base updating stuff that is obsolete.
The current approaches of "leave the things substantiatlly unchanged" and "release a bunch of changes all together" have not exactly been proven "the best".
Lots of people probably don't like rewriting code bases wholesale and new languages take a while to become trusted.