by musicale · 6mo ago · 0 comments
Aside from that, the MMU in the Lisa would have been a custom solution which Apple would have to support. When Motorola introduced an MMU, it was for 68020 generation machines. Apple should have been able to introduce memory protection at that point, but didn't. One of the reasons was that Apple struggled to make that next generation operating system while retaining compatibility with existing software (albeit, memory protection may have been only one of many problems). This was by no means a problem exclusive to Apple. Other platforms ran into similar issues.
Since then however Apple's OS and hardware strategy has been much more coherent, with macOS, iOS, iPadOS, tvOS, watchOS etc. sharing code, and sharing SoC technology as well. Ironically this is similar to Microsoft's "Windows [NT] everywhere" strategy.
I think it was in one of the On the Metal interviews where one of the guests mentions MPW was a submarine project, from UNIX background engineers, to eventually replace Pascal with C++.
But it's unfortunate that losing Pascal/Object Pascal also meant losing bounded strings and array bounds checking, even if people turned the latter off in the 1980s because they thought that the performance cost wasn't worth the reliability improvement. That was probably the wrong trade-off then (at least for most regular application code) and even more so today (especially for the vast amount of legacy C code.)
Until governments and companies decided fixing CVEs was getting too expensive.
Then programming with straightjacket languages suddenly is the new future.
Until AI came to be, now it is a mess again.
I wish Ada had more high-quality open source compilers and libraries, since it seems easier to write than Rust.
According to Wikipedia, the first commercial C++ implementation came out in October of 1985, MPW was released in September of 1986, and MPW C was released in July of 1987.
C++ seems to have been added sometime in ~1988 (??)
Think C 4.0 (later Symantec C/C++) with (C++ like) object extensions seems to have been released for the Mac in 1989.
And the later collaboration with Metrowerks and the PowerPlant framework.
I mentioned the podcast, because Wikipedia is not the source of universal truth.
I looked at the intro to some of the MPW C++ documentation (before posting above, thank you internet) and I think it said that MacApp could be used via the C++ to Object Pascal bridge and that a native C++ framework would be forthcoming.
https://www.folklore.org/Puzzle.html
To this day, one of my favourite word processors is WriteNow, which was ~100,000 lines of assembly.
Naturally there had to be a balance, until mid-90s what we consider AAA games, were mostly Assembly.
The observation was that linking in the Pascal library was problematic when one was storing everything on a single 400KB Micro Floppy.