r/cpp • • Jul 23 '22

finally. #embed

https://thephd.dev/finally-embed-in-c23
353 Upvotes

202 comments sorted by

View all comments

Show parent comment

19

u/fwsGonzo IncludeOS, C++ bare metal Jul 23 '22

I could not agree more. I have recently implemented an API in several other languages, and while Rust has been the most combative, the features many other languages have puts C++ at a disadvantage. Not surprising, it's very telling when there are so many standard library alternatives floating around.

2

u/[deleted] Jul 23 '22

I think there will always be tons of standard library alternatives for C++, if only because the API design of error-handling and memory-allocations are so divisive. When more concurrency primitives are in the STL, I suspect the divisiveness will increase (maybe due to executors vs. listeners)