[DiscordArchive] you know that C++ compilers are pretty "smart" no?
[DiscordArchive] you know that C++ compilers are pretty "smart" no?
Archived author: ZaDarkSide • Posted: 2024-01-05T18:20:19.663000+00:00
Original source
you know that C++ compilers are pretty "smart" no?
Archived author: ZaDarkSide • Posted: 2024-01-05T18:20:28.703000+00:00
Original source
smarter than the average C++ coder
Archived author: ZaDarkSide • Posted: 2024-01-05T18:20:35.849000+00:00
Original source
they will optimize away alot of cases
Archived author: ZaDarkSide • Posted: 2024-01-05T18:20:44.149000+00:00
Original source
even if you write crappy code
Archived author: ZaDarkSide • Posted: 2024-01-05T18:21:01.906000+00:00
Original source
they are like decades old compilers that had time to mature and get finetuned
Archived author: Malcrom • Posted: 2024-01-05T18:21:30.574000+00:00
Original source
I was watching a video on how C++ converts switch vs if to asm. Was interesting
Archived author: ZaDarkSide • Posted: 2024-01-05T18:22:11.097000+00:00
Original source
so most of the time is not necessary to write brancheless or loop unroll or other stupid stuff that are in the realm of **premature optimization**
Archived author: ZaDarkSide • Posted: 2024-01-05T18:22:25.868000+00:00
Original source
do you suffer of premature optimization? get a pilll