4 ms·
> µTorrent is written in C++, and you could never, ever, make it so fast and small using any other language. That is not a reasonable claim. The article menti
by wyager 12y ago
> µTorrent is written in C++, and you could never, ever, make it so fast and small using any other language.
That is not a reasonable claim.
The article mentions C, but there are a number of languages that could ostensibly produce a binary of a similar size and efficiency. Rust comes to mind.
- pdpi 12y agoRust was announced in 2010, post is from 2009.
- quonn 12y agoTrue, but at the time of writing, Rust was not available, yet. Can you think of another language? Much of the excitement for Rust comes because it really is the first language that tries to beat C++ (and C) at it's own game.
- pjmlp 12y agoDelphi, Modula-2, Oberon, Component Pascal? All strong in the 90's, sadly the market went somewhere else. Only Ada seems to survive, but in its own area, high integrity computing.
- geoelectric 12y agoTo be fair, Delphi was pretty hard to get down to that kind of compactness because of dragging in the VCL as a baseline. You could technically program without it in standard event loop, but then the code would have been unfamiliar enough to other Delphi developers to perpetuate some of the same issues.
- pjmlp 12y agoWhy unfamiliar? It is how we coded in Turbo Pascal for Windows. Not everyone was using OWL all the time.
- geoelectric 12y agoDelphi picked up more people from VB and Powerbuilder than it did from TPW, I think. I got my professional start using Delphi, but never got the impression that many of my colleagues knew TPW well. Of the ones that didn't come from a database or 4GL background, most of us had used BCW for Windows coding and then switched back to Pascal when it became commercially viable to get a job in it. Borland Pascal didn't exactly have a ton of play in 1995. So it's true that they would've understood basic Petzold-style loops, but it would've been a bit surprising in Delphi. Later, most of the people I knew using Delphi didn't know bare Windows programming at all, since MFC had fully taken hold for people from that background. I was also under the impression that OWL was quite dominant, but I admit that I only passed through it briefly between Turbo Vision and VCL. Still, good point!
- amyjess 12y agoD, too, and while it survived, it seems to have been ignored. And I think you mean Modula-3, not Modula-2. It's kind of a shame. I'm a huge fan of languages like D, Modula-3, and Delphi, and I'm really disappointed they never took off.
- pjmlp 12y agoNo, really Modula-2. Modula-3 was hardly used outside DEC, while Modula-2 had big use in Europe.
- deeviant 12y agoYes, without C++, µTorrent could never have packed so many annoying "meet random super models and have sex!" ads into the ap. It just would have been impossible with something like java.
- flamedoge 12y agoThis calls for science!