Fond memories of watching my dad sat in front of a bright blue screen covered in inscrutable glyphs. It looked like pure wizardry to me then. While the original colours are too intense for my taste, I do sometimes switch to the Noctis Azureus theme in VS Code when I find myself thinking of him.
Turbo Pascal Turns 40
201–210 of 271 posts
Re: Turbo Pascal Turns 40
#202Is anyone going to mentioned that that's not at all what Turbo Pascal looked like when it was first released? Not in 1983. The UI was significantly simpler. I remember it looking like this: https://imgur.com/EuOVL8c
Re: Turbo Pascal Turns 40
#203Earlier quoted context omitted.
Unicode support is cheap memory wise. The expensive thing if having the fonts. The fonts can live on the hard drive until actually needed. I suspect the issue is more of the runtime overhead of supporting it over the entire stack. That's a bigger cost that people would only want to pay if they were actually going to use it. So then you're in the situation of having to support unicode and non unicode versions of every…
Most programs written in Pascal were UI programs (even in client-server model client was typically a specialized program, not browser), so rendering a string would indeed require a font file. You could pre-render and cache in RAM some frequently used glyphs (locale-specific alphabet, digits etc), but hitting HDD every time to render an emoji won’t be fast enough. Modern Unicode was simply not feasible.
Re: Turbo Pascal Turns 40
#204Re: Turbo Pascal Turns 40
#205Pressing F9 would compile and run the selected "demo" super easily.
One of my earliest memories of using a computer, I think.
Re: Turbo Pascal Turns 40
#206Earlier quoted context omitted.
HDD and memory sizes were growing very fast back then. So it would've been feasible even on fairly low-end hardware, starting from the mid-1990s or so. If you could have "multimedia" or "DTP" software on such PC's, modern fonts ought to have been possible. The flip side is that old computers became obsolete very quickly back then, a few years were enough for very real generational changes.
Low-end hardware in 1995 was something like i386 with 1 Mb RAM, meaning that just a modern Unicode font would consume most of the memory available to a program, probably leaving no enough space for the rendering code (which is not small by standards of that time). In 2nd half of 1990s I still maintained a classroom with 15 IBM PC XTs, which were still doing their jobs (our most modern hardware were Pentiums with 16 M…
That isn't unicode though. That's a font. You can have bitmap unicode fonts if you want.
Let's put it this way. Say you have a unicode aware library and only ever use the ASCII compatible codes. You aren't using more space for fonts.
If you want to read a Chinese document, yes you would need to then install Chinese fonts. That would take space yes. But it's possible. If you only speak Chinese that's something you have to deal with.
Could you have a font for every unicode point at the same time, probably not, but most people don't need to read most code points most of the time.
Re: Turbo Pascal Turns 40
#207One of my favourite computer games was written in Turbo Pascal: ZZT, written by Tim Sweeney of Epic Megagames. It was a quircky text-mode game with puzzles, shooting, and so on. It had a built-in game editor that came even with the free shareware version, and it even had a little programming language called ZZT-OOP. ZZT's original source code was lost. Years later, Adrian Siekierka painstakingly reverse-engineered th…
Re: Turbo Pascal Turns 40
#208Earlier quoted context omitted.
> fully-featured GUI program when today similarly powerful software is orders of magnitude larger in size? That's because the "fully featured" of the 90s would be barely usable today. Or to rephrase: the frameworks and programs of today are not "similarly powerful" to the ones from the mid 90s, even if you just recompiled the app from 25 years ago with the current version of your framework (theoretically ;), it would…
Depends on what you mean for SAP. Reports at least are super easy to write and have better usability than other in-house stuff I saw. UI5 now has components that you can use with React, which give the web experience. SAP GUI is kind of okay, and fast. What do you mean?
Re: Turbo Pascal Turns 40
#209For all who wonder why Turbo Pascal was so fast here some insights: 50% is certainly due to the language Pascal itself. Niklaus Wirth designed the language in a way so it can be compiled in a single pass. In general the design of Pascal is in my opinion truly elegant and compared to other programming languages completely underrated. Wirth published a tiny version of his compiler written in Pascal itself in a 1976 boo…
> Jump tables everywhere. In general the compiler was quite table driven.
It would be interesting to see how this approach fares in the face of modern branch prediction on modern CPUs.
Re: Turbo Pascal Turns 40
#210Earlier quoted context omitted.
I doubt that by modern standards, Pascal seems to work if it compiles, compared to languages like Java or Go. They were comparing it to writing spaghetti code with GOTOs everywhere in BASICA, so no wonder their code seemed more reliable. Nowadays, the jump in reliability comes from strong and helpful type systems, not structured programming. Ada still seems good there, but Pascal is just an ordinary programming langu…
Yeah, the benefits of strong typing have nothing to do with Pascal... Sigh. Kids nowadays, etc. Look up which was the original language ridiculed for its "belt-and-braces" approach to type safety, in contrast to C, the freewheeling language of Kewl H4xx0rs (although they weren't yet spelled that way). Now excuse me, there's a cloud I have to go shake my fist at.