4 ms·
In the early 80s, they didn't. Pascal was more or less unusable on the PC. Pascal remained unusable until it got a boatload of extensions. The trouble was, ever
by WalterBright 4y ago
In the early 80s, they didn't. Pascal was more or less unusable on the PC. Pascal remained unusable until it got a boatload of extensions. The trouble was, every Pascal added different extensions, making Pascal unportable.
- pjmlp 4y agoJust like most C dialects outside UNIX, but for C it counts as features.
- WalterBright 4y agoThere were portability issues with C compilers, for example, value preserving vs sign preserving integer promotion rules. But Pascal was unusable without extensions. I mean that. I wrote programs in Pascal. For example, Wirth's Pascal had no provision for programs that had more than one source file.
- pjmlp 4y agoI wouldn't consider RatC or Small-C that usable without the pile of Assembly code they needed to be usable beyond bare bones control flow statements. Like I say, two weights two measures.
- Gibbon1 4y agoNothing was non-trivially usable on an IBM PC without a pile of assembly code. Integrating C with assembly was easy. Pascal originally didn't support that at all. And academics were utterly horrified by things like Turbo Pascal.
- pjmlp 4y agoThe usual argument, C extensions for inline Assembly and dialects outside UNIX, no problem, it was great. The fact that Pascal extensions existed, and Modula-2 as evolution from Pascal was a standard since 1978, doesn't count.
- WalterBright 4y agoEven the bad early C compilers were far more usable than Pascal. I know this, because where I worked at Data I/O we tried a whole bunch of them - Pascal, Fortran, and C.
- PaulHoule 4y agoThe PC and clones were very slow writing to the screen if you used the BIOS or DOS so it was widespread practice for application programs to write directly to the memory-mapped screen, do I/O space operations, register interrupt handlers, etc. Thus application code often looked like device driver code, maybe you (the application developer) wrote code that wrote to the screen directly or you used libraries that did. By the late 1980s there were text-mode UI frameworks that supported resizable windows, the mouse, and widget sets like you’d use in a GUI application today.