5 ms·
I'm a bit worried when a language develops a "platform" and an "ecosystem". This usually means you need to bring in a large amount of vaguely relevant stuff to
by Animats 10y ago
I'm a bit worried when a language develops a "platform" and an "ecosystem". This usually means you need to bring in a large amount of vaguely relevant stuff to do anything. It adds another layer of cruft, and more dependencies.
Write standalone tools, but don't create a "platform". Don't make the use of the language dependent on your tools.
C++ does not have a "platform". Nor does it need one.
- eridius 10y agoI get the feeling that you didn't really read the post. Nothing in the platform is required to use Rust, and you can trivially write Rust packages that don't use the platform. The point of the platform is for convenience. In most cases it will make sense to use it because it provides a convenient set of libraries that are known to work well together, but you could also choose to just ignore the Rust platform entirely and continue to use Rust the same way we've been using it up to now.
- Animats 10y ago"In general, rustup is intended to be the primary mechanism for distribution; it’s expected that it will soon replace the guts of our official installers, becoming the primary way to acquire the Rust Platform and all that comes with it." Then, of course, the other installers will gradually break and be abandoned. The effect is that users must run the "Rust Platform", unless they have the resources to build their own distro. Is there a monetization scheme behind this? Does someone aspire to be the Canonical of the Rust ecosystem?
- dikaiosune 10y agoI don't see anything in this proposal which indicates that rustup would by default install any of this, and it's already the primary target of development efforts, Rust Platform or not. What other installers are you referring to, exactly? The old rustup.sh which couldn't support multiple toolchains installed alongside each other? multirust which didn't work on Windows? rustup is a massive improvement over both, IMO.
- eridius 10y agoRustup being the mechanism to install the Rust Platform does not mean that installing the Rust Platform is required to use Rustup. Rustup is an existing tool that installs Rust for you, and it's highly likely that you'll be able to use it in the future to install just Rust or to install the whole Rust Platform at your discretion. > Is there a monetization scheme behind this? Does someone aspire to be the Canonical of the Rust ecosystem? This seems like a complete non-sequitur. I have no idea what you're trying to suggest here.
- tatterdemalion 10y agoI'm sorry, but this is incoherent FUD. Do you expect the Rust project to maintain multiple installers? Why? What does this have to do with monetization?
- pcwalton 10y ago> Is there a monetization scheme behind this? Does someone aspire to be the Canonical of the Rust ecosystem? Of course not. Spreading conspiracy theories isn't appreciated.
- pcwalton 10y agoC++ has innumerable de facto "platforms" and "ecosystems". You have to choose one to get anything done, whether that be various Boost libraries, POSIX, Win32, Cocoa, Qt, GTK(mm), even stuff like XPCOM… Helpfully, many of these platforms reinvent basic things like strings [1] and reference counted smart pointers [2] in incompatible ways. Wouldn't it be better if there were just one platform? [1]: http://doc.qt.io/qt-4.8/qstring.html http://doc.qt.io/qt-4.8/qstring.html [2]: http://doc.qt.io/qt-4.8/qshareddatapointer.html http://doc.qt.io/qt-4.8/qshareddatapointer.html
- hinkley 10y agoIt is pointless to argue with C++ programmers. Just eat their lunch like everybody else has and go about your day. Edit: I've been watching C++ developers tell everyone else for nearly 25 years how the world works and why their new language will never be useful. Enough. The cumulative weight of languages that found success by not copying C++ is staggering.
- saysjonathan 10y agoSome languages have also seen great success with having a standard platform but still allowing users to replace it as needed. The many Haskell Preludes and Jane Street's ocaml core are two such examples. I think the ability to opt out of the rust-platform metapackage is a great feature.
- btown 10y agoAnd notably, C++11 actually moves in this direction, standardizing things like smart pointers [0][1]. It's a very smart move for Rust. Core or near-core library wars in the early days of adoption of a language leads to duplication of effort, and for those invested in seeing Rust gain a set of libraries to rival other languages, this is a great thing. [0] https://en.wikipedia.org/wiki/C%2B%2B11#C.2B.2B_standard_library_changes https://en.wikipedia.org/wiki/C%2B%2B11#C.2B.2B_standard_lib... [1] https://en.wikipedia.org/wiki/Smart_pointer#unique_ptr https://en.wikipedia.org/wiki/Smart_pointer#unique_ptr
- glandium 10y ago
- zanny 10y agoQt / Boost / .net are C++ platforms. The difference is you can choose one or none, and the OP actually explicitly talks about how important it is not to have one absolute blessed platform like Java has.
- majewsky 10y agoWhen I was developing KDE applications, I refered to my programming language as "C++/Qt".
- tdicola 10y agoGo watch recent talks by Herb Sutter and Bjarne Stroustrup--they both lament the fact that C++ never developed as strong a standard library as Python, etc. With C++14 and beyond the C++ working committee is actively trying to make the language and libraries more complete and comparable to larger libraries out there.
- wahern 10y agoIn a low-level language like C there's _never_ a right solution out of the box. Instead, you use the language because it permits you to tailor the solution to the problem. In a high-level language like Python there's always a right solution. It's just rarely well-tailored to the problem. I'm not at all surprised C++ is still muddling around in the middle somewhere.
- pjmlp 10y agoIn C is called UNIX and it got renamed as POSIX for other OSes.
- pjmlp 10y ago> C++ does not have a "platform". Nor does it need one. Sure it does, it is called C++ Standard Library and ISO C++ catching up to what other languages already offer. https://isocpp.org/std/status https://isocpp.org/std/status