Thanks to the swig project, we’ve been able to create a full blown Java wrapping API for the C++ libtorrent library*, we’ve called it frostwire-jlibtorrent.
This means that now, the power of libtorrent is now accesible to millions of Java programmers around the world who wish to harness decentralized file sharing for any kind of BitTorrent client or enterprise deployment using BitTorrent and Java without the hassle of dealing with JNI or JNA frameworks themselves.
We’ve made sure not to alienate any developers from using frostwire-jlibtorrent in their projects by licensing the source code under The MIT License.
We hope the enterprise world can make use of these libraries, specially for large scale cloud deployments via BitTorrent that may require complex and rich logic tied to existing Java code bases.
We make this announcement as we’re close to finishing the next generation of FrostWire, FrostWire 6. frostwire-jlibtorrent is still under development, and it will continue to be actively developed as the libtorrent team (a very active team) continues to release updates and as we keep updating and enhancing the FrostWire BitTorrent client.
As we develop the new FrostWire 6, switching to frostwire-jlibtorrent as our BitTorrent engine has resulted in incredible performance upgrades which have translated into almost instant download start times, faster downloads, CPU usage reductions of up to 80% when actively downloading torrents, faster DHT magnet torrent info fetching, faster deep torrent search, decreased use of threads and memory, and incredibly faster app shutdown times. We can’t wait to finish FrostWire 6 for you to give frostwire-jlibtorrent a spin.
libtorrent coming to a language near you
By using swig, we’ve now opened the path for not just having java bindings for libtorrent, we’ll now be able to create bindings for other programming languages like Perl, PHP, Tcl, Ruby, C#, Lua and Python**.
We’ll probably be making Python the next libtorrent wrapper as we’d like to bring the power of libtorrent’s DHT to other important open source projects, and we hope the Open source community will join us into porting this project to every language possible to further the use of BitTorrent as a decentralizing technology.
September 24, 2014
* frostwire-jlibtorrent is currently compatible with libtorrent-rasterbar-1.0.2.
** we are aware that libtorrent comes with python bindings already, but our wrappers, in our opinion will be more pleasurable to code with