• 1 Post
  • 33 Comments
Joined 7 months ago
cake
Cake day: December 6th, 2023

help-circle





  • I’ve had game and software ideas swirling around in my brain, but for the longest time I couldn’t program them. But now, I have enough knowledge to build parts of my grand deckbuilding game idea: An arcade style deckbuilding game with strong meta-progression. It’s playable at superspruce.org.

    As for some other ideas, including the simple idea of a weighted shuffle music playlist where each song has its own weight, they are still currently out of reach, mostly due to trying to access the filesystem and whatnot. Better than a month ago, where within the last month I found out how to make the browser play music









  • Interesting, it kinda feels like the opposite is true for me, at least on mobile. In 4 years, I’ve gone from a 1.4GHz A53 SD425 to a 2.2GHz A78 SD695 SoC, a 6x increase in single thread performance in 4 years for me. I also during that time got a powerful laptop with a Ryzen 9 5900HX CPU.

    Meanwhile, it’s still not unusual to see my Internet speeds drop below 1Mbps, often hovering around 100Kbps-300Kbps, on data or crappy university WiFi, which sometimes has a ping of no joke, 20000+ on my laptop when running Ubuntu. I can sometimes reach high throughput of up to 100Mbps, but when I don’t, my Internet speeds often chug.



  • SuperSpruce@lemmy.ziptoProgramming@programming.devJavaScript Bloat in 2024
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    edit-2
    3 months ago

    I read this article a few weeks ago and it sent me on a rabbit hole of web performance articles.

    I think a good budget for basic websites (articles, landing pages, and small to medium functionality web apps) is what I call the “GZ250”, or 250KB of gzipped JavaScript, which is more than plenty. I picked this amount such that yesterday’s budget phones will be able to load the website in a few seconds at 1Mbps (and the name references my motorcycle).

    For comparison, my full on games take way less than that. The Unscaled Incremental and Elemental Incremental are 52KB and 19KB of compressed JS respectively, and v1.0 of my new deckbuilding game is about 27KB. The unreleased V1.1 is massive but will still be around 50-60KB of compressed JS.

    I don’t understand how an article uses 60x the script as my games, but cutting back to 6x would be a win for accessibility and efficiency.