andreasfertig to C++ · 5 months agoEfficient C++: The hidden compile-time cost of auto return typesandreasfertig.comexternal-linkmessage-square13linkfedilinkarrow-up120arrow-down10
arrow-up120arrow-down1external-linkEfficient C++: The hidden compile-time cost of auto return typesandreasfertig.comandreasfertig to C++ · 5 months agomessage-square13linkfedilink
minus-squareDapperPenguinlinkfedilinkarrow-up3·5 months agoFrom my discussion with C++ folk, auto is just part of the “modern” way of doing c++. Paired with the -> return type. Perhaps including that -> return type negates this problem? It’s still strange to me. Feels more like Rust
minus-squarebitcrafterlinkfedilinkarrow-up2·5 months agoOne day the use of auto will grow so extensive that modern Python code will have more type annotations than modern C++ code!
From my discussion with C++ folk, auto is just part of the “modern” way of doing c++. Paired with the -> return type. Perhaps including that -> return type negates this problem? It’s still strange to me. Feels more like Rust
One day the use of
autowill grow so extensive that modern Python code will have more type annotations than modern C++ code!