home.social

#templatemetaprogramming — Public Fediverse posts

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

fetched live
  1. Did you know that in #cplusplus you can template an abstract class? You can't put sub-classes with different templates into a templated container though...unless you make a non-templated abstract class for your templated one to extend from. That's how I got the virtual #WorldFabric observer functions to have parameters that match what they are observing. #templatemetaprogramming #coding

  2. Did you know that in #cplusplus you can template an abstract class? You can't put sub-classes with different templates into a templated container though...unless you make a non-templated abstract class for your templated one to extend from. That's how I got the virtual #WorldFabric observer functions to have parameters that match what they are observing. #templatemetaprogramming #coding

  3. Did you know that in #cplusplus you can template an abstract class? You can't put sub-classes with different templates into a templated container though...unless you make a non-templated abstract class for your templated one to extend from. That's how I got the virtual #WorldFabric observer functions to have parameters that match what they are observing. #templatemetaprogramming #coding

  4. Did you know that in #cplusplus you can template an abstract class? You can't put sub-classes with different templates into a templated container though...unless you make a non-templated abstract class for your templated one to extend from. That's how I got the virtual #WorldFabric observer functions to have parameters that match what they are observing. #templatemetaprogramming #coding

  5. Did you know that in #cplusplus you can template an abstract class? You can't put sub-classes with different templates into a templated container though...unless you make a non-templated abstract class for your templated one to extend from. That's how I got the virtual #WorldFabric observer functions to have parameters that match what they are observing. #templatemetaprogramming #coding

  6. @kitsunecafe I disagree. Many parts of the language are absolutely beautiful and extremely well designed, it’s primarily held back by its C-heritage.

    There is a reason that Rust is the first language that can be seen as a somewhat serious competitor for C++ and that is essentially because Rust at its core IS C++, just with with compiler-enforcement of common best practices and a few further changes that are relatively minor on a conceptual level.

    Now that’s not a bad thing, and I am not saying that C++ is perfect, far from it, but it is the language that introduced proper ownership-semantics and implicit resource-management as its core concepts. And those two things are just as applicable today and the superior way of doing things.

    One of the big reasons for why Rust succeeded where everyone else failed was that it didn’t mess with these systems and merely cleaned up some of the details.

    Also: #Templatemetaprogramming is SOOO much fun! 😊︎

  7. @kitsunecafe I disagree. Many parts of the language are absolutely beautiful and extremely well designed, it’s primarily held back by its C-heritage.

    There is a reason that Rust is the first language that can be seen as a somewhat serious competitor for C++ and that is essentially because Rust at its core IS C++, just with with compiler-enforcement of common best practices and a few further changes that are relatively minor on a conceptual level.

    Now that’s not a bad thing, and I am not saying that C++ is perfect, far from it, but it is the language that introduced proper ownership-semantics and implicit resource-management as its core concepts. And those two things are just as applicable today and the superior way of doing things.

    One of the big reasons for why Rust succeeded where everyone else failed was that it didn’t mess with these systems and merely cleaned up some of the details.

    Also: #Templatemetaprogramming is SOOO much fun! 😊︎

  8. @kitsunecafe I disagree. Many parts of the language are absolutely beautiful and extremely well designed, it’s primarily held back by its C-heritage.

    There is a reason that Rust is the first language that can be seen as a somewhat serious competitor for C++ and that is essentially because Rust at its core IS C++, just with with compiler-enforcement of common best practices and a few further changes that are relatively minor on a conceptual level.

    Now that’s not a bad thing, and I am not saying that C++ is perfect, far from it, but it is the language that introduced proper ownership-semantics and implicit resource-management as its core concepts. And those two things are just as applicable today and the superior way of doing things.

    One of the big reasons for why Rust succeeded where everyone else failed was that it didn’t mess with these systems and merely cleaned up some of the details.

    Also: #Templatemetaprogramming is SOOO much fun! 😊︎

  9. @kitsunecafe I disagree. Many parts of the language are absolutely beautiful and extremely well designed, it’s primarily held back by its C-heritage.

    There is a reason that Rust is the first language that can be seen as a somewhat serious competitor for C++ and that is essentially because Rust at its core IS C++, just with with compiler-enforcement of common best practices and a few further changes that are relatively minor on a conceptual level.

    Now that’s not a bad thing, and I am not saying that C++ is perfect, far from it, but it is the language that introduced proper ownership-semantics and implicit resource-management as its core concepts. And those two things are just as applicable today and the superior way of doing things.

    One of the big reasons for why Rust succeeded where everyone else failed was that it didn’t mess with these systems and merely cleaned up some of the details.

    Also: #Templatemetaprogramming is SOOO much fun! 😊︎

  10. @kitsunecafe I disagree. Many parts of the language are absolutely beautiful and extremely well designed, it’s primarily held back by its C-heritage.

    There is a reason that Rust is the first language that can be seen as a somewhat serious competitor for C++ and that is essentially because Rust at its core IS C++, just with with compiler-enforcement of common best practices and a few further changes that are relatively minor on a conceptual level.

    Now that’s not a bad thing, and I am not saying that C++ is perfect, far from it, but it is the language that introduced proper ownership-semantics and implicit resource-management as its core concepts. And those two things are just as applicable today and the superior way of doing things.

    One of the big reasons for why Rust succeeded where everyone else failed was that it didn’t mess with these systems and merely cleaned up some of the details.

    Also: #Templatemetaprogramming is SOOO much fun! 😊︎

  11. That being said, I'm actually among the perverts that are fascinated by #templateMetaProgramming (even though I'm well aware of its limitations pertaining readability and maintainability). Which is why I took @tess venting as an opportunity to challenge myself into writing a workable approach to generic properties for C++ objects with a common interface:

    wok.oblomov.eu/tecnologia/cpp-

    #OOP #CPlusPlus #macros #property #tagClass #traits #templates #metaprogramming #interfaces

  12. That being said, I'm actually among the perverts that are fascinated by #templateMetaProgramming (even though I'm well aware of its limitations pertaining readability and maintainability). Which is why I took @tess venting as an opportunity to challenge myself into writing a workable approach to generic properties for C++ objects with a common interface:

    wok.oblomov.eu/tecnologia/cpp-

    #OOP #CPlusPlus #macros #property #tagClass #traits #templates #metaprogramming #interfaces

  13. That being said, I'm actually among the perverts that are fascinated by #templateMetaProgramming (even though I'm well aware of its limitations pertaining readability and maintainability). Which is why I took @tess venting as an opportunity to challenge myself into writing a workable approach to generic properties for C++ objects with a common interface:

    wok.oblomov.eu/tecnologia/cpp-

    #OOP #CPlusPlus #macros #property #tagClass #traits #templates #metaprogramming #interfaces

  14. That being said, I'm actually among the perverts that are fascinated by #templateMetaProgramming (even though I'm well aware of its limitations pertaining readability and maintainability). Which is why I took @tess venting as an opportunity to challenge myself into writing a workable approach to generic properties for C++ objects with a common interface:

    wok.oblomov.eu/tecnologia/cpp-

    #OOP #CPlusPlus #macros #property #tagClass #traits #templates #metaprogramming #interfaces

  15. That being said, I'm actually among the perverts that are fascinated by #templateMetaProgramming (even though I'm well aware of its limitations pertaining readability and maintainability). Which is why I took @tess venting as an opportunity to challenge myself into writing a workable approach to generic properties for C++ objects with a common interface:

    wok.oblomov.eu/tecnologia/cpp-

    #OOP #CPlusPlus #macros #property #tagClass #traits #templates #metaprogramming #interfaces