News for hackers. Stuff that matters.
Re:Setris – Tetris with Sand Physics by junon on Tuesday May 30, 2023 @07:50AM (#36123685)
> irrelevant

Why?

Re:Setris – Tetris with Sand Physics by shultays on Tuesday May 30, 2023 @08:19AM (#36123911)
because it wouldn't affect the binary size in meaningful way
Re:Setris – Tetris with Sand Physics by junon on Tuesday May 30, 2023 @08:22AM (#36123951)
That's not true at all. The whole reason why graphics on the original NES were so compact is because the color palette was so limited. Not only that, but tiles could only have a maximum of 4 colors within them, one of which was considered the "transparent" color if you wanted blending. So they were only 2 bits.

So yes, it does absolutely and unequivocally affect the binary size. Having made NES games for fun before, they are two completely different worlds and it's not at all fair to compare them.

Re:Setris – Tetris with Sand Physics by shultays on Tuesday May 30, 2023 @08:40AM (#36124127)
I disagree. A comparison of "higher resolution" in the terms of NES would only mean an increase in nametable size, not in binary size of program. Of course if "increase in resolution" also meant increase in CHR size or sprite count, or color palette size then you would be correct.

My point in NES or in modern software, the target resolution you want wouldn't have an affect on binary size.

  Having made NES games for fun before
So I am. You are right, a more fair comparison would be a tetris.exe perhaps. But my point would still stand, 60mb (and that is zipped amount) orders of magnitude higher.

I want to ask the same question, what is your point? Are you arguing that java runtime or several dependencies OP added is not an indication of modern software bloat?

Re:Setris – Tetris with Sand Physics by junon on Tuesday May 30, 2023 @08:51AM (#36124236)
I'm saying that the capabilities of the game in question and the original Tetris are also orders of magnitude larger, you just don't see them directly because you're biased to comparing this game to the original due to its visual and gameplay style, and that comparing the two to measure the value of "bloat" is an absurd thing to do.
Re:Setris – Tetris with Sand Physics by throwme_123 on Tuesday May 30, 2023 @09:45AM (#36124823)
Sorry but sand physics is probably doable in a few kb (yes, that's kilobytes) of JS.

This is different and simpler but just 140 bytes (not k): https://codepen.io/KilledByAPixel/pen/WNGQWZG

Nothing in that game justifies being more than 1mb (being very generous...) minified as a browser app.

Re:Setris – Tetris with Sand Physics by junon on Tuesday May 30, 2023 @09:58AM (#36124970)
Of javascript. Which has a stupidly large runtime that is certainly not just a few kilobytes.
Re:Setris – Tetris with Sand Physics by shultays on Tuesday May 30, 2023 @10:22AM (#36125207)
Sorry, I have to make one last snarky comment. You can probably include entire firefox along with that a few kb of js and still make it under whatever that 60mb expands to :)
Re:Setris – Tetris with Sand Physics by krzyk on Tuesday May 30, 2023 @03:20PM (#36129278)
Sure, let's maybe make an electron app.
Re:Setris – Tetris with Sand Physics by throwme_123 on Thursday June 01, 2023 @12:33AM (#36147600)
Ok, was mentioning without the browser runtime obviously.

Opionated take, but I believe that the web common runtime should be part of the OS nowadays.

Even without this, Tauri is 8Mb.

Re:Setris – Tetris with Sand Physics by junon on Wednesday May 31, 2023 @05:17AM (#36136224)
You're also ignoring the fact that most of this functionality happened in chips. That's not the case with modern machines.