![]() |
#1 |
Banned
![]() Posts: 154
Karma: 70
Join Date: Nov 2010
Device: PB 903
|
More Speed with QT?
Edited
Last edited by cipri; 04-05-2011 at 10:07 AM. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,357
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Uhhhh.... Qt is a graphics toolkit, not a programming language.
What language are you suggesting be used for the logic (database code, device interfaces, content server, etc)? Because you mention HAIKU, it is probably C++. Rewriting calibre in C++ would be a multi-person-year effort. In the end, we would have something that might or might not be appreciably faster, but *would* be harder to maintain, harder to develop, and harder to debug. Hard to see why this would be a good thing, but perhaps I am confused. ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,453
Karma: 203840626
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
![]() Being able to run Calibre from source is one of the biggest advantages that the newbie developer has at their disposal. You can literally be hacking and prodding within minutes. ![]() Plus, the option to port a "Speedy C" version of Calibre is available to anyone who feels motivated in that regard. |
|
![]() |
![]() |
![]() |
#4 |
Banned
![]() Posts: 154
Karma: 70
Join Date: Nov 2010
Device: PB 903
|
Edited
Last edited by cipri; 04-05-2011 at 10:08 AM. |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,240
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
IMNSHO if calibre were in C/C++ it would be about 1/10th as capable as it is now, it would develop at 1/10 the speed and most probably I would have moved on to doing other things by now.
That said, if you want to improve the speed of calibre, do some profiling, find the bottlenecks. Once you do, it is always possible to write C extensions to speed them up. calibre currently has about half a dozen extensions written in C to speed up certain operations. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,240
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Sigh, yet another silly loop speed test. These are completely irrelevant to real world application performance.
[QUOTE=cipri;1240208] Quote:
|
|
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,357
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
If you want to do such a port, go for it. However, better would be to do as Kovid suggested: find bottlenecks and either report or (preferable) fix them. Some users have done similar things and helped improve performance by large factors. The latest one was demonstrating that file system performance on some systems is terrible, and that huge benefits could be obtained by caching results of the cover existence test (a file_exists test) in the DB. |
|
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 13
Karma: 10
Join Date: Oct 2010
Device: iPad
|
Hi
C/C++ will always be faster and i know depends on the programmer too but lets assume a good programer. This is the reason we write games and OS's in these languages, performance. They have two major drawbacks, heavily typed and hard to debug. Maybe would be good to make some improvements but sometime rewrite is not the best option. I think the major step would be the use of a JIT like pypy, this would keep the easiness of coding with the performance of a compiled language. My 2 cents |
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Wow. I wonder what all the people creating these threads would've said if they'd experienced Calibre before the drastic speedups of recent versions...
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reading speed | tsantsa | News | 27 | 03-01-2010 02:38 PM |
Speed Optimizations? | SpiritualMadMan | Calibre | 10 | 12-24-2009 11:56 AM |
Speed reading? | Gatton | Lounge | 34 | 09-05-2009 11:14 AM |
At what speed do you read? | Colt | Lounge | 48 | 05-26-2008 07:44 AM |
Speed | splat | iRex | 4 | 01-05-2007 11:03 AM |