es
Feedback
C++ - Reddit

C++ - Reddit

Ir al canal en Telegram

Stay up-to-date with everything C++! Content directly fetched from the subreddit just for you. Join our group for discussions : @programminginc Powered by : @r_channels

Mostrar más
228
Suscriptores
Sin datos24 horas
-27 días
-130 días
Archivo de publicaciones
I want to know which one is illegal. I'm so confused atm I'm very new to c++ so I don't know that much about it. Num_2, double, e_3434, int_2, _E232, 23_str https://redd.it/mb4gzf @r_cpp

A tuple implementation that stores its elements in direct order (instead of reverse order as in most C++'s implementations of the standard) https://godbolt.org/z/PevG9a4vG https://redd.it/may9pl @r_cpp

Check out my simple mutation-testing tool: dumbmutate - v1.1 just released https://github.com/RagnarDa/dumbmutate https://redd.it/maslhy @r_cpp

hdoc, the modern documentation tool for C++, is now open source https://hdoc.io/blog/open-sourcing-hdoc/ https://redd.it/maslrs @r_cpp

C++ compiler Hi guys how do I change my mingw32 to mingw64? im using mingw 32 9.2.0. I dont know how https://redd.it/man0sm @r_cpp

Call python executable code in c++ I am doing my research in networking and i want to implement Multivariate linear regression on my own data set(numeric).... i used python for multivariate linear regression using sklearn library and now i want to embed/call that python implementation from my c++ code... AS if i say that c++ is my application and python code is a service which provides services to my c++ code.... and i need python code output in c++ code so i want to call python executable in c++.... can i do that.... i search a lot as boost one is but i am not understanding how can i do... i used jupyter notebook for python and eclipse for c++.... is i can call python code...because i have using own sklearn library and if i implement multivariate linear regression in c++ then how can i apply because i now python but no idea how can i deal with larger data set using c++ https://redd.it/mak9xy @r_cpp

constexpr Dynamic Memory Allocation, C++20 - variable size containers allowed! https://www.cppstories.com/2021/constexpr-new-cpp20/ https://redd.it/maj7xy @r_cpp

Using C++17 to Create Composable, Recursive Data Types https://davidgorski.ca/posts/recursive-data-types-cpp/ https://redd.it/maadka @r_cpp

Differences between the coding standards of Google, Gnu and Coreguidlines The title almost said it. Is there a page that lists the exact differences between the coding standards of Google, Gnu and Coreguidelines? I'm just trying to find an overview. Thanks in advance. I've already seen Nicolai Josuttis's video ​ Ben https://redd.it/ma6pw6 @r_cpp

Guideline for passing smart pointers sharedptr and uniqueptr in functions https://levelup.gitconnected.com/passing-smart-pointers-in-c-479775632443 Hi All, I have compiled few guideline diagrams article on how to pass shared_ptr and unique_ptr in function arguments for optimal performance and what to pass at the time of return. After reading Herb's blog, C++ guidelines, and a few other references I have put together this and few guideline matrices which are in this article. This article covers the following - 1. Always ask yourself “Do I really need to pass a smart pointer” 2. std::unique_ptr usage 3. std::shared_ptr usage 4. How to pass correctly pass raw pointer/reference. 5. For Returning smart pointers, what is the norm? I searched but never found a good graphical representation of these guidelines, hence I thought I'd give that a try :) Please help me in improving anything which is incorrect or missing in this. https://redd.it/ma1l5y @r_cpp

dxoygen awesome css : make your doxygen docs looking more modern I recently found that, what makes doxygen generated docs really looking awesome (imho): https://jothepro.github.io/doxygen-awesome-css/ https://redd.it/ma2r2r @r_cpp

Good content for learning c++ with no programmnig experience Hello! My sister is going to start a computer science education in a few months, which is C++ heavy. I thought it would be useful for her to start experimenting with C++ now since she has a lot of spare time at the moment. Do you have any REALLY basic tutorial for starting hello world c++, preferable a series of short videos? Perhaps a good one on udemy / youtube? :) https://redd.it/ma2sus @r_cpp

Partial specialization of templates over non-type literal parameters in C++20: clang and gcc disagree https://stackoverflow.com/questions/66731338/partial-specialization-of-templates-over-non-type-literal-parameters-in-c20-c https://redd.it/m9wvnb @r_cpp

Releasing lazymap C++ library I developed a lazy\map library, whose interface is similar to std::unordered_map but lazy_map is O(1) copiable. Other operations like Deletion, Lookup, Insertion etc. continue to cost O(1)..  which also implies that lazy_map is not a simple cow_wrapper<std::unordered_map> .. lazy_map is way more clever than that. Learn more at : https://github.com/tinytrashbin/lazy\_map Specially, checkout the section which explains the "Fragment" tree. Lazy_map is heavily used in our codebase for taking snapshot of a very large  state ( of size \~ 5 GBs), enabling "fork" of a snapshot in O(1) time for further  modification in the forked snapshot, allowing a large number of threads to operate on different snapshots of very large size, concurrently without interfering with each other where each of the thread is even "writing" to their snapshot. I believe such a utility will be very helpful for others too. Take a look and let me know if it's helpful for you. https://redd.it/m9uwaq @r_cpp

Schema validation library for C++ 20 Hi C++ folks!! I love C++ so I time to time work on some apps and libraries in C++. I've been working on this one (for such long time) for fun and as a way to practice C++ concepts (eh I don't mean the #include <concepts> :d) I learn but then I got hooked on it and have gotten it to a state that I believe can be presented to others. I haven't run benchmarks against it but I have worked hard on keeping it fast and not as memory hungry as some of the other libraries I've worked with. I've got to run some benchmarks to see where it stands on the performance but I don't use virtual tables for the container wrappers for instance and made sure in a lot of cases the wrappers get optimized away. This is my first ever C++ library! well the first public one at least so I'm real excited to hear your thoughts on it. I would really appreciate constructive feedback. This is pretty alpha at the moment but the general idea is pretty clear in it. I know there are other similar libraries out there but I wanted to use concepts and make it easier to encode/decode without using macros, so it's kinda similar to encoding/decoding in Swift, at least in certain ways. Anyway, what I would love to determine over the next few days hearing feedback from people is whether or not this is something people would find useful or if I should just keep this to me for fun :) Repository: https://github.com/peymanmortazavi/garlic-models Documentation: https://peymanmortazavi.github.io/garlic-models/index.html &#x200B; If you want to actually compile and test this, you need GCC 10 so you can use C++ 20. I definitely need to work to make this work for other compilers and not require C++ 20 but I have not started on that part yet. https://redd.it/m8xp00 @r_cpp

djinni generator v0.3.1 released https://github.com/cross-language-cpp/djinni-generator/releases/tag/v0.3.1 (Djinni is a tool for generating cross-language type declarations and interface bindings. It's designed to connect C++ with either Java or Objective-C.) docs: https://djinni.xlcpp.dev https://redd.it/m9ejyn @r_cpp