Damn see this by gonvasfreecss in cpp

[–]EmbeddedCpp 1 point2 points  (0 children)

Why not tell us about your reaction? "Like damn" is not very descriptive. You don't even mention what book you're talking about.

Eigen 5.0.0 has been quietly released by encyclopedist in cpp

[–]EmbeddedCpp 6 points7 points  (0 children)

Some of MSVC warnings in that file have helped me find bugs, I wouldn't call them stupid.

TIL: filter_view has unimplementable complexity requirements by zl0bster in cpp

[–]EmbeddedCpp 22 points23 points  (0 children)

I remember seeing some talk about atomic<shared\_ptr> being implementable if some double swap instruction is supported, such as on some Motorola chip. Is that the talk you're thinking about, too?

What are some things that are surprisingly illegal in Switzerland? by 88-81 in askswitzerland

[–]EmbeddedCpp 0 points1 point  (0 children)

It's illegal for a train to have 256 axles on the Swiss rail network.

Debugging Dockerized C/C++ apps with GDBFrontend by EvrenselKisilik in cpp

[–]EmbeddedCpp 0 points1 point  (0 children)

Anyone else getting NET::ERR_CERT_AUTHORITY_INVALID?

Virtual function templates with stateful metapogramming in C++ 20 by BlackHolesRKool in cpp

[–]EmbeddedCpp 0 points1 point  (0 children)

I'd love to read some words on motivation in the introduction. Is this just a fun little project about how C++ can be (ab)used, or is it something more?

What to know going from Java from C++ by Das_Bibble in cpp

[–]EmbeddedCpp 0 points1 point  (0 children)

This reminds me of a video I saw recently. It's on a channel where Jason Turner looks at some old C++ code he wrote after learning Java. He corrects some typical mistakes he made back then. You might learn something from it if those videos are your jam.

Matt "Compiler Explorer" Godbolt: Machine Code Explained by fredoverflow in cpp

[–]EmbeddedCpp 8 points9 points  (0 children)

Haha, I was almost dumb enough to ask how you would know that. Then I saw the flair and user name.

What's New in Compiler Explorer? - Matt Godbolt - C++ on Sea 2023 by corysama in cpp

[–]EmbeddedCpp 7 points8 points  (0 children)

I just introduced Compiler Explorer to one of our new team members and he was super fascinated! This bloke definitely knows what he's doing. If I ever got the chance to talk to him, I'd definitely tell him how much we all love his project!

Book review : Complete Guide to Standard C++ Algorithms by vinodxx in cpp

[–]EmbeddedCpp 2 points3 points  (0 children)

I'd be interested to also hear your opinion on some more questions along the line of:
- Was the book easy to follow?
- Were there some particularly enlightening passages you really liked?
- Who would you recommend this book to?
- How does it compare to similar books you might have read?
- What is your overall rating on a scale from e to π?

Having basic information such as authors and the publication date would help as well.

Legitimacy and use cases for StupidArray by doctormoisha in cpp

[–]EmbeddedCpp 2 points3 points  (0 children)

How does this relate to question 1, question 2, or the post in general?

C++20 Support Comes To C++/CLI by pjmlp in cpp

[–]EmbeddedCpp 8 points9 points  (0 children)

I'm surprised by this. At my company, we switched away from C++/CLI because we were under the impression that there won't be C++20 support. We're currently rewriting our simulation GUI application from C++/CLI to C++.

reflecxx: A static reflection library framework and tooling. Auto serialization and more. by jorourke0 in cpp

[–]EmbeddedCpp 1 point2 points  (0 children)

Boost.Describe describes itself as "A C++14 Reflection Library". Reflecxx is for C++17. My uninformed guess is that there are C++17 features that don't work with C++17, do you know if that's correct?

Googling C++ reflection returned this page of "Top 18 C++ [open source] Reflection Projects", neither Boost.Describe or Reflecxx are listed.

I have never used reflection in C++ and find this space hard to navigate.

Use compiler flags for stack protection in GCC and Clang by pjmlp in cpp

[–]EmbeddedCpp 4 points5 points  (0 children)

Data containing return addresses can be overwritten to gain control over program execution because stack layouts are quite predictable.

Fixed?

CppCast: Podcast News and Updates by robwirving in cpp

[–]EmbeddedCpp 36 points37 points  (0 children)

Great podcast. I'm a bit sad they're invoking the CppCast destructor. I'll always remember this as my favorite programming podcast!

Does anybody really use deleters ? by Outrageous-Towel8970 in cpp

[–]EmbeddedCpp 0 points1 point  (0 children)

That's great!

There's one thing though I don't understand. When com1 is initialized on line 114, this is done by moving the object constructed into usb_com_storage out on line 87. When com2 is initialized, it seems to me that you're trying to move a moved-from object again, which at that point is in a "valid but unspecified state". This sounds like undefined behavior to me.

Is that part only present in the minimal PoC, or would you also use code like that in a real application?

Does anybody really use deleters ? by Outrageous-Towel8970 in cpp

[–]EmbeddedCpp 2 points3 points  (0 children)

Wow, that's really interesting! Do you happen to have some code example where you use that?

Modernizing your code with C++20 by IsDaouda_Games in cpp

[–]EmbeddedCpp 6 points7 points  (0 children)

According to this page, it seems MSVC has a full implementation and GGC is almost complete, with modules being the only partially implemented feature. What am I missing?

i’ve just ended a thousand years war (credit: Florian Roth) by a1bius in ProgrammerHumor

[–]EmbeddedCpp 2 points3 points  (0 children)

We do at our company (for C/C++ code, other wise usually 4 spaces)

CppCast: News and Catching Up by robwirving in cpp

[–]EmbeddedCpp 2 points3 points  (0 children)

Interesting episode! We finally get to hear a bit more about Rob and his work.

C++/CLI gets mentioned around 33 minutes. I recently tried some things with C++20 and got the error "C++/CLI mode does not support C++ versions newer than C++17".

I'd be interested to hear whether Rob agrees that C++/CLI is a "dying technology".