HackerTrans
TopNewTrendsCommentsPastAskShowJobs

zigrazor

no profile record

Submissions

[untitled]

1 points·by zigrazor·3 mesi fa·0 comments

[untitled]

1 points·by zigrazor·4 mesi fa·0 comments

[untitled]

1 points·by zigrazor·4 mesi fa·0 comments

[untitled]

1 points·by zigrazor·8 mesi fa·0 comments

[untitled]

1 points·by zigrazor·8 mesi fa·0 comments

[untitled]

1 points·by zigrazor·8 mesi fa·0 comments

Show HN: CXXStateTree – A modern C++ library for hierarchical state machines

github.com
48 points·by zigrazor·anno scorso·36 comments

comments

zigrazor
·8 mesi fa·discuss
Network infrastructure analysis is critical for maintaining robust and secure systems. Whether you're managing a corporate network, analyzing internet topology, or identifying bottlenecks in distributed systems, graph theory provides powerful tools for understanding complex relationships. In this article, we'll explore how CXXGraph—a modern, header-only C++ graph library—can help identify critical vulnerabilities in network infrastructure.
zigrazor
·8 mesi fa·discuss
State machines are everywhere in software development. From game AI to embedded systems, from network protocols to UI flows, managing state transitions cleanly and efficiently is a challenge every developer faces. Yet most C++ developers either roll their own ad-hoc solutions or wrestle with heavyweight frameworks that feel stuck in the past.

Enter CXXStateTree — a modern, header-only C++20 library that brings elegance and performance to hierarchical state machines.
zigrazor
·anno scorso·discuss
I think it is possible to create a version with 0 heap allocation, try to open an issue with this feature request, we can see how to that togheter
zigrazor
·anno scorso·discuss
please someone open an Issue on the repo(https://github.com/ZigRazor/CXXStateTree/issues), to substitute the #pragma once with the more classic include guards with the motivation explained in the comment. Thank you
zigrazor
·anno scorso·discuss
I want to create a python binding with PyBind11 and create a simple interface with a very good performance for Embedded systems
zigrazor
·anno scorso·discuss
You can open an Issue on that on the repo (https://github.com/ZigRazor/CXXStateTree/issues) so we can track these changes.

Another idea is to create a Python binding with a release of a package
zigrazor
·anno scorso·discuss
yes, it means "zero allocations after state tree building". Thank you for the suggestions, I think we could separate target with compilation switch. If you want you can open an issue on the repo. Thank you so much