~/talk

Type Based Allocation

Talkat emBO++ 2019 · 2019-03-14..03-17· [c-and-cpp, embedded-and-hardware]
links:none on file
slides:none on file

A compile-time type-based allocator builds a tree of pools, unions and segment allocators that only supports a fixed set of sizes to cut fragmentation and improve cache locality. Implementation uses C++ TMP, CRTP and bitmap pool bitmaps for occupancy, plus a greedy compile-time algorithm that scores pool-size pairings; example on an octree with 24/16/64-byte nodes yields smaller unions and fewer wasted bytes. Works as a proof of concept but hits compiler instantiation limits, cannot plug into std containers easily, and a lookup routine may be undefined behavior so not production-ready.

AI-written summary · about

  1. 0:00Introduction
  2. 0:39Who am I
  3. 1:16Why allocators
  4. 2:18Common solutions
  5. 2:59Single size
  6. 4:27Fermentation
  7. 6:03Types
  8. 8:19Example
  9. 9:14Use Case
  10. 10:49Assumptions
  11. 12:13HighBase Allocation
  12. 15:17Components
  13. 16:32Structure
  14. 19:26Inheritance
  15. 22:32Type Function
  16. 22:53Allocator
  17. 24:00Locator
  18. 24:52Union
  19. 25:42Heritage
  20. 27:04Poles
  21. 28:02Head Pointer
  22. 28:40A Locator Type
  23. 31:29Heap Locator
  24. 33:17Limitations
  25. 34:13Simple Union
  26. 47:16Communication Example
  27. 47:39Combination Algorithm
  28. 49:04Polymorphic Alligator
  29. 49:18Destructor
  30. 49:48Residual Functions
  31. 50:09Stateful Matter
  32. 50:58Stateful Massive Boring
  33. 51:16Optimal Out Carrier
  34. 51:58Practicality
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.