5 ms·
The whole point of C++ is that it enables writing more powerful libraries, capturing semantics in libraries that can then just be used. C++ is still quite a lot
by ncmncm 8y ago
The whole point of C++ is that it enables writing more powerful libraries, capturing semantics in libraries that can then just be used. C++ is still quite a lot more powerful for this purpose than Rust. Rust will get better at it, over time, but it has a long way to go and C++ is not siiting still.
Rust is still a niche language, and if its rates of adoption and improvement do not keep up, it will remain a niche language, and fade away like Ada.
I cannot imagine a serious programmer switching from C++ to Go. If you can, you have a much livelier imaginary life than I do.
- ajxs 8y agoThe Ada partisans are all out in force here in this thread to defend Ada, all four of us. haha... For what it's worth, niche as Ada may be, it's an _important_ niche. It remains widespread in safety-critical applications, and isn't going anywhere anytime soon. It's really good to see Rust taking lessons from Ada/SPARK in the area of formal proofing! If any language is going to threaten C++, it looks like Rust. I don't expect an Ada resurgence to happen, unfortunately. > I cannot imagine a serious programmer switching from C++ to Go. If you can, you have a much livelier imaginary life than I do. This got a laugh out of me.
- pjmlp 8y agoA large majority of Ada partisans found their corner in Java, C# and C++'s type system improvements over C, and made the best we could from the sour grapes of C's copy-paste compatibility.
- ajxs 8y agoCalling myself an Ada partisan is a bit of a stretch. I've recently begun using it for embedded development, which is a domain almost completely dominated by C. That's the angle I'm coming in from.
- pjmlp 8y agoIt depends on each one naturally. For me, coming from Turbo Pascal 3 - 6, it allowed me in 1993 to use a language with a similar level of safety and language features, instead of having to deal with PDP-11 constraints. I was always the weird kid that asked the professors if I could deliver C projects written in C++ instead, which thankfully some of them did accept. Specially given that at my degree, C was already out of fashion by the early 90's. First year students got to learn Pascal and C++, and were expected to learn C from their introduction to C++ programming.
- rootlocus 8y agoIs this the "no serious programmer" fallacy?
- Y_Y 8y agoNo true hn commenter would make such a mistake.
- nicoburns 8y ago> Rust is still a niche language Only just barely at this point. It has significant projects from a lot of the largest companies (Google, Microsoft, Amazon, etc). Firefox is using it, Dropbox is using it, Red Hat is using it.
- ncmncm 8y agoIn five years it might be just barely a niche language. In ten, if it catches on, it won't be. If it does, its users will have come over from Java, C#, and C.
- machinecoffee 8y agoFrom what I can see, the whole point of C++ is to wrap existing C libraries and call them OO :-)