3 ms·
> No one would (should!) ever consider writing a webservice in C++ I can think of one area where that is done (and where Rust might fit quite nicely): Bittorre
by ZoFreX 11y ago
> No one would (should!) ever consider writing a webservice in C++
I can think of one area where that is done (and where Rust might fit quite nicely): Bittorrent trackers!
- omginternets 11y agoThis surprises me; what's so special about bittorrent trackers?
- throwaway2048 11y agothey are extremely performance demanding (the actual tracker itself, what the clients communicate with), and use http. So much so that major trackers are constantly running into performance limitations. They often have to issue 1k+ requests per second.
- ZoFreX 11y agoTo add to what throwaway2048 said, as well as having high performance requirements, they're small and don't change much. You wouldn't want to write your typical CRUD app in Rust or C++ because developer speed is more important than application speed. But bittorrent trackers, while using http, are operating to a strict protocol, and are nowhere near as large (in terms of features and code size) or as fast changing as typical web apps.