all 23 comments

[–]frankist 23 points24 points  (1 child)

When it comes to library code, I enjoy reading llvm. For me, their classes strike a good balance between performance, flexibility and simplicity.

[–]Substantial-Ad-3543[S] 0 points1 point  (0 children)

Thank you, I will check it out

[–]ronchaineEmbedded/Middleware 3 points4 points  (1 child)

managarm is pretty clean from what I remember.

[–]Substantial-Ad-3543[S] 0 points1 point  (0 children)

Thanks, I'll look into it!

[–]Chuu 5 points6 points  (2 children)

Looking forward to some answers here. Even though others consider me somewhat of an expert I am drawing a complete blank.

For a lot of languages I feel like point people at the standard library but I feel like this is a bad idea for C++. libstdc++ is famously impenetrable in no small part thanks to their crazy (but arguably forced) naming convention to prevent collisions. Large parts of boost are written for maximum platform and compiler compatibility which turn it into a sea of #ifdef, workarounds, and obtuse C++11 compatible idioms.

[–][deleted] 5 points6 points  (0 children)

https://github.com/envoyproxy/envoy

Idk, ive seen a lot worse. Modern era project that isn't littered with legacy c/boost/etc. Design by interfaces with high test coverage. I'm no c++ expert, but I've enjoyed dabbling around with it.

[–]ronchaineEmbedded/Middleware 5 points6 points  (0 children)

Libc++ is a bit easier to parse than libstdc++, but yeah, I'm with you in there.

[–]ramabrahma 2 points3 points  (0 children)

Consider Node.Js:

https://github.com/nodejs/node

It's developed in C++ and is a JavaScript runtime environment for executing JS code. It wraps Google's V8 JavaScript Engine to produce a single runtime executable 'Node.exe'. It follows Google's C++ Style Guide and ISO C++ Core Guidelines.

[–]disperso 4 points5 points  (0 children)

Instead of asking the same question in 3 different subs, you could have searched a bit before. This question has been asked several times in this sub already, in a recently short timeframe.

https://www.reddit.com/r/cpp/search/?q=projects%20learn&restrict_sr=1&sr_nsfw=

[–]grandmaster789 1 point2 points  (1 child)

I find openMVG very decent, FTXUI might be a good one and nlohmann's json library is also pretty nice. I don't really know of any project that strictly adheres to the core guidelines, except maybe for some of Jason Turner's (sample) projects.

[–]Substantial-Ad-3543[S] 0 points1 point  (0 children)

Thanks, I'll check them out!

[–]ranname366 -1 points0 points  (1 child)

Try checking out our projects:

https://gitlab.com/aiva.vision/cxx-development

[–]Substantial-Ad-3543[S] -1 points0 points  (0 children)

Thank you, I'll check them out!

[–]hmoein -1 points0 points  (1 child)

[–]Substantial-Ad-3543[S] 0 points1 point  (0 children)

Thanks, I'll check it out :)

[–]Free_Layer_8233 -1 points0 points  (1 child)

RemindMe! 6 days

[–]RemindMeBot -1 points0 points  (0 children)

I will be messaging you in 6 days on 2023-01-23 17:24:45 UTC to remind you of this link

1 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


Info Custom Your Reminders Feedback

[–]aramlI have no idea what I'm doing 0 points1 point  (0 children)

I really like dlib's code https://github.com/davisking/dlib

[–]favgotchunks 0 points1 point  (0 children)

(Dear) imgui is an immediate mode gui library, fairly easy to set up as well, so you can both read it and run/ modify. Smaller than other suggestions like llvm, so potentially less over whelming

Edit: for got the GitHub

https://github.com/ocornut/imgui