Linked by Thom Holwerda on Tue 1st May 2012 21:59 UTC
Thread beginning with comment 516642
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
It is a shame Object Pascal/Delphi never became more popular.
It looks like CodeGear and the Delphi trademark are now owned by Embarcadero technologies. They might make a good acquisition for Google and to be honest Google probably should have bought up CodeGear for the ~23 million Embarcadero paid Borland for it in 2008.
Also, to add to this, the primary developer responsible for Delphi eventually went on to work at Microsoft to make J++ and C#. Partly because of this extending Delphi to do what Google needs it to do would legally be cleaner than starting from scratch.
Edited 2012-05-02 05:10 UTC
RE[2]: Comment by snorkel1
by moondevil on Wed 2nd May 2012 06:17
in reply to "RE: Comment by snorkel1"
I can't believe the load of bull love for C#, it's not that great, I would take Free Pascal over C# any day.
Pascal is a compiled language with no garbage collection. C# is a garbage collected language that targets a VM. <sarcasm> Yes, I can see why they are exactly the same. </sarcasm> You may as well have said "why don't they use Python" or some other random language. Object Pascal is something I did as a day job for over 10 years, I know enough to tell you that you are delusional.
You also don't even know basic facts about C# and the CLR, as proven by your next statement:
P/Invoke is a freaking pain in the ass, I don't have to do any of that crap with Free Pascal and or Delphi
You prove you are clueless. Yes you do. Frequently. How do you import a function in a library in Borland's Object Pascal dialect?
procedure Foo(X: Integer); external 'BAR';
How do you do this in C#?
[DllImport("bar.dll")] void Foo( int X);
Or, if you are going to be pedantic and insist on Pascal, in Delphi Prism :
[DllImport("bar.dll")] procedure Foo(X: integer); external;
Yeah, so very different and so very hard. <sarcasm> Let's hate on P/Invoke because the syntax is just ridiculously complicated, yeah, impossible... </sarcasm>
and I have Generics etc.
No, you have "kinds of generics". The FreePascal version is more like templates (and depending on compiler build can be quite broken in my experience) and the Delphi version depends on which flavour you mean. Delphi Prism uses .Net, Delphi for Windows uses Borland/Codegear "version" and Delphi for Mac OS X and iOS uses FreePascal, which is not an exact analogue.
RE[2]: Comment by snorkel1
by Rugxulo on Wed 2nd May 2012 20:10
in reply to "RE: Comment by snorkel1"
Pascal is a compiled language with no garbage collection. C# is a garbage collected language that targets a VM. Yes, I can see why they are exactly the same.
FPC now has optional JVM target support. Also, don't forget that Pascal's cousin, Oberon, does have garbage collection. So it's not that far of a stretch.
"and I have Generics etc.
No, you have "kinds of generics". The FreePascal version is more like templates (and depending on compiler build can be quite broken in my experience) and the Delphi version depends on which flavour you mean. "
I could be wrong, but I think FPC now supports both kinds of generics (their own and the Delphi variant).




Member since:
2012-02-25
I can't believe the load of bull love for C#, it's not that great, I would take Free Pascal over C# any day.
P/Invoke is a freaking pain in the ass, I don't have to
do any of that crap with Free Pascal and or Delphi and I have Generics etc.
They could have easily used Free Pascal instead of Java to make a Phone OS.....