News for hackers. Stuff that matters.
Re:Solitaire: Authentic remake of the Windows 95 original by rpigab on Saturday April 20, 2024 @05:08AM (#40095935)
That's right, but we have to remember it's not really useful to optimize for binary size or RAM usage for a software that does not need multiple instances on servers, it's an end user app that you only need one of.

I think Java is a nice choice for a Solitaire game. If you're looking for efficiency, take a look at my command-line Solitaire that you can play in Gitlab pages or in a terminal : https://gitlab.com/rpigab/solitaire-cli

It's written in Rust so by design, it should be blazingly fast wink wink. Well there are many ways to shrink the binary, I didn't try to yet, the WebAssembly part too is way bigger that it would need to, but still, it's smaller and there's less colors, shapes and animations to display.

Re:Solitaire: Authentic remake of the Windows 95 original by trallnag on Saturday April 20, 2024 @06:46AM (#40096328)
Instead you end up with 20 Java microservices each taking up a gig of memory
Re:Solitaire: Authentic remake of the Windows 95 original by tjoff on Saturday April 20, 2024 @05:44AM (#40096082)
... that sentiment is how we ended up requiring 1GB of ram for sending text...
Re:Solitaire: Authentic remake of the Windows 95 original by rpigab on Saturday April 20, 2024 @07:46AM (#40096612)
Is that true or just hyperbole? On what system?

I love working towards making systems as efficient as possible, but in real life, engineer hours are limited and compromises exist.

Also, if this is quantitative, we could make the same argument with 1MB, and 1KB, and less. Sending text doesn't require RAM at all, it requires carrier pigeons.

Re:Solitaire: Authentic remake of the Windows 95 original by VelesDude on Saturday April 20, 2024 @07:03AM (#40096410)
A slight tangent but it is kind of mind melting that smartphones now do need a minimum of 1GB just to send an SMS. I mean look at any Nokia phone form the 90's and none of them probably had more than 1MB of RAM, many way below that. Yes there is a lot of quality of life and security features but the bloat is real.