I’ve been trying to get luarocks to work on windows, and all it gives is cryptic gcc errors.

How does pip manage to work on most platforms without issues?

  • Corbin@programming.dev
    link
    fedilink
    English
    arrow-up
    5
    ·
    8 days ago

    Pick a language like Perl, where some packages are written in C and some are written in pure Perl, and you’ll get to experience the same cryptic GCC errors, sometimes. There’s no secret to pip; many Python developers upload wheels with pre-compiled binaries, including Windows-compatible binaries, and so you don’t have to run GCC because they already did it for you.

    • logging_strict@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      1 day ago

      another interesting thing is optimizing runtime using mypyc. This is how our dev toolchain is so quick.

      mypy, flake8, isort, … these kinda packages

      Have never tried using mypyc would appreciate anyone sharing their experience with mypyc or other Python package compilers.