Live data from Hacker News

Wrapping Up 2021. Leaving C++

izzys.casa

141–150 of 251 posts

Re: Wrapping Up 2021. Leaving C++

#141
Why do people even bother with standards committees for library features?

Just write your own libraries, no one is stopping you.

Also, it looks like this person doesn't even write C++ professionally. Looks like that's the problem. C++ is a practical language for practical people solving practical problems, not for idealists.

Re: Wrapping Up 2021. Leaving C++

#142

> A lack of default arguments, a lack of basic arity overloading, a lack of variadic generics, all make me not want to write Rust. I'm not sure how serious this is, TBH? I mean, Rust does have macro syntax that supports all of these things (as seen e.g. in println!() and format!() ), and there are pretty solid engineering reasons to avoid those features within the basic workings of the language. I'm pretty sure most…

In my experience, Rust's multiple named functions is usually (not always) more clear than multiple function overloads, and practically always better than constructor overloads (you'll never convince me that std::vector's constructors are sane). However (IIRC) I wish it was possible in Rust to abstract over arity, in the case of function forwarding and tuple overloading.

Re: Wrapping Up 2021. Leaving C++

#143
I won't comment on the rest of the blog post, but I can fully relate to this point:

> Despite using golang, working with the absolute impenetrable monster that is kubernetes, taking on a helpdesk like on-call experience for one week at a time tending to configuration files over code, and not touching C++ at all, I feel more rewarded in my work than I ever did writing any amount of C++ in my entire life.

I actually experienced the same in the last couple of years. Doing ops work, and sometimes really tiny code changes which still help to improve a product and get recognized by people can feel really rewarding. Standardization work or any kind programming language / library development sometimes not that much (and that is independent of C++).

I think the reason for this is that in ops/support/etc environment one is working towards a known goal, which is well understood by people (peers, customers). If the goal has been reached everyone is happy, and one will likely get positive feedback. And even on the road towards the goal people will understand why it's important to get something done and help to get to the goal. E.g. code changes might not have to be perfect in order to get merged, and there might not be an extreme amount of bikeshedding.

Working on fundamentals can be different: In a setting like a standard library working group often a variety of people come together which do not share the same goal, and where goals are also not necessarily "customer driven". Instead of that, people more often have their personal goals they want to achieve, and they have their own set of motivations for it. This makes it harder to get buy-in from others. Goals are also not that quantifieable (like "fix a crash" or "improve latency by 10ms"), which makes it additionally harder to argument why something is important or less important.

Re: Wrapping Up 2021. Leaving C++

#144
post #81
post #47

Earlier quoted context omitted.

> Imagine needing to announce your "departure" from a community. The exact same thing jumped out at me. Does anyone know if the author is a particularly well known or influential member of the C++ community?

Contributing to the spec, creating a very widely used set of CMake utilities, and being a widely enjoyed speaker not enough for you? With the condescending airquotes and demeaning comment, one might think you had done some research. Clearly you hadn't. A Google search can tell you all of this.

> "Contributing to the spec, creating a very widely used set of CMake utilities, and being a widely enjoyed speaker not enough for you?"

No, this is clearly not enough to get shit accepted into the C++ standard. As evident by the fact that none of OP's ideas made it into the standard. Why should any of that matter?

I'm sure OP is not alone here, by the way. I submit there must be thousands of amazing ideas proposed by amazing people that don't end up being accepted into the standard for a myriad of reasons. Get over it.

Re: Wrapping Up 2021. Leaving C++

#145

FYI: the author is named Isabella and AFAICT uses female pronouns. In light of that, the amount of "he" and "him" in the comments so far seems a bit excessive. EDIT: it looks like a lot of those comments have been cleaned up or deleted since I first made this comment. Thank you.

No post body was provided.

Re: Wrapping Up 2021. Leaving C++

#146
post #121
post #97

Earlier quoted context omitted.

Personality disorders have been treated with therapy in many cases. What is the main reason for a label: to get the right treatment. People will never be "normal", but they can live in and deal with society, something they would have failed with even 30 years ago.

Come on now, you can't really believe that someone who "just couldn’t let something go because it was wrong or incorrect and it bothered" them - would have failed to live in and deal with society 30 years ago.

For some definition of failure. Ever read a really old book - something from the 1800s? Ever listen to your old family stories? There are many variations of "Larry, he never leaves the farm". We have no idea what might be wrong with Larry, but it is clear there must have been a lot of people who failed to fit into society. We also know that are variations, in some cases Larry would leave the farm but only for specific and controlled situations because that is all he could handle.

Obvious she is getting out, but it is highly likely with some help she could function a lot better.

Re: Wrapping Up 2021. Leaving C++

#147

It must be frustrating to propose a bunch of ideas, cultivate and advocate for them, only to never see them acknowledged or accepted by the standards committee over the course of years. That being said - let's get real about this. Simply coming up with a bunch of ideas for improvements is not enough. Neither is being vocal about it on Twitter, or giving talks at a convention. Gaining the community's support and ackno…

Especially for committee work, it's quite clear once you go there that what matters is being sponsored to attend regularly and build up relationships so that you can get experienced people on your side.

People on the committee are not sufficiently good to just accept a proposition based on technical merit alone. The whole thing needs to be made accessible and easy to digest, and preferably integrate well in what others want to do.

It's political work, which is tedious and frustrating. Some people are good at this (especially if they can figure out a way to integrate that into their career), but for most people, it's just a waste of time and effort.

Re: Wrapping Up 2021. Leaving C++

#148

Earlier quoted context omitted.

> Is there any non-proprietary Ada/SPARK implementation? Yes, it's now available as part of GNAT. The integration in GNAT Studio is good and lets you prove a single line or entire file in the IDE. I mostly write Ada for my projects and have only dabbled in SPARK. It's super interesting, but also ridiculously hard. I don't have any formal training in this, but to me, I found it at least as on par with C++ template met…

Ah, thanks. I guess this is also available with the command line tools? (I'm thinking for CI purposes.)

Yes, a lot of GNAT studio behavior is actually written as command line tools that get called specifically so you can use them outside of the editor.

The dialogs for builds/proofs even show the exact command line that's going to be used, and updates as you configure it in the editor dialog. It's a great way to learn how the GNAT tools actually work.

Re: Wrapping Up 2021. Leaving C++

#149
post #4

Makes me wonder if I've too strongly tied my career to a specific language. However, right now it's not that I'm specifically a C++ programmer, just that the industry (gamedev) is largely C++. I'm sure in for it if that shifts out from under me before I find stable employment though....

If you are open to other things, I wouldn't worry about it. Programming languages are tools, and learning others tools isn't that hard. People can jump from C++ to Rust, Java or C# in a small time. And this especially applies if people are coming from more powerful languages like C++ - so that other language features are often more a subset than a superset.

Re: Wrapping Up 2021. Leaving C++

#150

> A lack of default arguments, a lack of basic arity overloading, a lack of variadic generics, all make me not want to write Rust. I'm not sure how serious this is, TBH? I mean, Rust does have macro syntax that supports all of these things (as seen e.g. in println!() and format!() ), and there are pretty solid engineering reasons to avoid those features within the basic workings of the language. I'm pretty sure most…

Why do you think Rust not supporting variadic generics is the right thing?

Because Rust is not C++?
Post reply on HN