Re:Modern Object Pascal Introduction for Programmers
by FpUser on Monday July 06, 2020 @10:26AM
(#23748228)
>*"If only Anders/Borland had designed Delphi as a VM."
That would've been enough reason for me not to use it. Targeting whatever VM as yet another platform to compile to would be fine I think. It was actually done for Java and .NET but hardly used. I guess it has no benefits compared to native.
If only Anders/Borland had designed Delphi as a VM, similar to the JVM. Of course he did that for MS with J++ (and then C#), but had Borland done it first with Delphi, would MS still have squashed them? Probably.
As for the Introduction posted here, Nice! Well written and densely informative. Refreshing to see some focus on Pascal.
One feature I'd like to see borrowed in other languages: Class references. In my experience this feature would be extremely useful for code generators, say in Java. For instance, you get virtual static methods and constructors. Man, that would be nice.