Sorry to go off topic again but ...
BigAlUK - if you want to relive your past ...
Larry G
Ta, I'll check that out - eventually
Sorry to go off topic again but ...
BigAlUK - if you want to relive your past ...
Larry G
Unsure Ada would have been Influenced by C++ given it came out before C++.[/QUOTE said:Ada is one of the Pascaline languages (Pascal, Delphi, Modula, Oberon, Ada, Prism and, in part, C#) all of which owe their existence to Algol and PL/1 (even perhaps PLM).
This branch of evolution is distinct from the branch of C, C++, Java... all the way to C#. Not everyone knows this, but Microsoft hired the guy behind Delphi to create C# - thus arguably bringing some common sense to this whole language branch at last
I think TP4 was the best version for making small code.
I think TP4 was the best version for making small code. TP4 was the first attempt at a smarter linker which cut out unused units. Considerable overhead got added towards TP 7 to make object compilation fast.
FreePascal is the antithesis of efficiency.
But the real life-changer for me was the mouse support from TP6 onward! It just made my life so much easier for all those long hours of coding.
I second that. But nowadays I mainly use FreePascal. FP enables me to reserve a lot of memory already at the definition part: I don't have to allocate it dynamically and, most important, I'm not limited to these 64 KB chunks.BP7/TP7 creates the smallest code due to
Different strokes for different folks.The only thing the mouse stuff is good for is quickly moving windows around, but I rarely do that.
And a program run under TP7 is about three times as fast as the same program run under FP.
I will look for an example.If you have a measured example of that behavior, send me a PM, maybe I can figure out what's going on in your code.
I'm sorry but I think those programs were my assemblers and disassemblers and these have moved FreePascal quite some time ago (10 years?). I clearly understand your arguments but in those days it was a fact. But adding more and more functions and supporting more CPUs the tools didn't only get more memory hungry but I ran against this 64 KB barrier again and again. So at the end I had to switch to FreePascal. But doing so I got another idea: it were multi-pass assemblers. So why not reading the source code into memory the first time and start the disassembly from there? That worked out fine. And two things: FPC improved in time and PCs became faster and faster in time. Source code that took "ages" now are handled in seconds.I will look for an example.
Just my two cents: could it be that handling the files was handled better by TP in those days?
Not needed, IMHO. I (still) only use two type of files: TEXT for the source and log files and "file of byte" for the generated binaries. For every pass the lines were read and handled one by one. Three passes handle most type of files but if a weird nesting of variables was used, more passes were added. The binaries were generated after the last pass.Without seeing your code, there's no way to tell.
It sounds more than reasonable but... no offense meant or taken but it was what I experienced, I even used my watch to verify numbers. Maybe there were other things that played a role like programs running in the background.even a suboptimal 32-bit pmode program should drastically outperform a 16-bit real-mode program