home.social

#structs — Public Fediverse posts

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

  1. 🚀 Wow! A 5-minute epic on how rearranging some #structs 🏗️ in #Rust saves a whopping 475 MB of #memory. Who knew struct feng shui could revolutionize #JSON deserialization? 🙄 Next up, "How I Saved The World by Organizing My Sock Drawer." 🧦
    dystroy.org/blog/box-to-save-m #Optimization #Deserialization #HackerNews #TechHumor #HackerNews #ngated

  2. 🚀 Wow! A 5-minute epic on how rearranging some #structs 🏗️ in #Rust saves a whopping 475 MB of #memory. Who knew struct feng shui could revolutionize #JSON deserialization? 🙄 Next up, "How I Saved The World by Organizing My Sock Drawer." 🧦
    dystroy.org/blog/box-to-save-m #Optimization #Deserialization #HackerNews #TechHumor #HackerNews #ngated

  3. 🚀 Wow! A 5-minute epic on how rearranging some #structs 🏗️ in #Rust saves a whopping 475 MB of #memory. Who knew struct feng shui could revolutionize #JSON deserialization? 🙄 Next up, "How I Saved The World by Organizing My Sock Drawer." 🧦
    dystroy.org/blog/box-to-save-m #Optimization #Deserialization #HackerNews #TechHumor #HackerNews #ngated

  4. 🚀 Wow! A 5-minute epic on how rearranging some #structs 🏗️ in #Rust saves a whopping 475 MB of #memory. Who knew struct feng shui could revolutionize #JSON deserialization? 🙄 Next up, "How I Saved The World by Organizing My Sock Drawer." 🧦
    dystroy.org/blog/box-to-save-m #Optimization #Deserialization #HackerNews #TechHumor #HackerNews #ngated

  5. Ah yes, the riveting tale of "structs #gone wild" 🙄💥. Apparently, when you cram things into a struct without a second thought, things just... work! Until they don't. But fear not, this epic saga promises to leave you on the edge of your seat with excitement about #data #pipelines and #performance #anomalies 💤🔧.
    feldera.com/blog/nobody-ever-g #structs #wild #coding #adventures #software #engineering #HackerNews #ngated

  6. Ah yes, the riveting tale of "structs #gone wild" 🙄💥. Apparently, when you cram things into a struct without a second thought, things just... work! Until they don't. But fear not, this epic saga promises to leave you on the edge of your seat with excitement about #data #pipelines and #performance #anomalies 💤🔧.
    feldera.com/blog/nobody-ever-g #structs #wild #coding #adventures #software #engineering #HackerNews #ngated

  7. Ah yes, the riveting tale of "structs #gone wild" 🙄💥. Apparently, when you cram things into a struct without a second thought, things just... work! Until they don't. But fear not, this epic saga promises to leave you on the edge of your seat with excitement about #data #pipelines and #performance #anomalies 💤🔧.
    feldera.com/blog/nobody-ever-g #structs #wild #coding #adventures #software #engineering #HackerNews #ngated

  8. Ah yes, the riveting tale of "structs #gone wild" 🙄💥. Apparently, when you cram things into a struct without a second thought, things just... work! Until they don't. But fear not, this epic saga promises to leave you on the edge of your seat with excitement about #data #pipelines and #performance #anomalies 💤🔧.
    feldera.com/blog/nobody-ever-g #structs #wild #coding #adventures #software #engineering #HackerNews #ngated

  9. Ah, struct embedding in Go, the "let's confuse the compiler and the developer" feature! 🤔💻 Just what the code doctor ordered: yet another way to make your simple #structs as clear as mud. 🌪️ Remember, with great power comes great responsibility... and inevitable bugs! 🐛
    mattjhall.co.uk/posts/be-caref #GoLang #StructEmbedding #CompilerConfusion #CodeClarity #DeveloperHumor #HackerNews #ngated

  10. Ah, struct embedding in Go, the "let's confuse the compiler and the developer" feature! 🤔💻 Just what the code doctor ordered: yet another way to make your simple #structs as clear as mud. 🌪️ Remember, with great power comes great responsibility... and inevitable bugs! 🐛
    mattjhall.co.uk/posts/be-caref #GoLang #StructEmbedding #CompilerConfusion #CodeClarity #DeveloperHumor #HackerNews #ngated

  11. Ah, struct embedding in Go, the "let's confuse the compiler and the developer" feature! 🤔💻 Just what the code doctor ordered: yet another way to make your simple #structs as clear as mud. 🌪️ Remember, with great power comes great responsibility... and inevitable bugs! 🐛
    mattjhall.co.uk/posts/be-caref #GoLang #StructEmbedding #CompilerConfusion #CodeClarity #DeveloperHumor #HackerNews #ngated

  12. Ah, struct embedding in Go, the "let's confuse the compiler and the developer" feature! 🤔💻 Just what the code doctor ordered: yet another way to make your simple #structs as clear as mud. 🌪️ Remember, with great power comes great responsibility... and inevitable bugs! 🐛
    mattjhall.co.uk/posts/be-caref #GoLang #StructEmbedding #CompilerConfusion #CodeClarity #DeveloperHumor #HackerNews #ngated

  13. Ah, yes, #C23 finally blesses us with tag compatibility, because who doesn't love redefining #structs in their spare time? 🥱✨ #GCC and #Clang are here to save us from the horrors of incompatible parameters—truly a thrilling adventure in "do we really need this?" 🚀🔧
    nullprogram.com/blog/2025/06/2 #Cplusplus #TagCompatibility #ProgrammingAdventures #HackerNews #ngated

  14. Ah, yes, #C23 finally blesses us with tag compatibility, because who doesn't love redefining #structs in their spare time? 🥱✨ #GCC and #Clang are here to save us from the horrors of incompatible parameters—truly a thrilling adventure in "do we really need this?" 🚀🔧
    nullprogram.com/blog/2025/06/2 #Cplusplus #TagCompatibility #ProgrammingAdventures #HackerNews #ngated

  15. Ah, yes, #C23 finally blesses us with tag compatibility, because who doesn't love redefining #structs in their spare time? 🥱✨ #GCC and #Clang are here to save us from the horrors of incompatible parameters—truly a thrilling adventure in "do we really need this?" 🚀🔧
    nullprogram.com/blog/2025/06/2 #Cplusplus #TagCompatibility #ProgrammingAdventures #HackerNews #ngated

  16. Ah, yes, #C23 finally blesses us with tag compatibility, because who doesn't love redefining #structs in their spare time? 🥱✨ #GCC and #Clang are here to save us from the horrors of incompatible parameters—truly a thrilling adventure in "do we really need this?" 🚀🔧
    nullprogram.com/blog/2025/06/2 #Cplusplus #TagCompatibility #ProgrammingAdventures #HackerNews #ngated

  17. I see that some one has brought up #structs on the internal #PHP mailing list.

    Let me point y'all to my attempt: github.com/ellisgl/PHP-RFC-Str

  18. I decided to delve a little bit deeper into D’s meta-programming templates and wanted to explore what one could do with it - this is by far nowhere as close as the cool things I did with my library, Guillotine (see yesterday’s post 😉 ) but it did result in a library that does what I needed - Struct to JSON serialisation and JSON to struct deserialization

    I wrote more about it here https://deavmi.assigned.network/blog/jstruct/ 📝

    #json #structs #serialization #d #metaprogramming

  19. #rust - #structs and #enums are the basis of what I'm trying to do I think, so....good direction! Unlike #ownership, this part actually makes sense for me.

  20. Had to remap individual led positions using (my roommate's idea) to make custom light effects easier...

  21. The #Rust #programming #language does not allow us to put a #trait on multiple #structs at the same time. It forces us to repeat the implementation for each applicable struct,

    That's a LOT of duplication, dear #rustlang.

    Can't Rust inherit default functions from inherited traits?

    Yes, yes it can:

    pub trait Child : Parent {
    fn do_something() -> T;
    }

    That child trait needs just 1 implementation.

    But now both traits need implemented for each applicable struct...