Readit News logoReadit News
zigrazor commented on     · Posted by u/zigrazor
zigrazor · 4 months ago
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 commented on     · Posted by u/zigrazor
zigrazor · 4 months ago
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 commented on Show HN: CXXStateTree – A modern C++ library for hierarchical state machines   github.com/ZigRazor/CXXSt... · Posted by u/zigrazor
rpaddock · 8 months ago
In some Embedded areas where safety is of high concern following the Motor Industry Software Reliability Association (MISRA) guidelines is a requirement.

There may be no heap at all and memory must be pre-allocated at system initialization. Otherwise CXXStateTree sounds like it could be very useful in my Embedded devices, which rarely have enough Flash or RAM space, which is the nature of the work.

https://misra.org.uk

zigrazor · 8 months ago
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 commented on Show HN: CXXStateTree – A modern C++ library for hierarchical state machines   github.com/ZigRazor/CXXSt... · Posted by u/zigrazor
dgan · 8 months ago
i am by no means a C++ expert, but isn't "pragma once" frowned upon?
zigrazor · 8 months ago
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 commented on Show HN: CXXStateTree – A modern C++ library for hierarchical state machines   github.com/ZigRazor/CXXSt... · Posted by u/zigrazor
baymotion · 8 months ago
Related idea for those using python: https://github.com/baymotion/smax.
zigrazor · 8 months ago
I want to create a python binding with PyBind11 and create a simple interface with a very good performance for Embedded systems

u/zigrazor

KarmaCake day46July 5, 2021
About
I'm a software engineer.
View Original