Rust analyzer and compilation are very slow. My system is heating up, running out of ram and disk space. I have 8 GB ram.

I use helix editor.

  • silly_goose@lemmy.todayOP
    link
    fedilink
    arrow-up
    2
    ·
    3 days ago

    My system has a midrange amd cpu with 6 cores. I have an ssd.

    I think the issue has to do with procedural macros in maud. The project is about 1000 dependencies and 10k loc.

    Combined with tailwind classes and a complex ui, the templates get bloated. I have to test this theory.

    • sga@piefed.social
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 days ago

      1000 dependencies

      that is too much. i use something with 900ish, and even withh cached builds, it takes like 20 mins, we just have too much linking going on

      • TehPers@beehaw.org
        link
        fedilink
        English
        arrow-up
        5
        ·
        3 days ago

        Couldn’t agree more here, 1k dependencies would take a while to build even on my 9950x3d if only due to linking.

        It seems to me like the the issue is the project is either too bloated, or large enough to justify a workstation build. Breaking it into smaller, independent parts would also help here.