Home | Contact | Pricing | News | Partners | Mailing List | Site Map

Developer Center

[GNAT] More efficient handling of nested subprograms

Saturday May 3, 2008

Access to nested subprograms has in the past used a technique known as trampolines, which had the disadvantage of being somewhat inefficient, and also required that stack execution protection (DEP mode on Windows) be turned off. The use of trampolines has now been eliminated on native platforms, improving efficiency and making it possible to run with DEP enabled. See the entry for pragma Restrictions (No_Implicit_Dynamic_Code) in the GNAT Reference Manual for more detailed information.

 

Posted by Posted in Development Log, GNAT Compilation System