News for hackers. Stuff that matters.
Re:Introducing a new, advanced Visual C++ code optimizer by pjmlp on Friday May 06, 2016 @12:31PM (#11645025)
> I don't know how you "explicitly ask for unsafe code" in Ada

You need to import a virtual package and some times also make use of specific pragmas.

Ada, and Modula-3 are very much "into your face" in what concerns unsafe code.

For example, if you intend to do a conversion between data types without guarantee that the target can can hold a valid data representation, you need to import Ada.Unchecked_Conversion.

And do something like this:

http://www.adaic.org/resources/add_content/docs/95style/html...

Same applies to everything else deemed unsafe.

There are no comments on this comment yet.