News for hackers. Stuff that matters.
Re:Transmission torrent client ported to C++ by jupp0r on Sunday September 12, 2021 @04:42PM (#28504715)
Probably a bit. Monomorphization is expensive in terms of code size. On the other hand - why would you care for a couple of 100kb for a use case like transmission?
Re:Transmission torrent client ported to C++ by userbinator on Sunday September 12, 2021 @05:26PM (#28505136)
uTorrent, a whole torrent client I remember using many years ago, was only ~100k in total.
Re:Transmission torrent client ported to C++ by aeyes on Sunday September 12, 2021 @06:01PM (#28505439)
uTorrent is on the same page as Transmission before this change, it achieves its small size by not using the STL at all.
Re:Transmission torrent client ported to C++ by userbinator on Sunday September 12, 2021 @08:01PM (#28506359)
All sources I've found indicate that uTorrent was written in C++, but perhaps its author was a bit more mindful of unnecessary abstraction and the like.