• Paradox@lemdro.id
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Don’t forget killing of .compact

    I wrote .compact to run on a Motorola Droid, which was a 533MHz device with 512Mb of total ram, and a kernel which was very aggressive about freeing up this ram.

    • hydra@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      My respects to you. I really think websites and software in general need to have efficiency in mind again. Webapps should use as few resources as possible, save people’s time, their money and the planet.

      • Paradox@lemdro.id
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Its not even hard to do. People just always reach for the most complex, overengineered things, instead of stepping back and seeing what you need.

        I love component based systems. I love real time and custom user interfaces. That doesn’t mean every site needs to be a big SPA. If you’re a primarily read-only site (blog, wiki, etc), then you shouldn’t be sending huge blobs of JS just for your users to read content. As you add interactivity, you can add more JS, but think about what you’re going to do.

        And there are ways around all that. Phoenix LiveView gives you an amazing system for building real time apps that are extremely thin and fast, and SurfaceUI lets you embrace Vue style components, easily