Idea: Emscripten > Javascript
X4 opened this issue · 2 comments
Hi,
I see a lot of potential in TeleHash, if you could make it work within the browser too.
I've seen video-/audio-codecs, game-engines, operating-systems and a lot of other stuff getting converted to javascript. So converting to javascript should not be impossible and not too hard, although admittedly also not easy at all. The main problem would be to slim TeleHash down to the bare essentials.
I think using Websockets, Webworkers, Localstorage andIndexDB as architecture and Matrix3D() for speeding up DHT calculations would be perfect. Binary TeleHash would need an update to prefer browserTeleHashes, because they're less reliable.
What do you think?
This is actually in progress! https://github.com/quartzjer/thjs
It's early yet, a lot of proof-of-concept code in there, but I expect it'll be one of the main implementations soon here :)
wow, thanks for the link!