How hard could it be? - eviltoast
  • themoonisacheese@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    Take for example Haskell. It’s a functionnal, typed language. In Haskell, at compile time, the compiler analyzes all the types of all your functions and if they all match, it drops them completely. There is no type information at all left in a compiled Haskell program, because the compiler can know ahead of runtime if it is correct.