One great benefit that this websocket server can have over a python based on is the ability to run it as a component node in the same process as other c++ nodes to help share memory for ROS messages. So to get the best benefits of using c++ over python, consider exposing the node as a component. See https://docs.ros.org/en/humble/Concepts/About-Composition.html
Hi @v-kiniv
One great benefit that this websocket server can have over a python based on is the ability to run it as a component node in the same process as other c++ nodes to help share memory for ROS messages. So to get the best benefits of using c++ over python, consider exposing the node as a component. See https://docs.ros.org/en/humble/Concepts/About-Composition.html