~/talk

Freestanding C++ - Past, Present, and Future

name:Ben Saks
links:none on file
slides:none on file

Defines which library pieces are guaranteed on bare-metal: only a small header set plus C stdlib functions abort, atexit and exit are required, while C++ requires new/delete, exceptions, RTTI and floating‑point support today; compilers like GCC keep built‑in knowledge of functions such as memcpy/memmove (and treat them special even with -ffreestanding), and -ffreestanding disables most other built‑ins so link behavior is consistent. Proposals like P1105 and library papers (e.g. P1366/P1367) aim to make some features optional and to expand freestanding guarantees; practical workarounds include wrapping borrowed stdlib bits in a private namespace and using inline namespaces per target.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00Portability
  3. 4:02Portability benefits
  4. 5:45Types of implementations
  5. 8:14C11 Standard
  6. 8:57Headers
  7. 10:45Functions
  8. 12:01C headers
  9. 13:31Library restrictions
  10. 14:37Startup and termination
  11. 16:41Core language features
  12. 18:09Exceptions
  13. 20:20Library
  14. 21:27Toolchains
  15. 22:40Freestanding flag
  16. 23:20Builtin knowledge
  17. 25:02F flag
  18. 31:04GCC exceptions
  19. 31:47Alternative library distribution
  20. 33:53Pipe trades header
  21. 35:57Standards Committee
  22. 36:49Leaving No Room for a Lower Level Language
  23. 38:40Exceptions in STL
  24. 40:16Concerns
  25. 41:59What can you do
  26. 42:10If youre an application developer
  27. 42:22The paper number
  28. 42:35Library paper
  29. 42:56Application developer
  30. 43:56Library parts
  31. 48:25Library Developer
  32. 48:48Library Author
  33. 49:23Stick to the freestanding
  34. 50:28Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.