News for hackers. Stuff that matters.
Re:Chicago95 – Windows 95 Theme for Linux by ekianjo on Sunday July 30, 2023 @08:03AM (#36930318)
> Windows 9x was slow

because hard drives. Now we have SSDs and the desktop is slower than ever still.

Re:Chicago95 – Windows 95 Theme for Linux by squarefoot on Sunday July 30, 2023 @08:55AM (#36930687)
Desktop became slow when windows and widgets became objects, as in the OOP sense. The transition from hardcoded primitives to objects that would be created and destroyed on the fly slowed things down a lot, but that is the price to pay to have code that runs on very different platforms, also adapting itself to different screen sizes and resolutions, dynamic objects, etc.
Re:Chicago95 – Windows 95 Theme for Linux by regularfry on Sunday July 30, 2023 @09:16AM (#36930873)
So we should expect the introduction of MFC in 1992 to draw the dividing line between the halcyon "fast desktop" days and modern slowness?
Re:Chicago95 – Windows 95 Theme for Linux by circuit10 on Sunday July 30, 2023 @09:48AM (#36931114)
I doubt it makes much difference. At least in C++ objects are just structs unless you’re using polymorphism, and tracking a few things like the position of a window can’t be very intensive anyway. It’s probably more things like loading assets and rendering effects and background tasks that slow it down
Re:Chicago95 – Windows 95 Theme for Linux by nvm0n1 on Sunday July 30, 2023 @02:32PM (#36934426)
Has there ever been a non Oop GUI toolkit in those days? Even Win32 was kinda "c with objects".
Re:Chicago95 – Windows 95 Theme for Linux by bitwize on Sunday July 30, 2023 @05:40PM (#36936286)
One of the interesting things about Apple vs. Microsoft in the early days was how differently the two companies handled the mindblow that was the GUI work at Xerox PARC.

Apple adopted the UI conventions, and refined, polished, and extended them to create first the Lisa system and then the Mac. But early Mac OS ("System" in those days) was very much based on a procedural, Pascal-based API without much in the way of object orientation. Your app had to handle the close button and the resize grabber itself, for instance -- actually listen for mouse events, determine if there was a click in the appropriate region, and close the window or buzz in a loop drawing the resize rectangle. Utility functions were provided to help with this process, but it still had to be part of your main loop. Dialog boxes were defined with Pascal records.

Microsoft, by contrast, hired some of the Xerox PARC engineers away -- guys like Charles Simonyi. The design of Windows reflects this, as Windows more closely reflects the Xerox PARC work at an architectural level. It had from the very earliest days something like an object system. A window belonged to a window class, which contained a single method (the window procedure or WndProc), that processed messages from a flexible and extensible message system. Windows could even be "subclassed" by substituting a different window procedure. This more flexible design allowed the system to provide the necessary decorations (minimize and maximize buttons, a system menu, resize grips and even scrollbars) and the client window would receive messages from them to let it know that, for example, it had been resized or scrolled. The actual mechanics of how these decorations worked could be delegated to the system. The API was still in C, not OO like we know it today, and was a bit cumbersome to use -- but it had more of those object-oriented ideas than early Mac did.

Of course, Steve Jobs didn't make the same mistake twice, and for his first post-Mac system, NeXT, he had it based all around object orientation.

Re:Chicago95 – Windows 95 Theme for Linux by winrid on Monday July 31, 2023 @03:56AM (#36939851)
In C++ it would still be very fast. I doubt you'd notice the difference.

The turning point was MS switching to C# for everything. Now built in apps load slow because the code is not JIT compiled yet, and I bet other issues...

Re:Chicago95 – Windows 95 Theme for Linux by safety1st on Sunday July 30, 2023 @09:43AM (#36931070)
Chicago95 is a theme for XFCE. I run XFCE with i3wm on a SSD and it is insanely, perversely fast. Most of the default apps bundled with XFCE start instantly. The system boots within seconds, no need to consider any type of fast boot, hibernation etc. Native apps boot within seconds. Electron apps are slower, because Electron.

A typical XFCE system on startup will allocate around 500MB of RAM, but with the way memory management works on Linux I think it doesn't really need all of that and lets go of it if something else does.

It is kind of a barebones desktop environment, but certainly has a lot more stuff packed in than Win9x did and for a little extra disk space you can cherry pick whatever Gnome and KDE utilities you want anyway.

So I think this phenomenon of slow modern desktops is a Windows/Mac problem, if you want one that's lightning fast, they're out there.

Re:Chicago95 – Windows 95 Theme for Linux by stavros on Sunday July 30, 2023 @09:44AM (#36931085)
I do want one that's lightning fast, thank you. If it launches a terminal and a browser, I'm good.

I'll try this for my new NUC, thanks for the tip!

Re:Chicago95 – Windows 95 Theme for Linux by pocketarc on Sunday July 30, 2023 @10:21AM (#36931403)
I'll second the parent's experience, it's actually kind of insane how fast XFCE is. With the Chicago95 theme, the feeling you end up with is:

"how fast would Windows 95 be if you ran it on modern hardware"

It is actually just astounding, to the point that you end up feeling "jesus is my hardware really that fast?".

Re:Chicago95 – Windows 95 Theme for Linux by stavros on Sunday July 30, 2023 @10:25AM (#36931430)
Is it stock XFCE, or do I need anything else? Can I just install xubuntu-desktop and that's it?
Re:Chicago95 – Windows 95 Theme for Linux by safety1st on Sunday July 30, 2023 @11:18AM (#36932056)
I install the system using the Xubuntu ISO. Presumably if you install the xubuntu-desktop package on some other flavor it will be similar but if for instance you installed it on top of e.g. Kubuntu you might still be getting KDE services loading when you log in.
Re:Chicago95 – Windows 95 Theme for Linux by KronisLV on Monday July 31, 2023 @09:13AM (#36942019)
Xubuntu was mentioned, which is nice. Some folks might also enjoy the Linux Mint XFCE version, which I personally run: https://linuxmint.com/edition.php?id=307

(more or less Ubuntu sans snaps, though their Cinnamon desktop is also reasonably okay, even if not quite as snappy as XFCE)

Re:Chicago95 – Windows 95 Theme for Linux by stavros on Monday July 31, 2023 @09:18AM (#36942067)
I can never grok the differences between Mint, Pop!_OS, and elementary OS. What do you like about Mint?
Re:Chicago95 – Windows 95 Theme for Linux by KronisLV on Monday July 31, 2023 @09:53AM (#36942472)
> What do you like about Mint?

The big one is desktops that I like, working out of the box: Cinnamon, XFCE or even MATE (can install more, of course, but these ones are supported and tested). XFCE is really snappy and lightweight, whereas Cinnamon is pretty polished and will also be familiar to folks coming from Windows (nice distro to recommend for that, for people with limited Linux experience).

Another big thing is not having snaps forced down my throat like Ubuntu increasingly seems to do. In that regard, Mint is closer to Debian, although if you want to, there is nothing holding you back from using AppImage, Flatpak or anything else (even snaps).

Compatibility that is otherwise pretty close to Ubuntu, as well as a long EOL period: after the demise of CentOS, Ubuntu remains one of those distros that you can just "install and forget about" (hopefully with regular updates), both locally on your workstation and in any of your servers. I can even base my containers on Ubuntu/run it on servers (pretty much every provider has support for it) but use Linux Mint locally and have pretty much everything work.

Now, frankly I could also opt for Debian without too many issues (they also have an LTS variety, albeit less advertised), but Mint is basically Ubuntu without some of the things that annoy me - boring and dependable, mostly just works.

Only annoying thing: if you ever need to setup an apt repo that points to packages that are compatible with Ubuntu and the script for doing that gets the release codename, it might get one that doesn't correspond to the correct Ubuntu release, but instead will grab the Mint name. Sometime need to fix that manually in the apt repository list with a text editor.

Re:Chicago95 – Windows 95 Theme for Linux by dharmab on Sunday July 30, 2023 @10:32AM (#36931500)
I use i3wm + kitty abd it's instantly responsive. Such a refreshing experience.
Re:Chicago95 – Windows 95 Theme for Linux by stavros on Sunday July 30, 2023 @10:33AM (#36931525)
Thanks, I also use kitty as my main terminal. I'll give i3wm a go, even though I'm not a huge fan of tiling window managers (but maybe I should be).