• toastmeister@lemmy.ca
    link
    fedilink
    arrow-up
    1
    arrow-down
    3
    ·
    26 days ago

    Could AI allow you to write code in python, and then turn the python into a static language with static variables at least?

      • toastmeister@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        26 days ago

        Well python is slow due to garbage collection and dynamic types, if AI could fill those in it would make programming far easier at least.

        You could write low level drivers in python.

    • cx40@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      26 days ago

      But the main benefits of static typing is in making the programming part easier. What do you gain from translating dynamically typed languages into a statically typed language?