Lex and yacc for mac5/25/2023 ![]() Rewriting everything from scratch, aka taking off and nuking the entire site from orbit, is almost never a Good Idea. Graphing Calculator still uses the Classic Mac OS 9 cooperative threading APIs in order to run code frozen in the 1980s which is not thread-safe. ![]() Eventually, decades of accumulated technical debt make new development fraught. It is easier to write new code adding new functionality and hide ancient legacy code under layers of abstraction. It was originally written to the classic Mac API of Inside Macintosh, then Carbon, then Cocoa, AppKit & UIKit, and now SwiftUI. It has seen the CPU change from the Motorola 68K to the IBM PowerPC family, to Intel, and to ARM. ![]() I have long adhered to the philosophy of “If it ain’t broke, don’t fix it”, so the code carries many vestiges of its past – design choices which made sense at the time, but no longer serve. Graphing Calculator began in 1985 in C for the 128K Macintosh in the days of 16-bit ints, black & white Quickdraw, and the 0 CPU with no MMU, FPU, nor GPU. This post is authored by Ron Avitzur, author of the Pacific Tech Graphing Calculator. ![]() Ron Avitzur is the author of the Pacific Tech Graphing Calculatorĭeveloper Spotlight is a series highlighting interesting Swift developers from around the world.
0 Comments
Leave a Reply. |