5 ms·
Rust is not a company
- nickysielicki 5y agoIt's not mentioned in the article, but it's worth considering the entirety of this article in comparison to C++ and its standards process. I've never actually done it, but my understanding is that if you want to change something in C++ you have to - Make the changes and have an example implementation. - Make a paper explaining the change and why it's necessary, using the C++ paper-template/documentation format. - Post it to a listserv for comments, hope that people like your idea after all the time you’ve already invested. - Attend a meeting, possibly in person (!), maybe remote, to make sure that the committee addresses it. - Your change will make it into C++26, which means it doesn't percolate into C++-for-the-average-person for 5 to 10 years. C++20 is a very nice language but I really wonder if it can survive competing with the ecosystem that Rust has. Between the niceness of cargo for package management, allowing for breaking changes, and being open to contributions, it just has a velocity that will make it solve problems with the language in a timespan that C++ can't.
- TchoBeer 5y agoOn the other hand, this glacial pace had it's upsides as well
- harry8 5y agoCounterpoint - slowing down the rate of change of a properly designed language makes it stronger. Having a vast amount of bolted-on cruft with inconsistent design principles makes a language pretty horrible. Example C++. It's a fun exercise to think about how you would do C++ fresh starting with ansi C, given what you know now based on the actual experiences of C++, Java, D, Rust etc. C++ has had a tendency to attempt to solve the current problem while being tightly coupled to it, problems which may not even exist later. I submit STL allocators as an example of this. What's the best way of enforcing taste? Slow down the changes, put barriers in the way? That's horrible, sure, but is there something better? Benign Dictator maybe? Bjarne's taste has improved considerably (and I'm sure I could have made a bigger hash of it than he did starting out too).
- duped 5y agoC++ is the poster child of cruft and slow moving development, so it doesn't seem that these properties are correlated.
- otabdeveloper4 5y ago> slow-moving development > too much feature churn Pick one, please.
- kgraves 5y agoyou can have both if you hire more developers on the project.
- bryanlarsen 5y agoThe OP said "cruft" not "too much feature churn". Very different things.
- detaro 5y agoCan you point to the comment you quoted the "too much feature churn" from?
- simias 5y agoHigh-latency but high-bandwidth. C++ features take forever to land, but there's always something big in the pipeline, for better or worse.
- harry8 5y agoYeah at first blush. Then you look at when C++ was new and being standardized it was moving pretty damn fast compared to anything else. They had a whole catchphrase "Remember the Vasa!" In an attempt to justify curbing enthusiasm for at least some of the many and disperate proposals. Now, despite the big changes of C++11 as the watershed it has slowed and is doing better for it. Correlated? Maybe. Good taste should also slow the rate of change of "What do I have to deal with as a programmer in this language?" Also if the original language design that people found good enough to use was done really well then it shouldn't need too much change on top of it? Point taken, you can use C++ as an example for anything. Even opposing points. It really has it all! (Like it or not)
- johannes1234321 5y agoI think having an implementation isn't needed. However having an implementation proves that the idea is feasible and simplified verifying it. Also you don't have to be in the meeting in person, however a paper without author or somebody else who can argue for it will have a hard time to get the attention considering the number of papers in the queue.
- debacle 5y agoIf rust ever reaches the ubiquity that C++ has, it will have same barrier to change that C++ has.
- binarycrusader 5y agoWill it? Rust has editions which C++ does not have which seems like a potentially significant mitigation.
- otabdeveloper4 5y agoHow are "editions" any different from C++ standards versions?
- steveklabnik 5y agoStandard revisions are like snapshots in time. Editions are a way of introducing surface-level changes into the language, which are guaranteed to interoperate. Most features land in as many editions as possible simultaneously, the edition differences are purely the things that would be breaking changes, and so require you to opt into which ones you want. Both strategies have advantages and disadvantages.
- IAmLiterallyAB 5y agoYou can use new features from new Rust versions/compilers on old editions, as long as the new features don't require backwards incompatible changes. You can't use features from new C++ standards when targeting an older standard.
- snovv_crash 5y agoYou can, they just often live in somewhere like std::experimental
- ben0x539 5y agoEditions are opt-in at a per-package level. You can write Rust 2015 code that wouldn't be valid Rust 2018 because of breaking changes, while using libraries that use Rust 2018.
- otabdeveloper4 5y agoI'm pretty sure C++ advances much faster now than Rust will in 30 years. Then again, you'll just point to how awesome it is that Rust doesn't change and stays stable and easy to use for years. It's all just rationalizations for the emotional investments you've already made.
- nickysielicki 5y agoScarecrow. I’m far from emotionally invested in rust and I’ve dealt with the downvote army of zealots who want to rewrite everything in rust. I’m not the evangelist you think I am. C++ is just losing here.
- titanomachy 5y agoIs “scarecrow” the same thing as “strawman”?
- nickysielicki 5y agoA scarecrow is a straw-man. :)
- elondaits 5y agoStrawman is less offensive.
- nickysielicki 5y agoWait, “scarecrow” is offensive now? How?
- bregma 5y agoIf it only had a brain?
- throwaway894345 5y agoAgreed (and I'm dealing with an army of Rust zealots right now on proggit). Rust has a track record of carefully considered features and a process that allows it to continue making changes to the language while managing compatibility. I do expect Rust will slow down and bureaucracy will slip in in the next 30 years (because I fully believe Rust will become very popular and many big companies will come to depend on it for security and critical real time systems), but I don't think it will move as slowly as C++ does these days.
- zerkten 5y agoThe part that's not mentioned, and a reason why some people wonder why their approach didn't get traction is missing. Before starting any of these steps you need your own analysis of what will make your change successful. You'll probably only be able to make the best analysis if you socialize your idea with relevant people in the community in private. This seems really obvious, but it's a pattern that repeats with engineers engaging in what is only partially an engineering effort. Similar issues occur in the python-ideas list other places. When you follow this approach you can remove the risk of premature investment in the steps listed.
- tasogare 5y ago> allowing for breaking changes Cute for toy projects but a big disadvantage for any another kind of programming. There's a reason established languages like C++ or C# are taking compatibility very seriously.
- ben0x539 5y agoAnd it's probably the same reason Rust takes compatibility very seriously. What's with the "us vs them" attitude?
- lukebitts 5y agoI think that was bad phrasing on GP's part. Rust only allows breaking changes for edition changes, which are opt-in. Libraries in older (or newer) editions can still be used together in your project, no matter which edition you are using. Rust allows for breaking changes in a way that doesn't actually break anything.
- bob1029 5y agoThis long lifecycle is a double-edged sword between stability & features, but you can grind down one of those edges with enough discipline on backwards compatibility. One compelling example could be the direction MS has started to take w/ .NET Core/5/6+: - Submit issue/PR on the dotnet/aspnetcore repo on GH (anyone can do this). - Conversation starts almost immediately. - Suggested changes could be merged in a matter of weeks. - Expect your changes to become available in an official release in under a year. Pre-release builds much sooner than that. - Expect an LTS release the following year. I have personally experienced this workflow a few times. It is incredible to have this type of feedback loop with something that has historically been a total black box of proprietary decisions. There are still a ton of places where you don't have much leverage, but the fact that there is any movement possible from the community at all is incredible to me (again, from a historical perspective around Microsoft & .NET). I don't have to learn how to draft a PhD thesis in order to add value to the ecosystem. Ideas should not be filtered so harshly in my opinion.
- h_ans_m_443 5y agoThis kind of aggressive evangelism is hurting Rusts reputation a lot. I wish people would just stop it. Why do some Rust fanboys have to keep shitting on every other language all the time???????
- staticassertion 5y agoSomething new is likely to try to correct perceived mistakes in something old. It shouldn't be taken as aggressive to try to say that one approach is better than another tbh.
- lenkite 5y agoAnd God help you if you point out strange warts and syntactic choices in Rust. You will be eviscerated.
- Lammy 5y agoLots of companies are happy to benefit from all the eager volunteers' free labor though.
- est31 5y agoSome of the volunteers are paid for their contributions, so it's not free labour. For other volunteers it's a hobby. Sometimes they scratch a personal itch. Personally the line for me is when it comes to copyright assignment. I'm only okay with it if I'm also paid.
- deleted 5y ago[deleted]
- dominotw 5y ago> free labor though is it really labor if someone is doing it as a hobby. Its not free if they are getting enjoyment out of it.
- sam0x17 5y agoIf you could have paid someone to do it, it is labor.
- wtetzner 5y agoUnder that definition, I can’t really think of any activity that isn’t labor.
- sidlls 5y agoIf one is engaged in an activity that is typically compensated (e.g. software development for others' use), then it's not a hobby. It's unpaid labor.
- dominotw 5y ago> then it's not a hobby. Its not upto you to decide what constitutes a hobby though. Person doing it can decide for himself if they see it as a hobby.
- KingOfCoders 5y agoInteresting but I do disagree, at least for startups. "This is exactly opposite of how it works in a typical company, where the goals come from above" They have the same problems, people joining in sales, marketing, finance, product management and all bringing in their own ideas. Often this is not managed appropriatly and just put into a backlog instead of "saying no to ideas when they would not fit with other ideas, or [..] lots of discussion to align ideas to make them fit".
- ben0x539 5y agoThis post is really about Rust, not about startups, tho.
- KingOfCoders 5y agoYou might be right I've read the article as "Rust Is Not a Company" and how the organization structure of Rust differs from that of a company because the problems are different. So my point was that the problems are the same in startups.
- 46756e 5y agoThey say war between the western nations is over, yet I see it everyday in the comments section when C++ and Rust are brought up.
- ben0x539 5y agoHey at least it's not Rust vs Go anymore
- mrweasel 5y agoThat was a bit weird for a time, every time someone mentioned Go you’d get “you should try Rust”. The Rust marketing have picked up speed and no longer need to piggy-back on Go. The two camps seems to have determined that the two languages are aimed at different types of developers and the there is a place for both languages.
- nickik 5y agoRust and Go were much more similar early on. So a lot of people first exposure to Rust was when it was much more Go like.
- h_ans_m_443 5y ago>> We’re a diverse and quickly changing group of people passionately making the things happen that we want to put effort in. Including a bunch of people passionately trying to manage it all, trying to make space for all these efforts to happen in harmony. This is very respectable and reasonable for Rust and many similar minded open source projects. Of course there's another perspective on this as well. E.g. as a business owner I'd prefer languages with more predictable promises of stability and sustainability as C++, Java, C# or Go. Again, this is all fine and in my opinion suites Rust very well. The reckless and short sighted evangelism of some Rust promoters is the one thing that doesn't fit well into this picture.
- kibwen 5y agoRust has an extremely predictable stability promise. I have proposed a handful of changes to Rust and it's actually a bit funny (if occasionally frustrating) at how a miniscule "breaking" change of the sort that would be right at home in a Java release (https://www.oracle.com/java/technologies/javase/8-compatibility-guide.html https://www.oracle.com/java/technologies/javase/8-compatibil...) is often rejected by the Rust team in favor of waiting for the next edition instead. It turns out, the fact that Rust's edition mechanism gives users a way to opt-in to breaking changes results in regular releases being just as if not more conservative than "enterprise" languages like Java or C++ when it comes to breaking changes.
- keithalewis 5y agoImagine there's no changes. It's easy if you try. Nothing to veto or vote for, And no religious wars too. No hell before us, only coding nigh. Imagine all the programmers coding for today. Aha-ha... You may say I'm a D-reamer, but I'm not the only one...