3 ms·
> I think the UI thread was everything. How would you have done it?
by ErroneousBosh 11mo ago
> I think the UI thread was everything.
How would you have done it?
- swiftcoder 11mo agoPreemption is a very nice OS feature it turns out (particularly once multi-core rolled around). Still, I recall os 8 and 9 being generally snappier than windows 98 (and a lot snappier than early builds of OSX)
- ErroneousBosh 11mo agoHow does preemption work on a processor that barely has interrupts and has no way to recover state after a page fault, in an OS that has to fit into a couple dozen kilobytes of ROM?
- cmrdporcupine 11mo agoThere were plenty of preemptive multitasking systems for the original 68000, and regardless page fault recovery was fixed from the 010 onwards. And certainly was very not a problem on PowerPC which TFA is about. Also not sure how you can say the 68000 "barely has interrupts" I don't even know what you're on about. MacOS was broken because Jobs forced it to be that way after he was kicked off the Lisa team. Which had a preemptive multitasking operating system on the 68000.
- zozbot234 11mo agoThe Amiga had preemptive multithreading with multiple task priorities on the original MC68000. Preemption is distinct from memory protection or paging.
- wat10000 11mo agoPreemptive multitasking is unrelated to page faults. And the 68k handled page faults just fine starting from the 68010. Space constraints were certainly limiting on the earlier models, but later ones were plenty capable. Apple itself shipped a fully multitasking, memory protected OS for various 68k Mac models. By the late 80s, the only reason the Macintosh system was still single-tasking with no protected memory was compatibility with existing apps, and massive technical debt.
- icedchai 11mo agoLater Mac ROMs were 512KB, same with the later Amiga Kickstarts (3.x) That was a lot of space for the late 80's and early 90's. Interrupts were supported (8, if I recall.) And 68000 machines didn't support virtual memory until the 68010 and later, so no issues with page faults. I still remember the day teenage me got an Amiga 500 with a whopping 512K of RAM, and witnessed the power of multitasking, way back in 1988.