25-04-2013, 07:56 PM
السلام عليكم و رحمة الله و بركاته
خبر سيفاجئ العديد ... لغة دلفي في تغير .. , هناك العديد من المزايا سيتم التخلي عنها في Delphi compiler مستقبلا :
- أولها سيتم حذف with statement من اللغة !!! أمر يصعب تصديقه !!!
و العديد من المزايا الأخرى ... مثل الأسمبلي (سيتم تجاهله مستقبلا )
أمر محير : أول شيئ تم التفاخر به في مترجم 64 بت للسي ++ بويلد هو امكانية استخدام 64 بت أسمبلي(كون MS C++ Compiler لا يسمح بكتابة أكواد أسمبلي 64 بت ) ..
ثم نتفاجئ بأنه من المحتمل مستقبلا بأن يتم حذف دعم الأسمبلي في اللغة (دلفي & سي ++ )
هذه قائمة بالتغييرات التي سيتم أخذها بعين الاعتبار في النسخ المستقبلية من دلفي
إقتباس : Sooner or later, the with statement [COLOR="Red"] is going to be deprecated and removed from theكل هذه المزايا يتوقع أن يتم حذفها من DCC32 ,DCC64,DCCOSX من أجل المحافظة على التوافق مع كومبايلر الموبايل iOS / Android ARM compiler
Delphi language[/COLOR]. You can easily start removing it now from your code, and most Delphi
developer will agree this is a good idea anyway, given some of the hidden pitfalls of this
keyword.
Reduce or remove pointer usage, given direct usage of pointer is being discouraged as we
move towards some automatic memory management. Using generic container classes,
instead of TList (internally based on pointers) is a good example of the migration that the
Delphi RTL library is undergoing, and we suggest that Delphi developers perform similar
conversions in their code as well.
Remove assembly code, as this isn’t portable to the new compiler and isn’t applicable to
ARM CPUs.
The volatile attribute is used to mark fields subject to change by different threads, so that
the code generation won’t optimize copying the value in a register or another temporary
memory location not shared by the separate thread.
المصدر :
إقتباس : White Paper : The Delphi Language for Mobile Development

