Better HN
topnewbestaskshowjobs
Log inSign up

zigrazor

46 karma · joined Jul 5, 2021 (5y ago) · 136 submissions

I'm a software engineer.
Submissions

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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

comment 1y ago · link · parent

I want to create a python binding with PyBind11 and create a simple interface with a very good performance for Embedded systems

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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

8.

Show HN: CXXStateTree – A modern C++ library for hierarchical state machines(github.com ↗)

48 points · by zigrazor · 1y ago · 36 comments

comment 1y ago · link · parent

Graphs are a powerful tool used in computer science to model relationships between entities. Whether you’re building a navigation app, simulating networks, or designing AI systems, understanding how to work with graphs efficiently is a key skill — and at the heart of many of these systems lies Dijkstra’s Algorithm, a cornerstone for solving the shortest path problem.

10.

Mastering Dijkstra's Algorithm in C++ with CXXGraph(medium.com ↗)

3 points · by zigrazor · 1y ago · 1 comment

comment 1y ago · link · parent

A fast, zero-dependency C++ library for graph algorithms — built for developers, educators, and enthusiasts.

12.

CXXGraph: A Lightweight, Header-Only Graph Library for Modern C++(medium.com ↗)

3 points · by zigrazor · 1y ago · 3 comments

12345