• CanadaPlus@lemmy.sdf.org
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    10 个月前

    Also, some Architectures have specific machine instructions that Compilers just don’t take advantage of, no matter what flags you enable.

    Interesting. Do you have some examples?

    Writing those frequently-called leaf functions in assembly has certainly far outlived it’s use in other places. But, the word on the street, or I guess the conventional wisdom, is that compilers have gradually caught up even there.