Difference between revisions of "User:Ssvb"

From D Wiki
Jump to: navigation, search
(An initial todo list and various notes)
 
m (Arithmetic overflows: more todo)
Line 12: Line 12:
  
 
TODO: create a new DIP? https://forum.dlang.org/post/rclilxjpnjvexggncfhd@forum.dlang.org
 
TODO: create a new DIP? https://forum.dlang.org/post/rclilxjpnjvexggncfhd@forum.dlang.org
 +
 +
TODO: Atomic operations and arithmetic overflows?
 +
 +
TODO: Unsigned overflows?
  
 
GDC supports "-ftrapv" easter egg option for trapping signed overflows.
 
GDC supports "-ftrapv" easter egg option for trapping signed overflows.

Revision as of 08:05, 8 February 2022

GDC tips and tricks

GDC 11+ requires "-flto" or "-fno-weak-templates" option to avoid a major performance regression: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102765

Shared library linking workaround to run phobos unit tests: https://bugzilla.gdcproject.org/show_bug.cgi?id=199

Demangle symbols: https://dlang.org/phobos/std_demangle.html

Mingw build and test instructions: TODO

Arithmetic overflows

TODO: create a new DIP? https://forum.dlang.org/post/rclilxjpnjvexggncfhd@forum.dlang.org

TODO: Atomic operations and arithmetic overflows?

TODO: Unsigned overflows?

GDC supports "-ftrapv" easter egg option for trapping signed overflows.

Relevant links: