News for hackers. Stuff that matters.
Re:Mac OS 9 by sph on Monday December 05, 2022 @12:31PM (#33868701)
Look at that subtle off-grey colouring, the tasteful thickness of it...

What the hell happened to modern GUIs, man. We peaked in the 1990s.

Re:Mac OS 9 by cogman10 on Monday December 05, 2022 @12:40PM (#33868838)
And why is everything just so slow!

That's what always annoys me. I have a computer that's easily 100x or 1000x more powerful than my 1995 desktop yet so many actions have noticeable lag.

Like, try it, resize outlook right now (just stretch the side left and right). You'll see so much jank and jitter. How is something like that not instantaneous?

Re:Mac OS 9 by bombcar on Monday December 05, 2022 @12:47PM (#33868939)
Some of that you can tune down as it’s trying to redraw at every single step in between.

Sometimes there are accessibility options that speed it back up (don’t redraw until mouse let go) - I know you can turn off animations but not sure you can disable that one.

Re:Mac OS 9 by IncRnd on Monday December 05, 2022 @12:48PM (#33868955)
It's created with javascript in the browser, which is not efficient.
Re:Mac OS 9 by chrisco255 on Monday December 05, 2022 @01:50PM (#33869976)
JavaScript is very efficient. It compiles to native on the fly in v8 engines. The DOM itself, however, has a lot of foot guns for performance.
Re:Mac OS 9 by IncRnd on Monday December 05, 2022 @04:25PM (#33872134)
That's a distinction without a difference. Running JS is slower than native. The user of JS cares about the real world speed of emulating a quadra machine, which is shown as very slow at this webpage.
Re:Mac OS 9 by chrisco255 on Tuesday December 06, 2022 @12:55AM (#33876396)
This conversation went on a tangent. It started off with people complaining about modern GUIs then moved onto Outlook and then someone rushes to blame JavaScript / Electron. JS runs 50-80% as fast as native, which is more than fast enough thanks to Moore's law, for virtually any GUI application. The web has a reputation for being slow, thanks to a traditional lack of GPU acceleration as well as 25 years of legacy code attached to its Document Object Model, that are pretty gnarly for browser vendors to deal with. That has nothing to do with JS itself.

JS can run full GPU accelerated graphics with WebGL (and soon WebGPU), with shaders, complex geometries, textures, etc at 60 FPS: https://threejs.org/examples/#webgl_animation_keyframes.

The MacOS 9 demo as shown, is impressive, but it is far from optimized, given that it is a side project. But it's impressive all the same that it's emulating a full Mac environment in the browser. Read the developer's own comments on it: https://blog.persistent.info/2022/03/blog-post.html

Re:Mac OS 9 by IncRnd on Tuesday December 06, 2022 @09:24AM (#33880286)
> This conversation went on a tangent.

The discussion was to answer, "And why is everything just so slow!"

> The web has a reputation for being slow, thanks to a traditional lack of GPU acceleration as well as 25 years of legacy code attached to its Document Object Model, that are pretty gnarly for browser vendors to deal with. That has nothing to do with JS itself.

That's not exactly true, though, as many discussions here on HN have demonstrated. The web is not slow due to, "a traditional lack of GPU acceleration." The DOM is the execution environment of JS in the browser. This isn't a discussion about JS in any other environment.

While you may have a vested interest in JS, that doesn't change its properties. Please, let's get back to the actual discussion.

Re:Mac OS 9 by dzikimarian on Monday December 05, 2022 @12:49PM (#33868979)
Javascript/Electron - single code base for multiple desktop platforms.
Re:Mac OS 9 by potatolicious on Monday December 05, 2022 @12:58PM (#33869107)
+1. I can't speak to Windows but I suspect it's similar: if you're running a well-implemented native app (ex. Pixelmator) the responsiveness is entirely there and in fact significantly better than it was in the 90s. Even fairly graphically heavy apps have no issues resizing and otherwise being real-time interactive.

I would hazard that the vast majority of "jank" you see in desktop apps today is due to cross-platform code. A large portion of this is webviews (ex. Slack), but some of it is also poorly-implemented shims between the platform's native APIs and shoehorning that into some cross-platform library (ex. Photoshop).

Re:Mac OS 9 by iforgotpassword on Monday December 05, 2022 @02:41PM (#33870764)
I recently used a legacy win32 app at work, on a windows 10 laptop. It looked old, even though the buttons etc got styled the win10 way. Since the app had some issues, I wanted to rule out a compatibility problem with modern Windows, and ran the app in a windows XP VM on the same laptop. Unfortunately the same issues arose, but I was really surprised by how snappy the app felt. Everything was just immediate, sub-windows popped up instantly. Sure, the machine was an order of magnitude faster than the typical XP machine back in the day, so it's not an apples to apples comparison, but still it was one of these revelations that we just seem to be taking one step forwards and at least one step back every time we improve something.
Re:Mac OS 9 by cogman10 on Monday December 05, 2022 @02:54PM (#33870952)
Even if you take a step above win32 and use a framework like GTK or QT, you'll find that sort of responsiveness.
Re:Mac OS 9 by dieulot on Monday December 05, 2022 @01:22PM (#33869489)
Modern macOS is a significant counterexample to that claim. Most of it is janky. Zooming and dezooming the Finder is not something a 2.5 years old MacBook Air (€1200) can keep up with smoothly, for instance. Opening a Save dialog takes over 3 seconds, and expanding/collapsing the file explorer in it is comically janky.
Re:Mac OS 9 by ace2358 on Monday December 05, 2022 @02:26PM (#33870545)
None of this sounds right based on my experience.

Wondering which model you have? Is it fanless? I’ve never used until o got my 2022 m2 air. It’s the best computer I’ve ever used.

Before that, 10 years of Mac Pro, and they’ve all been old (2010 models) and fast.

Re:Mac OS 9 by dieulot on Monday December 05, 2022 @03:08PM (#33871143)
MacBook Air early 2020 base model.

The 2010 Mac Pro doesn’t run macOS 11+, that might be its X factor.

Re:Mac OS 9 by ace2358 on Monday December 05, 2022 @06:06PM (#33873233)
Is that a fanless intel machine?

The Mac Pro can run newer os with the help of open core. I can do many things with it like run Mac osX 10.6 using my modern amd rx570.

I can also run macos 12+ which I do. It runs great!

Re:Mac OS 9 by ezfe on Monday December 05, 2022 @02:27PM (#33870571)
That's simply not true. A 2019 MacBook Air has no trouble with any of these things. If you're having trouble with these, something is seriously wrong with your computer.
Re:Mac OS 9 by dieulot on Monday December 05, 2022 @03:00PM (#33871034)
Proof: https://dieulot.fr/~temp/Screen%20Recording%202022-12-05%20a...

It’s more pronounced while recording but that’s the idea.

Re:Mac OS 9 by ezfe on Monday December 05, 2022 @05:03PM (#33872540)
Ah, I misunderstood what you were referring to. Now that I understand, I'm less surprised. For some reason I was thinking File I/O.

The Early 2020 MacBook Air is a joke from a CPU/Graphics perspective - even compared to other Intel Macs.

I still think something's wrong with your computer, as I have worked with multiple of that model and they weren't nearly this bad (even accounting for screen recording) - perhaps your cooling is worse?

Re:Mac OS 9 by mritchie712 on Monday December 05, 2022 @01:07PM (#33869251)
Not by any means a solution to all Electron problems, but Tauri[0] is promising.

0 - https://github.com/tauri-apps/tauri

Re:Mac OS 9 by robertlagrant on Monday December 05, 2022 @01:25PM (#33869551)
We're looking seriously at Tauri for a new application. It seems good, although we're very early days.
Re:Mac OS 9 by mritchie712 on Monday December 05, 2022 @02:12PM (#33870337)
yep, we're using too. Very happy so far.
Re:Mac OS 9 by robertlagrant on Monday December 05, 2022 @03:57PM (#33871812)
That's great to hear.
Re:Mac OS 9 by no_time on Monday December 05, 2022 @02:36PM (#33870699)
Is this any better in performance? Looks like rust bolted to a system webview (chromium in the case of Windows) instead of electron (chromium bolted to v8)
Re:Mac OS 9 by FirstLvR on Monday December 05, 2022 @01:00PM (#33869136)
Yup that’s the answer, and cyber security, we had to add thousand of code lines in order to circumvent login properties and such, in order to make software more secure (and less private)
Re:Mac OS 9 by bovermyer on Monday December 05, 2022 @01:20PM (#33869469)
Just this morning I finally bought a license for Sublime Text.

It's just so much faster than any other GUI-based editor.

Re:Mac OS 9 by chrisco255 on Monday December 05, 2022 @01:47PM (#33869934)
VS Code works great in my experience.
Re:Mac OS 9 by pjmlp on Monday December 05, 2022 @02:20PM (#33870471)
Thankfully to having multi-process architecture with enough of those services written in a mix of C#, Rust and C++.
Re:Mac OS 9 by chrisco255 on Tuesday December 06, 2022 @01:01AM (#33876427)
Vast majority of the codebase is Typescript: https://github.com/microsoft/vscode/tree/main/src. Only thing I could find written in Rust was the CLI.

Sure, under the hood Electron is powered by Chromium V8 (which also powers Node.js), which is written in C++. But that is just the basic packages and services available to all Electron desktop and Node.js apps.

Re:Mac OS 9 by pjmlp on Tuesday December 06, 2022 @09:28AM (#33880385)
See ripgrep, and Microsoft plugins that have to be additionally installed, depending on the workloads.
Re:Mac OS 9 by dzikimarian on Monday December 05, 2022 @01:58PM (#33870128)
We'll I've spent years on notepad++ and I will have to disagree (ofc VSC can be almost like full IDE but I don't have a lot of plug-ins)
Re:Mac OS 9 by yamtaddle on Monday December 05, 2022 @01:21PM (#33869481)
Well, you see, they've traded end-user performance for productivity. This is why it only takes a team five times as large to deliver the same functionality as a comparable program from the 1990s, and that team can make a buggier initial release in merely twice the time.
Re:Mac OS 9 by sharikous on Monday December 05, 2022 @02:35PM (#33870685)
There might be something in what you are saying but it's not really like that.

The current macOS is humungous, kernel aside. There is a variety of systems running under the hood (Spotlight, fsevents, Apple Events, duet, launchd, MIGs, XPCs, caches, endless network services, launch services, anti-malware background programs, AppleID agents, diagnostics, cloud/AppleID integration, auditing, RAM compression, energy management, backups, filesystem snapshotting, COW,.... not to mention that huge OS inside the OS that is the browser) that is more than a surgeon can know about the human body.

Of course most of that is spying on you and telemetry... But you just have much more features these days and stability and security increased a lot. If that is not added value for you just work on one of those "minimal" OSes that appear from time to time. I guarantee you that you will miss a modern "bloaty" OS in no time.

Re:Mac OS 9 by yamtaddle on Monday December 05, 2022 @02:42PM (#33870775)
One might expect all those extra services and capabilities would make application development faster, though. Less for application developers to worry about, since the OS and built-in services do way more than a typical 1990s OS—and any that aren't helpful, ought at least not be getting in the way. So, sure, the situation for our industry's even more embarrassing than my original post implied.
Re:Mac OS 9 by retrac on Monday December 05, 2022 @02:04PM (#33870235)
When you resized a window on classic Mac OS, your program had to actually like, draw the new window. Your program is spinning in a loop listening for events, you get a window-resize event. So you allocate space for the new bitmap, calculate what you need to display within the enlarged view, and then draw it. Did the user drag another window over your window, and then drag it away again? You get an event for that. Gotta draw what was there again all over again.

This is all very close to the metal. On early 68K Macs, these routines are in ROM, and are very compact with each call only 2 bytes of code, actually being actual CPU opcodes (trap instructions). So if you sequence these Toolbox invocations correctly, as a great master programmer of coroutines who never mistreats a handle as a pointer, you can render a complex scene with hundreds of polygons and a full screen of text in 200 milliseconds at 8 MHz.

But it takes 1000 lines of hand-holding the machine to do it.

Today, all of this is typically handled by instantiating a window object which draws into a private framebuffer which the system composites. That right there is tens of megabytes of RAM overhead. Then you use a thread to handle the UI and a thread to draw and etc. There's almost no boilerplate to just show a window. Perhaps one line of code. And it doesn't get overwritten by intrusive neighbour windows. Creating frameworks that can do all that bookkeeping in a flexible and general way (don't forget you want to be able to render vector fonts for any Unicode language) has a tremendous overhead.

Re:Mac OS 9 by firecall on Monday December 05, 2022 @07:19PM (#33874012)
Classic MacOS only draws an outline of windows on any interaction!

There was an extension to enable window previews whilst dragging.

Re:Mac OS 9 by ben-schaaf on Tuesday December 06, 2022 @03:12AM (#33877066)
> That right there is tens of megabytes of RAM overhead.

FWIW the slowest spec of DDR3-800 transfers 100MB is about 15ms.

Re:Mac OS 9 by zozbot234 on Monday December 05, 2022 @02:10PM (#33870320)
See, the whole problem is that you're running Outlook, probably on Windows. A light-weight Linux desktop is not slow. If anything it's a bit faster and snappier now than those older systems were on their historical hardware, since it can save a lot more disk I/O via caching in RAM.
Re:Mac OS 9 by throwaheyy on Monday December 05, 2022 @02:47PM (#33870847)
It's not slow. It's just that modern OS's redraw at every intermediate size between the initial size and the final size. The name of the setting in Windows is "Show window content while dragging", you can disable it and all your windows will be 100x snappier than Mac OS 9.
Re:Mac OS 9 by ehaliewicz2 on Monday December 05, 2022 @03:12PM (#33871211)
Rendering at every intermediate size means that it is slower (by default).
Re:Mac OS 9 by genewitch on Monday December 05, 2022 @03:01PM (#33871050)
https://danluu.com/input-lag/ has some actual metrics with scientific rigor and accuracy.
Re:Mac OS 9 by acdha on Monday December 05, 2022 @06:05PM (#33873220)
> Like, try it, resize outlook right now (just stretch the side left and right). You'll see so much jank and jitter. How is something like that not instantaneous?

Outlook is old, old code and still does things network I/O in the same thread as window repainting. I wouldn't treat it as a reference of anything other than how much Microsoft has struggled with the baggage from a bunch of mistakes they made in the 90s.

If you use Safari, Apple Mail, or almost any other macOS app, it is instantaneous — and unlike the older Mac apps like the Finder which did the rubber-band overlay until you released the mouse button, that means things like Safari seamlessly reflowing the entire Mac OS 9 emulator the whole time.

Re:Mac OS 9 by firecall on Monday December 05, 2022 @07:17PM (#33873994)
I 100% agree with your broader point!

However in support of Apple's M1/M2 macs, I dont have this problem so much!

Apart from Electron based apps...

Which is why I find the wide spread love of VS Code so befuddling!

It's fine.. but so laggy when redrawing windows, switching tabs and so on!

Maybe it doesn't seem slow when in isolation, but compared to a GUI editor like Sublime Text, it's very noticeable!

But yes - your broader point stands and drives me nuts!

Somewhat gone are the days of upgrading your computer and everything being noticable faster because the software is the same! (to be fair, the M1 upgrade from Intel was impressive)

These days to have a decent experience (as a self confessed geek with high standards) you need an M1 Mac or on Linux and Windows a modern CPU, decent GPU and as much RAM as you can fit!

Re:Mac OS 9 by VapidLinus on Tuesday December 06, 2022 @03:06AM (#33877027)
I have the same feelings about VS Code. JetBrains is working on a competitor (Fleet) that is running on the JVM and renders using Skia. But everywhere I keep seeing it get flack for not being web-based...
Re:Mac OS 9 by dri_ft on Monday December 05, 2022 @12:43PM (#33868875)
Let's see Paul Allen's operating system.
Re:Mac OS 9 by mk_stjames on Monday December 05, 2022 @01:41PM (#33869809)
I've lived to see the day where someone made an American Psycho business card reference and a follow up comment would - in context mind you - be able to reference Paul Allen as both the movie character and the Microsoft founder.
Re:Mac OS 9 by jzelinskie on Monday December 05, 2022 @01:05PM (#33869230)
If this is intended to be an American Psycho reference[0], it's a pretty great comment.

[0]: https://www.youtube.com/watch?v=8iixytdJqZg

Re:Mac OS 9 by iaabtpbtpnn on Monday December 05, 2022 @12:53PM (#33869041)
That'd be MS-DOS.
Re:Mac OS 9 by miohtama on Monday December 05, 2022 @12:57PM (#33869089)
Web browser and mobile happened.
Re:Mac OS 9 by foobiekr on Monday December 05, 2022 @01:00PM (#33869131)
NeXTSTEP was peak traditional UI. Everything since has been gradual degradation. And I include with that Apple's butchering of what made MCCA on NeXTSTEP so amazing.
Re:Mac OS 9 by mattl on Monday December 05, 2022 @01:48PM (#33869936)
MCCA?
Re:Mac OS 9 by sbuk on Monday December 05, 2022 @07:10PM (#33873922)
Mission Critical Custom Apps.
Re:Mac OS 9 by aj7 on Monday December 05, 2022 @02:14PM (#33870373)
An Excel 4.0 was peak Excel. It brilliantly chose axis limits for you in scatter graphs, rather than wasting two minutes of your time every time you created one. Create new data series in the formula bar. Write your own functions and macros without consulting documentation. (I had to create my own ATAN2 (quadrant sensitive two-variable input arctangent. Ironically, when it began appearing as a standard function, it was called ATAN2!)
Re:Mac OS 9 by walrus01 on Monday December 05, 2022 @01:28PM (#33869611)
> What the hell happened to modern GUIs, man. We peaked in the 1990s.

People of this opinion will probably enjoy using the latest version of XFCE4 on a Linux or BSD environment.

It's "less terrible" than most other modern GUIs that waste space and are full of bubble shaped smooth looking jellybean UI elements.

Re:Mac OS 9 by bacchusracine on Monday December 05, 2022 @04:41PM (#33872295)
>People of this opinion will probably enjoy using the latest version of XFCE4 on a Linux or BSD environment.

Mate desktop might also be something they'd enjoy. I personally recommend the Ubuntu-Mate version since it inherits a lot of the papercut fixes from when it was used in Ubuntu as Gnome 2.x. I was very excited to hear that the lead developer of Ubuntu-Mate was working with Debian to port those changes over.

Re:Mac OS 9 by heather45879 on Monday December 05, 2022 @01:35PM (#33869715)
I think it’s the compounding effect of digital clutter over time. It’s easy to create digital things and the tendency to keep adding features never stops.

Minimalism is a good thing for an OS as it really makes it easier to use.

Another thing to note: there’s a lot or duplication in modern software. For instance, each OS file browser has a search bar to help find files. But tragically, the browser also has one, and so do many websites in the browser. So we have a recursive, ever-expanding set of search bars—yuck.

And also tragically, so do many apps have built-in file browsers. Ideally there should be one mechanism to find things, one mechanism to organize things, etc. It should be simple but flexible, and apps shouldn’t have to roll their own, they should be able to gracefully use the one provided.

We’re at a weird point in software where the browser is basically the OS for many people. ChromeOS was an interesting thought but it’s more like a limited-feature OS designed to sell Google services.

We need to take a step back and kind of assess the situation more—and then make a nice little OS :)

Re:Mac OS 9 by mk_stjames on Monday December 05, 2022 @01:38PM (#33869768)
I completely understand people like Andreas from SerenityOS and the idea that there was a time that was a peak of GUI simplicity yet usefulness for power users.. In their case it's the Win2K aesthetic but I think OS9 is pretty close to that level of streamlining.

As amazing as OSX seemed when it was launched, I partially blame OSX and the whole "make everything round and groovy and graphical goodness" trend that started us down the patch of making GUI's 'form over function'.

This is bleeding over from OS into power-user-oriented software like CAD and engineering tools and most everyone hates it. The whole "lets take away buttons and make the ribbon icons bigger and more graphically pleasing" to make products look more modern is a cancer for power users and productive people who just want access to everything as best and fast as possible. It's a delicate balance that I do indeed believe peaked well over a decade ago.

Re:Mac OS 9 by asveikau on Monday December 05, 2022 @01:43PM (#33869851)
> As amazing as OSX seemed when it was launched

This reminds me: There was pretty interesting community of Linux users customizing X11 desktops in the late 90s and the very early 2000s... When the first screenshots and demos of OS X and Aqua came out, almost immediately, people tried to imitate that.

Re:Mac OS 9 by rzzzt on Monday December 05, 2022 @02:12PM (#33870347)
I remember WindowBlinds and an MP3 utility (but just vaguely) that used a theme similar to Aqua on Windows.
Re:Mac OS 9 by stuaxo on Tuesday December 06, 2022 @06:44AM (#33878295)
There were/are Winamp themes that looked like Aqua.
Re:Mac OS 9 by Joeri on Monday December 05, 2022 @04:32PM (#33872206)
The frustrating part is that OS X was NeXTStep under the covers, and that had the late 90’s look down better than any OS. http://toastytech.com/guis/ns332.html

I ran windowmaker on my linux systems around 2000 to get that same look, but I had serious NeXT envy.

Re:Mac OS 9 by asveikau on Monday December 05, 2022 @05:51PM (#33873049)
I liked NeXT and GNUstep in those days too.

I'm not sure they had it literally "better" than everybody else, but they certainly had something unique, well executed, etc.

You can still recognize NeXT patterns in modern Mac GUIs. They're usually not surface level anymore.

Re:Mac OS 9 by AnIdiotOnTheNet on Monday December 05, 2022 @06:23PM (#33873405)
Still upset that I don't live in the timeline where GNUStep/Windowmaker became the defacto DE for Linux.
Re:Mac OS 9 by bitwize on Monday December 05, 2022 @10:39PM (#33875616)
Oh, man, NeXTstep was an amazing UI, easily the best in the Unix world.

Still a disaster compared to System 7, 8, or 9.

Re:Mac OS 9 by 1ko on Tuesday December 06, 2022 @05:55AM (#33877953)
I feel like BeOS was even cleaner. And it made my old PC feel really snappier than win98.

https://www.howtogeek.com/wp-content/uploads/2020/10/beos-1....

Re:Mac OS 9 by ilyt on Monday December 05, 2022 @07:53PM (#33874315)
Yeah I remember when putting your desktops on a cube and spinning it around was a thing. Compositors also had a bunch of weird and interesting effects.

It started as apple's knockoff but quickly spun out of control with amount of stuff you could setup with compiz/beryl.

Then people figure out most of it while very cool is not all that practical.

Re:Mac OS 9 by SoftTalker on Monday December 05, 2022 @04:38PM (#33872274)
I have always felt that Win2K Pro was the pinnacle of the Windows UI.
Re:Mac OS 9 by hahamrfunnyguy on Monday December 05, 2022 @03:33PM (#33871497)
I lived through these times, and I thought OS X was a huge improvement over MacOS, I'd never want to go back! Software in general has gotten more bloated and slow since the '90s, but I don't blame it on the OS.

I didn't have too many major complaints about working on MacOS, but I've always preferred windows. I used Windows 3.1 before MacOS. It's probably since I used Windows first, but I've always preferred the Windows approach of window management. Whenever using a Mac, I would always end up with a jumble of windows and I'd frequently click the wrong one when and it would pop to the front and hide what I was looking for. Then the wrong application's tab strip would be visible. Arrrgggh! It was a common point of frustration for me when using Photoshop and Illustrator since there are a number of similar Windows.

In Windows 11, I like that there is reasonable support for dark UI and multiple desktops. I haven't used OS X that much in the past 10 years, so I can't comment on the improvements that have been made since then.

Re:Mac OS 9 by deergomoo on Monday December 05, 2022 @04:22PM (#33872106)
I would prefer we leave the window borders in the 1990s but I do wish we'd stop hiding controls in overflow menus when we have more pixels available than ever before.

I appreciate that dropping a user in a window with 150 unlabelled icons is intimidating for them, but needing to hover over the magic space or find the correct icon abstraction of "junk drawer" to find core features is hardly intuitive either.