Create cross-platform binary/script
amaury1093 opened this issue · 3 comments
Right now this is only a script, which only works on *nix systems. It'd be wise to rewrite this in another language, which can be run on different platforms.
What do you mean by binary exactly? 🤔 Is a python port of this script good enough?
And… rewrite in another language would be another project. Or you want to add another implementation next to the current one in the same repo?
Right, a python port would definitely work, I changed the title.
I wish to improve on this implementation. One improvement would be to parallelize the telnet calls so that it resolves faster, afaik bash doesn't support threads. Another improvement would be for it to work on all platforms.
We can keep the bash version in another folder in the same repo (if people want that), but I think the main program should be rewritten in a more advanced language.
I actually started writing a Rust port on the am-rust
branch, but if you're interested in writing a python version I'd be happy to drop my branch and accept yours.
Actually, I don't how how much free time I've got right now. If I write any script, I'll tell you.