Hi, I known port twister to python is a big, big project, but we can do it step by step.
What is good for python version twister:
1. Easy to port to any platform
python is more easy to port to any platform.
2. Easy to maintain and add function.
Python is more productivity, more libraries available.
more people use python, more people can help.
3. performance
Python 3.4 support async IO, which is important for network operation.
The hot point is SHA/Crypt and IO.
Python control the logic only .
Any hot point can use C implement module.
4. Open source
no compile, easy to check code.
no back door promise.
Which is import for an anonymous project.
How to do it Step by step:
1. first, setup a python client side, improve the user experience.
because client can work in background, so we can do:
a. new user can register fast( register can work in background)
new user can post message before really registered to network.
background can post it after really registered, nor give fail notify.
b. new message display, better experience like twitter.
client can remember which message have read, which is new. and display clearly.
2. add file attachment support with python-libtorrent
python is more easy to program with.
file attachment can work like normal bit-torrent.
Twister message just give the .torrent content;
Then DHT network act as the tracker.
3. replace twister build-in bittorrent logic with python
python can work with twisterd with RPC api
4. replace dht/bitcoin network step-by-step,
Every step we can get a better version twister, We can stop moving anytime.
We can setup pure python light weight client, with public server support.
like the idea to create a Chrome plugin.
We can create Android and IOS client with Kivy( a python + OpenGL mobile framework SDK, open-source)
Python can help us move more fast.
Any idea?
Hope some feed back.
Thank you.
Micheal.X