Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
elromulous
on Sept 10, 2022
|
parent
|
context
|
favorite
| on:
Ask HN: What's the best source code you've read?
Idk about the best, but, this[1] implementation of hierarchical state machines is beautiful. It uses a few different template metaprogramming tricks to resolve state transitions at compile time! It's truly beautiful.
[1]
https://accu.org/journals/overload/12/64/heinzmann_252/
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[1] https://accu.org/journals/overload/12/64/heinzmann_252/