• 5 Posts
  • 7 Comments
Joined 1 year ago
cake
Cake day: July 24th, 2023

help-circle






  • It helps with compile time. I don’t know why exactly rust macros are slow, and precompiling them helps. Unfortunately, it means distributing a binary along your build process which I personally think is not worth the few seconds of build time speedup.

    Btw I do think it is a technically clever solution to improving build times. I’m convinced serde’s author is trying to improve the project and this does address one of the common complaints. Clever solutions are not always the right ones though.




  • farcaster@beehaw.orgtoScience@beehaw.orgLK99
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Great comment. However let’s not forget the history of many exotic materials which were made practical to manufacture after their useful properties were found. Consider many types of semiconductors, blue LEDs, carbon fiber, etc. All once super expensive but now commonplace. This makes me at least somewhat optimistic that if a material is useful enough (and a superconductor would be revolutionary) fabrication will be solved. Hopefully.