x
Software Development for Shared Instances
Started by adept f9f74be5051b4903... ·
You could just make a rust port, where all it does is call the python impl with the rust code only acting as a glue or binding layer to the python api. It would be the easiest thing to do plus you'd get 100% parity by default. And unless you are doing some truly disgusting things on the network, it'd be fast enough.
If that's actually a useful or good idea I'll leave as an exercise to the reader but I do think it would, at the very least, be ironic given the prns situation.
x
adept: I've started on a small Rust version of rns, but it's not ready yet. There is still a lot to do.
So far, I have a config parser implemented using serde and serini, structs/traits for interfaces, packets and transport. I was going for a roughly 1:1 implementation of Python rns
I was also considering developing my applications with pyo3 instead, before diving into making a Rust implementation. At the very least, using pyo3 would be a good idea for testing a Rust implementation.
Can I send you what I have over rngit? If you want I'll host the repository and send the destination.
x
adept: I've been setting up rngit and having a lot of fun doing so. I'll send the destination when it's up, thank you for your patience
x
My node is up now: 0ff996e06ed8297fb199ed95e706d540:/page/repo.muʼg=h|r=reticulum_rs
The config parsing works and is mostly complete, but a few entries do not get parsed into the correct types yet. The rest of the code is mostly a skeleton. I've implemented some small bits and pieces.
anon wrote:
You could just make a rust port, where all it does is call the python impl with the rust code only acting as a glue or binding layer to the python api. It would be the easiest thing to do plus you'd get 100% parity by default. And unless you are doing some truly disgusting things on the network, it'd be fast enough.
If that's actually a useful or good idea I'll leave as an exercise to the reader but I do think it would, at the very least, be ironic given the prns situation.
I haven't touched or updated it in a while, but I did actually write a small rust -> python rns wrapper using PyO3: https://codeberg.org/kujeger/reticulum-pyrs
Might be of some use!
e: for something that uses it, there's this (also not updated in a while, heh): https://codeberg.org/kujeger/retichat
x
x
x