home.social

#cpluscplus — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #cpluscplus, aggregated by home.social.

fetched live
  1. I'm **completely blown away** by C++'s std::variant visitor pattern.
    How does it work?
    How can it work?
    Is it black magic?

    godbolt.org/z/bKddhnjhW

    #cpp #cpluscplus

  2. I'm **completely blown away** by C++'s std::variant visitor pattern.
    How does it work?
    How can it work?
    Is it black magic?

    godbolt.org/z/bKddhnjhW

    #cpp #cpluscplus

  3. I'm **completely blown away** by C++'s std::variant visitor pattern.
    How does it work?
    How can it work?
    Is it black magic?

    godbolt.org/z/bKddhnjhW

    #cpp #cpluscplus

  4. I'm **completely blown away** by C++'s std::variant visitor pattern.
    How does it work?
    How can it work?
    Is it black magic?

    godbolt.org/z/bKddhnjhW

    #cpp #cpluscplus

  5. I'm **completely blown away** by C++'s std::variant visitor pattern.
    How does it work?
    How can it work?
    Is it black magic?

    godbolt.org/z/bKddhnjhW

    #cpp #cpluscplus

  6. May I make you aware of the phantastic @compiler_explorer, that totally indispensable tool to every software developer - the brainchild of @mattgodbolt ?

    I can speak only as an average C++ developer who works at a small company, and who happens to be stranded in the C++ committee.

    For my own experiments, I have a personal bookmark in my browser called "C++23 playground" as a starting point for for more elaborate adventures in the C++ lands. May be, it helps you as well:

    godbolt.org/z/Mz96j16nx

    To the best of my knowledge, the provided flags will give you some highly recommended defaults for compiler diagnostics and maximum language conformance, in the three major implementations Clang/libc++, GCC/libstdc++, and MSVC/MS-STL. Maybe you'll get some inspiration for your daily grind.

    Please support Matt and the entire CE team 🤘, f.e. by getting some swag that we nerds can proudly present in the public and wear as protective gear ☺️

    Visit shop.compiler-explorer.com/pro 🤩

    #cpp #cpp23 #cplusCplus #programming

  7. May I make you aware of the phantastic @compiler_explorer, that totally indispensable tool to every software developer - the brainchild of @mattgodbolt ?

    I can speak only as an average C++ developer who works at a small company, and who happens to be stranded in the C++ committee.

    For my own experiments, I have a personal bookmark in my browser called "C++23 playground" as a starting point for for more elaborate adventures in the C++ lands. May be, it helps you as well:

    godbolt.org/z/Mz96j16nx

    To the best of my knowledge, the provided flags will give you some highly recommended defaults for compiler diagnostics and maximum language conformance, in the three major implementations Clang/libc++, GCC/libstdc++, and MSVC/MS-STL. Maybe you'll get some inspiration for your daily grind.

    Please support Matt and the entire CE team 🤘, f.e. by getting some swag that we nerds can proudly present in the public and wear as protective gear ☺️

    Visit shop.compiler-explorer.com/pro 🤩

    #cpp #cpp23 #cplusCplus #programming

  8. May I make you aware of the phantastic @compiler_explorer, that totally indispensable tool to every software developer - the brainchild of @mattgodbolt ?

    I can speak only as an average C++ developer who works at a small company, and who happens to be stranded in the C++ committee.

    For my own experiments, I have a personal bookmark in my browser called "C++23 playground" as a starting point for for more elaborate adventures in the C++ lands. May be, it helps you as well:

    godbolt.org/z/Mz96j16nx

    To the best of my knowledge, the provided flags will give you some highly recommended defaults for compiler diagnostics and maximum language conformance, in the three major implementations Clang/libc++, GCC/libstdc++, and MSVC/MS-STL. Maybe you'll get some inspiration for your daily grind.

    Please support Matt and the entire CE team 🤘, f.e. by getting some swag that we nerds can proudly present in the public and wear as protective gear ☺️

    Visit shop.compiler-explorer.com/pro 🤩

  9. May I make you aware of the phantastic @compiler_explorer, that totally indispensable tool to every software developer - the brainchild of @mattgodbolt ?

    I can speak only as an average C++ developer who works at a small company, and who happens to be stranded in the C++ committee.

    For my own experiments, I have a personal bookmark in my browser called "C++23 playground" as a starting point for for more elaborate adventures in the C++ lands. May be, it helps you as well:

    godbolt.org/z/Mz96j16nx

    To the best of my knowledge, the provided flags will give you some highly recommended defaults for compiler diagnostics and maximum language conformance, in the three major implementations Clang/libc++, GCC/libstdc++, and MSVC/MS-STL. Maybe you'll get some inspiration for your daily grind.

    Please support Matt and the entire CE team 🤘, f.e. by getting some swag that we nerds can proudly present in the public and wear as protective gear ☺️

    Visit shop.compiler-explorer.com/pro 🤩

    #cpp #cpp23 #cplusCplus #programming

  10. May I make you aware of the phantastic @compiler_explorer, that totally indispensable tool to every software developer - the brainchild of @mattgodbolt ?

    I can speak only as an average C++ developer who works at a small company, and who happens to be stranded in the C++ committee.

    For my own experiments, I have a personal bookmark in my browser called "C++23 playground" as a starting point for for more elaborate adventures in the C++ lands. May be, it helps you as well:

    godbolt.org/z/Mz96j16nx

    To the best of my knowledge, the provided flags will give you some highly recommended defaults for compiler diagnostics and maximum language conformance, in the three major implementations Clang/libc++, GCC/libstdc++, and MSVC/MS-STL. Maybe you'll get some inspiration for your daily grind.

    Please support Matt and the entire CE team 🤘, f.e. by getting some swag that we nerds can proudly present in the public and wear as protective gear ☺️

    Visit shop.compiler-explorer.com/pro 🤩

    #cpp #cpp23 #cplusCplus #programming

  11. Rust does seem to have a lot of nice features. My biggest blocker for me going to Rust from C++ is that C++ has much better support for generic programming. And now that Concepts have landed, I'm not aware of any language that can compete in this area.

    #rust #cpp #CPlusCplus #programming #compsci

  12. Rust does seem to have a lot of nice features. My biggest blocker for me going to Rust from C++ is that C++ has much better support for generic programming. And now that Concepts have landed, I'm not aware of any language that can compete in this area.

  13. Rust does seem to have a lot of nice features. My biggest blocker for me going to Rust from C++ is that C++ has much better support for generic programming. And now that Concepts have landed, I'm not aware of any language that can compete in this area.

    #rust #cpp #CPlusCplus #programming #compsci

  14. Rust does seem to have a lot of nice features. My biggest blocker for me going to Rust from C++ is that C++ has much better support for generic programming. And now that Concepts have landed, I'm not aware of any language that can compete in this area.

    #rust #cpp #CPlusCplus #programming #compsci

  15. Rust does seem to have a lot of nice features. My biggest blocker for me going to Rust from C++ is that C++ has much better support for generic programming. And now that Concepts have landed, I'm not aware of any language that can compete in this area.

    #rust #cpp #CPlusCplus #programming #compsci

  16. My little daisyseed synth project is currently stalling on the whole "C++ is just the WORST language" problem.

    There's a class in the DaisySP library which is *almost* what I want. So I should be able to just subclass it and work from there, right?

    Well, no, because none of the functions that I want to override are declared "virtual", so I'd have to edit and re-build the library.

    I'm sure this is all in the service of runtime efficiency, at some level. But, you know - it's a 480MHz ARM processor. I think a little indirection wouldn't be a huge deal.

    I will just write the whole thing from scratch, all 100 lines or so of it. But it's *IRRITATING*, you know?

    #daisyseed #CPlusCplus #embedded #synthdiy #synth

  17. My little daisyseed synth project is currently stalling on the whole "C++ is just the WORST language" problem.

    There's a class in the DaisySP library which is *almost* what I want. So I should be able to just subclass it and work from there, right?

    Well, no, because none of the functions that I want to override are declared "virtual", so I'd have to edit and re-build the library.

    I'm sure this is all in the service of runtime efficiency, at some level. But, you know - it's a 480MHz ARM processor. I think a little indirection wouldn't be a huge deal.

    I will just write the whole thing from scratch, all 100 lines or so of it. But it's *IRRITATING*, you know?

    #daisyseed #CPlusCplus #embedded #synthdiy #synth

  18. My little daisyseed synth project is currently stalling on the whole "C++ is just the WORST language" problem.

    There's a class in the DaisySP library which is *almost* what I want. So I should be able to just subclass it and work from there, right?

    Well, no, because none of the functions that I want to override are declared "virtual", so I'd have to edit and re-build the library.

    I'm sure this is all in the service of runtime efficiency, at some level. But, you know - it's a 480MHz ARM processor. I think a little indirection wouldn't be a huge deal.

    I will just write the whole thing from scratch, all 100 lines or so of it. But it's *IRRITATING*, you know?

    #daisyseed #CPlusCplus #embedded #synthdiy #synth

  19. My little daisyseed synth project is currently stalling on the whole "C++ is just the WORST language" problem.

    There's a class in the DaisySP library which is *almost* what I want. So I should be able to just subclass it and work from there, right?

    Well, no, because none of the functions that I want to override are declared "virtual", so I'd have to edit and re-build the library.

    I'm sure this is all in the service of runtime efficiency, at some level. But, you know - it's a 480MHz ARM processor. I think a little indirection wouldn't be a huge deal.

    I will just write the whole thing from scratch, all 100 lines or so of it. But it's *IRRITATING*, you know?

    #daisyseed #CPlusCplus #embedded #synthdiy #synth

  20. "The only way to learn a new programming language is by writing programs in it."
    – Dennis Ritchie

    Therefore C++ is not a programming language.

    #CPlusCplus

  21. "The only way to learn a new programming language is by writing programs in it."
    – Dennis Ritchie

    Therefore C++ is not a programming language.

    #CPlusCplus

  22. "The only way to learn a new programming language is by writing programs in it."
    – Dennis Ritchie

    Therefore C++ is not a programming language.

    #CPlusCplus

  23. "The only way to learn a new programming language is by writing programs in it."
    – Dennis Ritchie

    Therefore C++ is not a programming language.

    #CPlusCplus

  24. "The only way to learn a new programming language is by writing programs in it."
    – Dennis Ritchie

    Therefore C++ is not a programming language.

    #CPlusCplus

  25. As I was going through and working on some puzzles I noticed that an inordinately large amount of the problems on leetcode all have Permutations at their core.

    After a little bit of research, it turns out that I had been generating permutations suboptimally this entire time.

    The most efficient implementation is something called Heap's Algorithm, which I have to admit I had never heard of. So, here it is.

    github.com/aeu/legible-algorit

    #programming #cpp #CPlusCplus #algorithms

  26. As I was going through and working on some puzzles I noticed that an inordinately large amount of the problems on leetcode all have Permutations at their core.

    After a little bit of research, it turns out that I had been generating permutations suboptimally this entire time.

    The most efficient implementation is something called Heap's Algorithm, which I have to admit I had never heard of. So, here it is.

    github.com/aeu/legible-algorit

    #programming #cpp #CPlusCplus #algorithms

  27. As I was going through and working on some puzzles I noticed that an inordinately large amount of the problems on leetcode all have Permutations at their core.

    After a little bit of research, it turns out that I had been generating permutations suboptimally this entire time.

    The most efficient implementation is something called Heap's Algorithm, which I have to admit I had never heard of. So, here it is.

    github.com/aeu/legible-algorit

  28. As I was going through and working on some puzzles I noticed that an inordinately large amount of the problems on leetcode all have Permutations at their core.

    After a little bit of research, it turns out that I had been generating permutations suboptimally this entire time.

    The most efficient implementation is something called Heap's Algorithm, which I have to admit I had never heard of. So, here it is.

    github.com/aeu/legible-algorit

    #programming #cpp #CPlusCplus #algorithms

  29. As I was going through and working on some puzzles I noticed that an inordinately large amount of the problems on leetcode all have Permutations at their core.

    After a little bit of research, it turns out that I had been generating permutations suboptimally this entire time.

    The most efficient implementation is something called Heap's Algorithm, which I have to admit I had never heard of. So, here it is.

    github.com/aeu/legible-algorit

    #programming #cpp #CPlusCplus #algorithms

  30. ArkScript December 2024 update is here!

    lexp.lt/posts/arkscript_update

    Quite a long read because there was a lot of changes. I’m now thinking I should maybe do a 2024 article wrap?
    Or people can just read lexp.lt/categories/arkscript/ if they want to see everything 🤔

    #compiler #cpp #cpluscplus #opensource #pldev #ArkScript

  31. ArkScript December 2024 update is here!

    lexp.lt/posts/arkscript_update

    Quite a long read because there was a lot of changes. I’m now thinking I should maybe do a 2024 article wrap?
    Or people can just read lexp.lt/categories/arkscript/ if they want to see everything 🤔

    #compiler #cpp #cpluscplus #opensource #pldev #ArkScript

  32. ArkScript December 2024 update is here!

    lexp.lt/posts/arkscript_update

    Quite a long read because there was a lot of changes. I’m now thinking I should maybe do a 2024 article wrap?
    Or people can just read lexp.lt/categories/arkscript/ if they want to see everything 🤔

  33. ArkScript December 2024 update is here!

    lexp.lt/posts/arkscript_update

    Quite a long read because there was a lot of changes. I’m now thinking I should maybe do a 2024 article wrap?
    Or people can just read lexp.lt/categories/arkscript/ if they want to see everything 🤔

    #compiler #cpp #cpluscplus #opensource #pldev #ArkScript

  34. ArkScript December 2024 update is here!

    lexp.lt/posts/arkscript_update

    Quite a long read because there was a lot of changes. I’m now thinking I should maybe do a 2024 article wrap?
    Or people can just read lexp.lt/categories/arkscript/ if they want to see everything 🤔

    #compiler #cpp #cpluscplus #opensource #pldev #ArkScript

  35. I like , it’s a fun (because challenging, at least to me) and powerful language

    However after having spent a few years on with this language, I wouldn’t recommend it to anyone wanting to make a big project with it.
    Without a ton of tests everywhere in your code, you’re guaranteed to have something breaking randomly

  36. I like #cpluscplus, it’s a fun (because challenging, at least to me) and powerful language

    However after having spent a few years on #ArkScript with this language, I wouldn’t recommend it to anyone wanting to make a big project with it.
    Without a ton of tests everywhere in your code, you’re guaranteed to have something breaking randomly

  37. Some first steps to integrate #doxygen in my #opensource project. Feels ok so far. There are only some hiccups resolving references.

    #programming #CPlusCplus #foss #cpp

  38. Some first steps to integrate #doxygen in my #opensource project. Feels ok so far. There are only some hiccups resolving references.

    #programming #CPlusCplus #foss #cpp

  39. Some first steps to integrate #doxygen in my #opensource project. Feels ok so far. There are only some hiccups resolving references.

    #programming #CPlusCplus #foss #cpp

  40. Some first steps to integrate #doxygen in my #opensource project. Feels ok so far. There are only some hiccups resolving references.

    #programming #CPlusCplus #foss #cpp

  41. Some first steps to integrate #doxygen in my #opensource project. Feels ok so far. There are only some hiccups resolving references.

    #programming #CPlusCplus #foss #cpp

  42. Fun tip: create a shell script configuration and add all your tests configurations in "before launch"
    It will build and launch them all one after another and you'll keep access to the output on the Run menu (something you loose with a compound configuration)

  43. Fun #Clion tip: create a shell script configuration and add all your tests configurations in "before launch"
    It will build and launch them all one after another and you'll keep access to the output on the Run menu (something you loose with a compound configuration)
    #cpluscplus #testing

  44. Just stumbled upon this. #Intel has some very interesting activities in the C++ community.

    Thanks for what you share, @lukevalenty

    #CPlusCplus #Cpp

    github.com/intel/cpp-std-exten

  45. Just stumbled upon this. #Intel has some very interesting activities in the C++ community.

    Thanks for what you share, @lukevalenty

    #CPlusCplus #Cpp

    github.com/intel/cpp-std-exten