r/cpp • • Aug 25 '21

Experience C++ developers: do you enjoy using C++ (even for personal/hobby projects?)

Do you actually enjoy using C++, or do you only use it for work, or purely for performance? This question is aimed at people with years of experience, who've worked on large projects in C++. I see people who dislike the language, but use it purely for performance reasons. This sort of discourages me from learning it. I don't want programming to feel like work.

204 Upvotes

327 comments sorted by

View all comments

Show parent comments

2

u/ButchDeanCA Aug 25 '21

It’s also the fact for me that most of the APIs I use don’t have Rust bindings, but I’m sure I will give it a try one day.

2

u/NobodyXu Aug 25 '21

They don’t have official binding, though there are official Rust crates for automatically generate binding for it, though they are marked as unsafe and requires you to perform wrapping it in safe code.

FYI, here’s a list of C/C++ projects with Rust binding:

  • GTK-rs

  • Qt

  • libpulse

  • opencv

  • zstd

  • openssl

  • wlroots

Edit:

Sorry I missed the sentence “most of the APIs I used”.

I was too sleepy.

3

u/ButchDeanCA Aug 25 '21

No problem, but still thanks for the list! :)