Delphi XE2 FireMonkey: the reason you should not have used assembly
Posted by jpluimers on 2011/09/09
Right now, I’m porting a bunch of stuff over to FireMonkey in Delphi XE 2 so it can run cross platform.
(Be sure to attend the RAD Studio XE2 World Tour when possible, this stuff is way cool!)
Having avoided Windows x86 assembly in my own sources for years, I’m astonished by the number of 3rd party libraries that do.
Right now, third party libraries that you want to use with FireMonkey need these requirements:
- In order to run on x64 or OS X:
Don’t rely on x86 assembly instructions, or provide alternatives for other platforms than Windows x86 - In order to run on the an iPhone, iPad or iPod touch iOS device (which all run on Arm), or iOS simulator from the iOS SDK (which is not an emulator, it runs x86):
Be compatible with Free Pascal 2.5.1.
And the fact that you should have separated your business logic from your UI logic years ago :)
Of course that was what the Future proofing your Delphi apps seminar from Simon Stuart was about.
What baffles me is that so little 3rd party code adheres to that.
–jeroen
PS:
Today and tomorrow I’m be at the German Delphi-Tage.de conference; I’ve already met a lot of people in the Delphi XE2 tutorial and look forward to meet more tomorrow.
Contrary to what the schedule says, my session on a pragmatic Delphi code generator will be in German, I’m sure most attendees will like that.
Sunday I’ll fly to SFO to speak at the DelphiLive.com conference in San Jose, CA.
There, my preconference tutorial on Delphi Certification and sessions on XML and XSLT will be in English, as I’m sure more people there understand that better than German :)






Skybuck Flying said
Don’t fly on sunday lol, the date ain’t so good lol.
François said
See you soon Jeroen.
I guess there’ll be quite some excitement this year…
Simon J Stuart said
I’m hoping to present two sessions for CodeRage covering this subject in great detail (all aspets of Delphi as relates to both future-proof design/development practises including the abstraction of Business Logic from the UI)
Appreciate the link and mention, and have placed a Pingback on the article you linked to.
Whether my sessions feature at CodeRage or not (I’m fairly sure they will), they will be definately placed online after the event!
jpluimers said
I’m really looking forward to your sessions.
Simon J Stuart said
I’m hoping you’ll be doing some sessions (or at least one) for CodeRage :)
François said
Would’ve been great to have you at DelphiLive!
Will settle for CodeRage tho…