home.social

#cplusplus20 — Public Fediverse posts

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

  1. I've finished the automatic serialization/ remote procedure call registry that had me studying the ancient black magics of modern C++. I don't know if this is useful to anyone else, but I commented and cleaned it up and put it on github. gist.github.com/Alrecenk/0bd87

    #coding #cplusplus #cplusplus20 #technicalasset

  2. I've finished the automatic serialization/ remote procedure call registry that had me studying the ancient black magics of modern C++. I don't know if this is useful to anyone else, but I commented and cleaned it up and put it on github. gist.github.com/Alrecenk/0bd87

    #coding #cplusplus #cplusplus20 #technicalasset

  3. I've finished the automatic serialization/ remote procedure call registry that had me studying the ancient black magics of modern C++. I don't know if this is useful to anyone else, but I commented and cleaned it up and put it on github. gist.github.com/Alrecenk/0bd87

    #coding #cplusplus #cplusplus20 #technicalasset

  4. I've finished the automatic serialization/ remote procedure call registry that had me studying the ancient black magics of modern C++. I don't know if this is useful to anyone else, but I commented and cleaned it up and put it on github. gist.github.com/Alrecenk/0bd87

    #coding #cplusplus #cplusplus20 #technicalasset

  5. I've finished the automatic serialization/ remote procedure call registry that had me studying the ancient black magics of modern C++. I don't know if this is useful to anyone else, but I commented and cleaned it up and put it on github. gist.github.com/Alrecenk/0bd87

    #coding #cplusplus #cplusplus20 #technicalasset

  6. I knew that they introduced a formatting library in C++20, which first and foremost has a "format" function that does away with the old iomanip stuff and the << operator all over the place, but I hadn't really looked into it until recently.

    And I'm in love. I use format all the time now. Why did I not look into this sooner?

    I don't think I really realized how much of a hassle it was to use the old << way of writing to output streams. There are still times when that is useful, but for detailed formatting of text, it really REALLY sucked!

    #C++ #cplusplus #cplusplus20 #programming

  7. Explore #Redpanda—a high-performance stream engine built on the #SeastarFramework!

    John Spray takes us on a journey into building high-performance systems with #Cplusplus20 in an asynchronous runtime.

    Discover the challenges & tradeoffs in adopting a thread-per-core architecture: bit.ly/3T6ZgeI

    #AsynchronousArchitecture #InfoQ

  8. Explore —a high-performance stream engine built on the !

    John Spray takes us on a journey into building high-performance systems with in an asynchronous runtime.

    Discover the challenges & tradeoffs in adopting a thread-per-core architecture: bit.ly/3T6ZgeI

  9. Explore #Redpanda—a high-performance stream engine built on the #SeastarFramework!

    John Spray takes us on a journey into building high-performance systems with #Cplusplus20 in an asynchronous runtime.

    Discover the challenges & tradeoffs in adopting a thread-per-core architecture: bit.ly/3T6ZgeI

    #AsynchronousArchitecture #InfoQ

  10. Explore #Redpanda—a high-performance stream engine built on the #SeastarFramework!

    John Spray takes us on a journey into building high-performance systems with #Cplusplus20 in an asynchronous runtime.

    Discover the challenges & tradeoffs in adopting a thread-per-core architecture: bit.ly/3T6ZgeI

    #AsynchronousArchitecture #InfoQ

  11. Explore #Redpanda—a high-performance stream engine built on the #SeastarFramework!

    John Spray takes us on a journey into building high-performance systems with #Cplusplus20 in an asynchronous runtime.

    Discover the challenges & tradeoffs in adopting a thread-per-core architecture: bit.ly/3T6ZgeI

    #AsynchronousArchitecture #InfoQ

  12. One of my biggest struggle with concepts: expanding a sequence in the constrains. This should clearly be a language feature. What syntax? I have no idea. But the amount of hacks all C++ programmers that dared touching variadic templates have dealt with this problem many time and in many forms.

    Why concepts makes it worse? You cannot have partial specialization or overloading, making it impossible to unpack a sequence.

    #cplusplus #cpp #templates #cplusplus20

  13. One of my biggest struggle with concepts: expanding a sequence in the constrains. This should clearly be a language feature. What syntax? I have no idea. But the amount of hacks all C++ programmers that dared touching variadic templates have dealt with this problem many time and in many forms.

    Why concepts makes it worse? You cannot have partial specialization or overloading, making it impossible to unpack a sequence.

    #cplusplus #cpp #templates #cplusplus20

  14. One of my biggest struggle with concepts: expanding a sequence in the constrains. This should clearly be a language feature. What syntax? I have no idea. But the amount of hacks all C++ programmers that dared touching variadic templates have dealt with this problem many time and in many forms.

    Why concepts makes it worse? You cannot have partial specialization or overloading, making it impossible to unpack a sequence.

    #cplusplus #cpp #templates #cplusplus20

  15. One of my biggest struggle with concepts: expanding a sequence in the constrains. This should clearly be a language feature. What syntax? I have no idea. But the amount of hacks all C++ programmers that dared touching variadic templates have dealt with this problem many time and in many forms.

    Why concepts makes it worse? You cannot have partial specialization or overloading, making it impossible to unpack a sequence.

    #cplusplus #cpp #templates #cplusplus20

  16. I did a thing 😀

    As you can see, all those classes are declared inside the main function, so I can't know them from the outside.

    The only input I give to my library is an instance of `Camera` and an instance of `Model`.

    Then, the injector know how to call my lambda, because a `Movie` just needs a `Scene`, and a `Scene` just needs a `Camera` and a `Model`, and I give those inputs.

    #cpp #cplusplus #cplusplus20

  17. I did a thing 😀

    As you can see, all those classes are declared inside the main function, so I can't know them from the outside.

    The only input I give to my library is an instance of `Camera` and an instance of `Model`.

    Then, the injector know how to call my lambda, because a `Movie` just needs a `Scene`, and a `Scene` just needs a `Camera` and a `Model`, and I give those inputs.

    #cpp #cplusplus #cplusplus20

  18. I did a thing 😀

    As you can see, all those classes are declared inside the main function, so I can't know them from the outside.

    The only input I give to my library is an instance of `Camera` and an instance of `Model`.

    Then, the injector know how to call my lambda, because a `Movie` just needs a `Scene`, and a `Scene` just needs a `Camera` and a `Model`, and I give those inputs.

    #cpp #cplusplus #cplusplus20

  19. I did a thing 😀

    As you can see, all those classes are declared inside the main function, so I can't know them from the outside.

    The only input I give to my library is an instance of `Camera` and an instance of `Model`.

    Then, the injector know how to call my lambda, because a `Movie` just needs a `Scene`, and a `Scene` just needs a `Camera` and a `Model`, and I give those inputs.

    #cpp #cplusplus #cplusplus20

  20. My life is good. Everything is fine. Things are just perfect. 🫠 (plz send help)

    There's no other way to do that right?

    #cpp #cplusplus #cplusplus20 #metaprogramming #sendhelp

  21. My life is good. Everything is fine. Things are just perfect. 🫠 (plz send help)

    There's no other way to do that right?

    #cpp #cplusplus #cplusplus20 #metaprogramming #sendhelp

  22. My life is good. Everything is fine. Things are just perfect. 🫠 (plz send help)

    There's no other way to do that right?

    #cpp #cplusplus #cplusplus20 #metaprogramming #sendhelp