wanghenshui / cppweeklynews

c++中文周刊
https://wanghenshui.github.io/cppweeklynews/
Creative Commons Zero v1.0 Universal
454 stars 22 forks source link

https://coredumped.dev/2024/09/09/what-is-the-best-pointer-tagging-method/ #144

Open wanghenshui opened 3 weeks ago

wanghenshui commented 3 weeks ago
          https://coredumped.dev/2024/09/09/what-is-the-best-pointer-tagging-method/

改写成c++

https://news.ycombinator.com/item?id=41488377

https://www.reddit.com/r/ProgrammingLanguages/comments/1fcpl3b/what_is_the_best_pointer_tagging_method/

https://www.reddit.com/r/cpp/comments/1fv10dw/what_is_the_best_pointer_tagging_method/

https://lobste.rs/s/zbx4cu

Originally posted by @wanghenshui in https://github.com/wanghenshui/cppweeklynews/issues/139#issuecomment-2437296209

mapleFU commented 3 weeks ago

说来 DuckDB 还用了 Swizzling Pointer (但封装很丑)