Replies: 1 comment
-
Really we have insufficient data here. I suspect that there is no-one here who is fluent in webassembley or emscripten, except for perhaps you. Perhaps you could give us a better understanding of why running bgp in a browser is desired here? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a requirement to run FFRouting's bgpd module in WebAssembly runtime (of a web browser): https://webassembly.org/ . A possible way is using Emscripten (https://emscripten.org/) to compile the existing source code into WASM. For network communitications like listening to TCP 179 port, we can use browser's WebSocket to mimic it.
A difficulty is how to make the bgpd module build and run normally in WASM. And another issue is that all the C dependencies that bgpd used such as libyang, etc. They are mostly non-trivial C projects which also needs a lot of work to be ported to WASM.
So Is it possible to port FRR's bgpd to WASM? If yes, how many efforts would it take from your angle of view? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions