-
sech1
selsta reviewed
-
afungible[m]
moneromooo: I've heard talks ongoing here & there about possibility to migrate Monero from C++ to Rust.
-
afungible[m]
Are these just talks, or is there a dev roadmap for it? I'm married to C++, so some clarity on this would help.
-
selsta
afungible[m]: there are no plans for this currently
-
selsta
it seems other projects have implemented some specific parts of the cryptography in rust, that might happen in the future, e.g. i know that kayabanerve[m] would like that
-
selsta
but there are no plans for it currently and a full migration of the codebase is unlikely
-
selsta
.merges
-
xmr-pr
8534 8538 8547 8548 8551
-
selsta
.merge+ 8555 8513 8553 8554 8552 8519
-
xmr-pr
Added
-
afungible[m]
<selsta> "but there are no plans for it..." <- Thanks selsta: does this mean part migration Monero core to Rust is possible, while rest remains in C++? I thought it ideally should be either one or the other. I am aware that kayabanerve @kayabanerve:matrix.orghas some work done with Rust.
-
kayabanerve[m]
It's not even a current possibility
-
kayabanerve[m]
It's solely an interest of some members as an alternative, not a replacement
-
kayabanerve[m]
I rebuilt tx creation and all the cryptography underpinning it
-
kayabanerve[m]
It's suitable for verification as well as per dangerousfreedom @dangerousfreedom:libera.chat: 's work
-
afungible[m]
Clear. Thanks kayabanerve, and good work.
-
MeowingCat
i have some issues
-
MeowingCat
im building Monero to ARM Android
-
MeowingCat
and linking to my dynamic library
-
MeowingCat
but should i use the same NDK version with Monero?
-
MeowingCat
error: dlopen failed: cannot locate symbol "_ZN5boost15program_options3argE" referenced by ...
-
MeowingCat
im getting this error on Android
-
kayabanerve[m]
To be clear, the interest is in a Rust alternative. Only one person advocated for a hybrid approach and no one else endorsed it
-
MeowingCat
:(((((((((((((((((((((((((
-
selsta
MeowingCat: try to look at home other monero wallets do it, or for example at the monero-gui android docker file
github.com/monero-project/monero-gui/blob/master/Dockerfile.android
-
selsta
also do you use the same boost version everywhere?
-
MeowingCat
i don't use Boost but Monero uses
-
selsta
is seems there is a boost version mismatch
-
MeowingCat
gitian-build.py is making me crazy
-
MeowingCat
:(((((((((((((
-
MeowingCat
i remember i built Monero to Android with running gitian-build.py on Ubuntu 18.04 in Docker
-
MeowingCat
butttttt now it decided not to work :((((((((((((
-
MeowingCat
./gitian-build.py -o android --detach-sign --no-commit --build rohanrhu 727bc5b6878170332bf2d838f2c60d1c8dc685c
-
MeowingCat
im doing this
-
MeowingCat
what can be wrong?
-
selsta
you have to post the error
-
selsta
we can gitian / depends on every commit and it builds fine
-
selsta
we run*
-
hyc
there's no --docker switch on that invocation, for one
-
moneromooo
selsta: fwiw, I spent a little bit hunting a leak, only to find it was fixed upstream in randomx. Helps fix "make test" when using asan, which barfs on leaks.
-
moneromooo
Arguably not really .1 material, but hey, might as well mention it :)
-
selsta
which commit exactly?
-
moneromooo
166e0d80f56b7ac1a44ce07a5701b22208fdf840
-
selsta
did you test the latest monero master / release branch?
-
moneromooo
I did not. Should I ?
-
selsta
no i mean we have it already fixed
-
moneromooo
Oh really. Nice :D
-
selsta
our submodule points to latest randomx masrter
-
moneromooo
I had debugged this a few weeks back after merging the latest monero on TF. All good then.