This is a autopost bolg frinds we are trying to all latest sports,news,all new update provide for you
Saturday, October 12, 2024
Show HN: SSO – Small String Optimization https://ift.tt/FmKEYgN
Show HN: SSO – Small String Optimization I wrote this just for fun when saw article about sso in Rust[1]. My string can store up to 23 (excluding null-terminator) 8-bit chars without calling allocator. Here I can mistake, but.. Curious fact: both - libstdc++[2] and libc++[3] - do access to union member without any check that it is active now. AFAIK, this is UB in C++. But I assume that they just rely on theirs compiler features. I tried to avoid this using `std::byte[]`. But I'm still sure that there are several UB's in my code :) [1] https://ift.tt/QM1CrzF... [2] https://ift.tt/IaP52dh... [3] https://ift.tt/awHYW7p... https://ift.tt/PZYkBNj October 12, 2024 at 11:56PM
Subscribe to:
Post Comments (Atom)
Show HN: Learn System Design, one campaign at a time https://ift.tt/ScTMFku
Show HN: Learn System Design, one campaign at a time https://scalequest.io/ August 7, 2026 at 03:25AM
-
Show HN: I built Dirac, Hash Anchored AST native coding agent, costs -64.8 pct Fully open source, a hard fork of cline. Full evals on the gi...
-
Show HN: Pixel text renderer using CSS linear-gradients (no JavaScript) I've been playing around with rendering pixel text using only CS...
-
Show HN: Total Recall – write-gated memory for Claude Code https://ift.tt/G7AugiK February 6, 2026 at 05:26AM
No comments:
Post a Comment