Live data from Hacker News

Are We Modules Yet?

arewemodulesyet.org

61–70 of 94 posts

Re: Are We Modules Yet?

#62
post #2

I feel that the site would benefit from a paragraph or two about what C++ Modules are and why devs should use them

You know any other language that uses the header/cpp split likes C/C++ do? This is C++es way of finally getting rid of them, akin to Swift or Rust.

It's called putting all your code in the .h

Re: Are We Modules Yet?

#63
post #22

Who all are doing the `arewe yet` Web sites, other than Rust and this C++ one?

It is a Mozilla culture thing that turned into a Rust thing, and yeah this is the first one I’ve seen outside of those two general communities so far. Here is my, uh, “favorite” https://arewereorganizedyet.com/

That one is great (but sad).

Re: Are We Modules Yet?

#64

As a longtime C++ user, I'd sooner just upgrade to a better system programming language. C++ is a weird mess.

Which one would you recommend? My ideal C++ alternative would be something like Swift but faster.

Rust, since you're mentioning speed. It was refreshing to use, partially because the standard library is so much nicer.

Re: Are We Modules Yet?

#65
post #32

As a longtime C++ user, I'd sooner just upgrade to a better system programming language. C++ is a weird mess.

C++ has long surpassed the point where mere mortals like me can understand it; It's so loaded with baggage, footguns, and inscrutable standards language that honestly I think the only thing keeping it going is institutional inertia and "backwards compatbility" (air quotes). I work extensively in the embedded space and unfortunately C and C++ are still pretty much the only viable languages. I can not wait until the da…

What's stopping Rust from being used in embedded?

Re: Are We Modules Yet?

#66

I've been working professionally with c++ since 2001, and I'm currently a team lead. The compensation packages we are able to offer to new hires means we're generally hiring from the middle of the talent pool, not the upper tier. The complexity of c++ has long since outpaced the pace of fluency of the hiring pool. In my experience, the average c++ professional (that applies for our open job ads) knows c++14, and migh…

It's a chicken and egg problem.

You mention the average C++ programmer won't know the latest features, but if you did find an enthusiast who knew the latest features, you and the team probably wouldn't allow the use of those new features.

I can't imagine a more soul draining job than maintaining a corporate C++ codebase. Talk about doing the bare minimum.

Re: Are We Modules Yet?

#67
post #12

Ha, there I was assuming this would be about JavaScript. Good to know we all have struggles.

Same, I was ready to come in and complain, but then I was just confused. Been using C++ daily for 5 years but have never heard of C++ modules.

Re: Are We Modules Yet?

#68
post #32

As a longtime C++ user, I'd sooner just upgrade to a better system programming language. C++ is a weird mess.

C++ has long surpassed the point where mere mortals like me can understand it; It's so loaded with baggage, footguns, and inscrutable standards language that honestly I think the only thing keeping it going is institutional inertia and "backwards compatbility" (air quotes). I work extensively in the embedded space and unfortunately C and C++ are still pretty much the only viable languages. I can not wait until the da…

I‘m currently doing work with Rust on Esp32 platforms and I‘ll have to say, it‘s not quite ready yet. Debug tools still have issues, and we‘re facing some problems with vendor specific magic in Esp IDF version 5.

Re: Are We Modules Yet?

#70

I've been working professionally with c++ since 2001, and I'm currently a team lead. The compensation packages we are able to offer to new hires means we're generally hiring from the middle of the talent pool, not the upper tier. The complexity of c++ has long since outpaced the pace of fluency of the hiring pool. In my experience, the average c++ professional (that applies for our open job ads) knows c++14, and migh…

It's a chicken and egg problem. You mention the average C++ programmer won't know the latest features, but if you did find an enthusiast who knew the latest features, you and the team probably wouldn't allow the use of those new features. I can't imagine a more soul draining job than maintaining a corporate C++ codebase. Talk about doing the bare minimum.

> I can't imagine a more soul draining job than maintaining a corporate C++ codebase.

To me, that's anything web-related in Java/C#/Go/JS.

Post reply on HN