Live data from Hacker News

Ask HN: Go deep Rust or C++ or Golang?

news.ycombinator.com

11–20 of 25 posts

Re: Ask HN: Go deep Rust or C++ or Golang?

#11

C# is my daily driver. But If I had the opportunity to code in one of your languages I would pick Rust. I think its the future. But to your question of maximum financial payoff, surely there are 10X more C++ jobs out there at the ioment than Rust or Go due to the age of the language. I know C++ is long in the tooth but it isnt going anywhere and you can still land some high paying jobs if you have it as a skill.

The performance of .NET is adequate for my usage/industry. There are some embedded Python projects we have that we will rewrite in Rust as we are very unhappy with Python performance overall - it's actually a joke that the community worships it.

Re: Ask HN: Go deep Rust or C++ or Golang?

#14
post #7

That’s the wrong question/assumption to begin with and already doomed. If your goal is maximum financial payoff, it won’t be done with knowing any single programming language. Pick a product/industry first, then pick the mostly optimal tool. The market cap of the product/industry will determine the payoff (unless you’re inventing a completely new sector). Ex: if you work at a hedge fund as a top quant/algo person, C+…

> If you think google products and joining google will be the highest payoff, then learn golang.

The most popular languages at Google are C++ and Java, and both are an order of magnitude more popular at Google than Go :P

Re: Ask HN: Go deep Rust or C++ or Golang?

#15
If you are ok with being an employee and not owning the company, learn devops and security. Max payoff

Devs are expensive, sure, but I'm never hiring a dev who knows a single language. That's a red flag. Personally speaking. Like people who edit files in nano.

Re: Ask HN: Go deep Rust or C++ or Golang?

#17

I've been scarred by C++ from my attempts to use it back in 1997, but recently I was considering Go or Rust for my next language. Partly because I have a small work project that I might want to make for my Windows developers, without needing to have a full Python environment, so I was considering them partly because of Tauri/Fyne cross-platform kits. I've ended up deciding on Rust, based largely on recommendations fr…

C++ as of 1997 and C++ today are very, very different propositions.

Re: Ask HN: Go deep Rust or C++ or Golang?

#18

I would say languages hardly matter at all - pick lucrative fields and then just adopt whatever the standard tooling is there. You'll probably have no issue picking up all three languages if you need to.

which fields do you consider lucrative?

Re: Ask HN: Go deep Rust or C++ or Golang?

#19

I would say languages hardly matter at all - pick lucrative fields and then just adopt whatever the standard tooling is there. You'll probably have no issue picking up all three languages if you need to.

Writing C++ is kind of a miserable experience compared to writing Rust. Happiness is an important factor.

Re: Ask HN: Go deep Rust or C++ or Golang?

#20
If money is your sole motivation and stack overflow is to believed you would be better off learning Clojure.

https://insights.stackoverflow.com/survey/2021#section-top-p...

Rust pips Go very slightly and C++ is near the bottom (I imagine because of underpaid and overworked game devs dragging the average down?).

I'd take the entire survey with a pinch of salt.

BFung's advice is decent. I would also add:

- What is a problem that lots of people have that you have the skills, willpower, time and creativity to solve?

If you want maximum financial payoff you're better off thinking about what is the maximum value you can offer to the world through problem solving and then select the appropriate language for solving that problem. And again, if maximum financial payoff is your sole goal, you're ultimately going to want to either own your own business or join the management/executive track otherwise you're probably going to hit a pay ceiling. So you might need to simultaneously study up on business skills depending on your existing background.

Another thing to consider:

If Capital by Thomas Piketty is to be believed, capital is growing quicker than wages. So would you be better served by taking time to invest your existing wage in a smarter manner than focusing on increasing your wage? I remember working in a coffee shop in 2014 whilst in debt wishing that I had the money to invest in shares in Tesla because I'd been reading about it and it seemed like a good bet. If I had maxed out all my credit cards and invested in Tesla stock I would actually be a millionaire right now because the stock has risen by over 3000% since then.

Obviously that would have been an insanely risky financial strategy but I think it illustrates the point nicely that maximum financial output is a pretty hard target to optimise for. Instead, optimise to add value. Most people find this a more rewarding path emotionally, spiritually and, as a happy byproduct, often financially as well. After all, a company's share price is, theoretically, a reflection of the value it offers the world at any moment in time.

Post reply on HN