Author

Topic: treasure hunt (Read 282 times)

newbie
Activity: 26
Merit: 0
June 12, 2021, 04:45:41 AM
#12
I doubt people will convert your code to C+/Rust for free, so i suggest you check these options,
1. Use PyPy (https://www.pypy.org) which improve your code performance without change single line of your code.
2. Use another compiler such as Numba (https://numba.pydata.org/). I never tried Numba though since you need to modify your code and read the documentation.

PYPY, I've already tried the performance drops or is the same
Numba, does not have time to accelerate, and therefore the performance drops.
there is no way out yet.
only GPU left or C ++ insert
copper member
Activity: 76
Merit: 52
June 08, 2021, 06:24:23 AM
#11
Hey OP

Check your DM's
newbie
Activity: 26
Merit: 0
June 05, 2021, 03:07:50 PM
#10
help translate my c ++ code or RUST
this will increase productivity.
newbie
Activity: 26
Merit: 0
June 05, 2021, 11:20:09 AM
#9
Before you proceed further, you should delete your mail credentials on your code. I suggest you move it to the .env file, and change your current one, assuming you unintentionally put your real password.

Deleting lines and pushing the changes doesn't completely delete them, because they are still accessible in older commits.

You should make a copy of all the repo's files (except for .git/ folder), and then force-push it to the remote which will delete the entire commit history like this:

Code:
git init
git remote add origin https://github.com/Noname400/mnemonic-colider
git add *
git commit -m "commit message"
git push origin main --force

I have my own mail server.
already changed passwords.
thanks for the help.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
June 05, 2021, 09:43:39 AM
#8
Before you proceed further, you should delete your mail credentials on your code. I suggest you move it to the .env file, and change your current one, assuming you unintentionally put your real password.

Deleting lines and pushing the changes doesn't completely delete them, because they are still accessible in older commits.

You should make a copy of all the repo's files (except for .git/ folder), and then force-push it to the remote which will delete the entire commit history like this:

Code:
git init
git remote add origin https://github.com/Noname400/mnemonic-colider
git add *
git commit -m "commit message"
git push origin main --force
newbie
Activity: 26
Merit: 0
June 05, 2021, 05:19:13 AM
#7
I can't read your README since it's all in Russian but for starters you could add Cython to your python project, write your python files in that syntax and then compile them down into a C++ library, with a simple entry point, something like a main() function. Then dynamically load it from a small, simple, C++ program.

I am very bad at working with C ++
I can't even imagine where to start.

Well for starters, numpy is written using Cython and only uses a really basic amount of C language. So you can start by reading Cython's tutorials: https://cython.readthedocs.io/en/latest/src/tutorial/index.html.

But if you don't know much C++ then if you wanna port programs to it you're going to have to at least learn C, the subset of C++. Raw C is slightly faster than using C++'s std library anyway and only has a few syntax/library functions you need to learn, the higher-level functions you might need can be swiped from Github and Stack Overflow.

Thank you. I will consider.
Live and learn
newbie
Activity: 26
Merit: 0
June 05, 2021, 05:11:02 AM
#6
Before you proceed further, you should delete your mail credentials on your code. I suggest you move it to the .env file, and change your current one, assuming you unintentionally put your real password.

Thank you. really forgot.
legendary
Activity: 1932
Merit: 1273
June 05, 2021, 03:13:11 AM
#5
Before you proceed further, you should delete your mail credentials on your code. I suggest you move it to the .env file, and change your current one, assuming you unintentionally put your real password.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
June 05, 2021, 02:56:12 AM
#4
I can't read your README since it's all in Russian but for starters you could add Cython to your python project, write your python files in that syntax and then compile them down into a C++ library, with a simple entry point, something like a main() function. Then dynamically load it from a small, simple, C++ program.

I am very bad at working with C ++
I can't even imagine where to start.

Well for starters, numpy is written using Cython and only uses a really basic amount of C language. So you can start by reading Cython's tutorials: https://cython.readthedocs.io/en/latest/src/tutorial/index.html.

But if you don't know much C++ then if you wanna port programs to it you're going to have to at least learn C, the subset of C++. Raw C is slightly faster than using C++'s std library anyway and only has a few syntax/library functions you need to learn, the higher-level functions you might need can be swiped from Github and Stack Overflow.
newbie
Activity: 26
Merit: 0
June 05, 2021, 01:17:08 AM
#3
I can't read your README since it's all in Russian but for starters you could add Cython to your python project, write your python files in that syntax and then compile them down into a C++ library, with a simple entry point, something like a main() function. Then dynamically load it from a small, simple, C++ program.

I am very bad at working with C ++
I can't even imagine where to start.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
June 04, 2021, 01:20:14 PM
#2
I can't read your README since it's all in Russian but for starters you could add Cython to your python project, write your python files in that syntax and then compile them down into a C++ library, with a simple entry point, something like a main() function. Then dynamically load it from a small, simple, C++ program.
newbie
Activity: 26
Merit: 0
June 04, 2021, 12:45:33 PM
#1
I wrote a small program for finding treasures. (https://github.com/Noname400/mnemonic-colider)
but it is very slow ...
can someone tell me how to port it to C ++
Jump to: