Remix.run Logo
▲ packetlost a day ago

Also procmacros add quite a bit of overhead to builds

▲norman784 12 hours ago | parent [-]

Note that is so, because macros can have side effects, that was an oversight of Rust design, not having a way to have pure and impure procmacros (macro rules are pure)

▲packetlost 12 hours ago | parent [-]

It's also worse because the procmacros are themselves Rust and get compiled with the same parameters as the overall build, so if you're running a debug build the procmacros are running as debug binaries.