Kernel Cousin KDE #17

KC KDE is back this week with a double issue spanning the last 14 days. Read about video embedding in Konqi, KOffice news and plans, a new proxy configuration GUI (complete with screenshots), and much more. Thanks, Aaron.

Dot Categories: 

Comments

by Thorsten Schnebeck (not verified)

One addition about the "PrtScr" topic:

KWord (CVS) can handle this very well. Just press , change to KWord and do "edit->paste" ( +v )

Very nice if you want to write KDE-reviews ;-)

Bye

Thorsten

by Karl Garrison (not verified)

One interesting thread on kde-core-devel that wasn't covered in this issue (presumably because the topic is still being debated) is whether the next KDE release should be based on the current Qt (KDE 2.3) or be based on the new Qt 3.0 (KDE 3.0).

Qt 3.0 is still in beta, but it would very likely be complete before KDE 3.0 would be ready.

http://lists.kde.org/?t=99502854200004&w=2&r=1&n=53

-Karl

by Aaron J. Seigo (not verified)

not only is it still being debated, but it started after the deadline for a thread making it into that week's KC KDE.

that said, it is already slated to be covered in issue #18.

by Carbon (not verified)

Perhaps, the KDE developers might want to wait for QT 3.0.1 or somesuch before beginning the porting process for KDE 3. This way we'll be able to work around any post-last-minute changes in the way QT works.

by lanbo (not verified)

And what about the new gcc version?
Has anybody tried to compile KDE against gcc 3 and experienced some speed improvements?
I'd really like to see a FAST FAST FAST KDE!
KDE rocks!

by ac (not verified)

It currently cannot compile everything
I think aRts or something like that doenst compile
People are working on it

by gnu128 (not verified)

i compiled qt and kde 2.2beta1 with gcc-3.0 using the -O3 switch. but it is not much faster! the main problem is still the linker and not the compiler!

by lanbo (not verified)

By the way: is it gcc a good compiler?
Has anybody tried another one?
I'm a complete ignorant in this subject. Just curious about that.

by Ups (not verified)

Gcc is a good compiler but rather slow when it comes to compile C++ code. It just my opinion.

by Marco Krohn (not verified)

> By the way: is it gcc a good compiler?

depends on what you define as "good" compiler:

supports a wide range of platforms: yes
can be used as crosscompiler: yes
compiles fast: no
created executable is fast: no

(all this IMHO of course)

> Has anybody tried another one?

I am afraid there is no other one :-(
As far as I know Intel is working on an optimized compiler (means a compiler which produces very good (read: fast) executables). This compiler is not yet ready but if it is (if i remember correctly it will not take them much more time) KDE shoule profit from that.

> I'm a complete ignorant in this subject.

No problem. Hope the above helps a bit.

by Felix E. Klee (not verified)

As far as I know KAI C++ is probably the best compiler in terms of optimizations (produces much faster code than gcc or eg. MS Visual C++) and it is available for LINUX (you can get a demo from http://www.kai.com).

by Carlos Rodrigues (not verified)

> compiles fast: no

True for C++.

> created executable is fast: no

Not true.

by blandry (not verified)

>>> > created executable is fast: no
>>> Not true.

Umm, the original poster didn't state that very well; "fast" is a subjective term. Now it is certainly true that there are certain platform/compiler/program combinations where the native compiler will spew faster code than gcc. In some cases "noticeably" faster. (the opposite is true as well, I'm sure)

One thing anybody (I think) forgot to mention was standards compliance. gcc 3 is about as compliant as you can get. Many other compilers are just out-of-date, and some well-known ones purposefully won't fix their behavior because it would break the programs they compile.

I believe mozilla's coding standards are a good example of the hoops they have to jump through to get it to build on all the compilers out there.

by Loranga (not verified)

I run KDE compiled with gcc on a Solaris/Sparc machine. Why can't I use the Sun compilers instead of gcc?

by reihal (not verified)

Anyone who knows something about Intels compiler?

by Aaron J. Seigo (not verified)

Source compatibility is kept between all versions of Qt within a give major (e.g. 1.x, 2.x or 3.x). So porting to 3.0 won't leave anything broken in the face of 3.0.1, and a 3.0.1 would most likely simply be bugfixes within Qt and not an actual functionality upgrade/change.

Qt will be (already is?) frozen before the 3.0 release, so writing for 3.0 even before it is released will be safe. There shouldn't be any major changes this late in the game that would give pause to using it.

by Ross Baker (not verified)

Hey, why not keep it simple? Release KDE 3.0 earlier that it was planned. Let it use whatever version of QT 3.x is ripe at the time. Compile it with GCC 3.x and updated gnu libraries. I would suggest that in tandem a new linker be developed and used. After KWord gets up to speed, so to speak, KDE's next frontier will be SPEED. We have seen from earlier analysis that problems with subclassing and the current linker add time and bloat to the code. I suggest that KDE 3.0 is the time to attack it. I said release 3.0 earlier than planned, because I assume that the developers probably have more grandiose plans than these -- but I don't know.

Any comments?

by Aaron J. Seigo (not verified)

gcc and the gnu linker are not part of the KDE project, though the experiences from the KDE project using them have provided lots of positive feedback to those who work on those tools. gcc3 can already compile most of kde2, though some parts break (e.g. aRts). distros probably won't be shipping a gcc3 based OS until next year, anyways...

the big issue seems to surround the life-span (or lack thereof) of kde2. it hasn't been out that long, due to the time it took to go from 1.x to 2.x and now there is discussion of moving on to KDE3.x which will break binary and (to a small extent) source, compatibility. much of the current debate centers around this point, since an earlier KDE3 makes for a fairly short KDE2 but a potentially long lived KDE3, while a later KDE3 extends the life of KDE2 but shortens KDE3's.

by Ross Baker (not verified)

Yes, I understand. All I'm suggesting is that all the binary and source incompatibilities be bunched together synchronous with KDE 3.0. I see too many breakpoints coming up -- Qt 3.x, KDE 3.0, GCC 3.x, compatible gnu libraries for GCC 3.x, and the very important gnu linker efficiency deficiencies. I would suggest bringing out KDE 3.0 when each and every one of these can be addressed simultaneously. I know that there is not one group controlling this, but some sort of co-operation could reap huge dividends in ease of transition! I think the KDE folk ought to get involved with the linker folk. For one thing, the GNOME people don't care about the outcome nearly so much as the KDEers -- they use C not C++. The linker inefficiency is possibly even a BENEFIT to their project since it is an impediment to KDE. I am not against the GNOME project, but I prefer KDE.

by dc (not verified)

I don't think so. Most of the GNOME developers don't care which projects becomes the "winner" of the desktop war (the desktop war doesn't exists anyway: it's made up by trolls with too much spare time).
They just want the best desktop environment in their vision and goal.

by me (not verified)

Well... they better start coding for kde then.
(Sorry... couldn't resist :7)

by lanbo (not verified)

In this linux world nobody cares about binary compatibility.
In windows everybody would complain but here you ugrade everything with some CD from a magazine and that's all. This is what I think.
And the next thing to do is (as everybody agrees( the speed.
Come on KDE!

by Carg (not verified)

i think you're wrong.

eg: redhat gives 18 months of BC (x.0 - x.2). also, in the current redhat release you'll find libraries to run apps back from redhat 5.x.

by ac (not verified)

I dont think this( 5.x binary compatibility ) counts in C++ apps since the ABI has changed since 8.0, and will change again as soon as gcc3.0 comes ( 3.1 again? ).

BC does play a role for closed source apps, which some hope, think, whish (etc) are necessary for linux and KDE.

While I think that KDE is really good, I wonder if the developers really think that its perfect.

Is a simple QT3 port really enough for 3.0?
Isnt there any idea out there which would require major architectural changes, but which is really worth implementing?
Shouldnt they all be put together for a weekend, and have a brainstorm session about features which should be new in KDE3 and which would bring us, and them something revolutionary ( like the kparts for 2.0 )

What about .net. It may be hype, but can KDE collaborate with .net applications?
What about a logging function for all aplications, which builds a aoutomatic working diary.
Or a scripting function, etc.

I am sure, there are other things out there, and I would be amazed, if the KDE framework wouldnt have to be changed a little bit.

The step to KDE3 sould be made thoughtfull, but then giving advice from outside is always cheap.

by Rüdiger Klaehn (not verified)

They should try to develop a platform-independent binary format.

Wether they just use the .NET runtime on linux or develop an independent bytecode is not that important. But if a .NET runtime becomes available with an acceptable license I see no harm in using it. Especially since C# is in some ways very similar to the beefed up C++ with moc that KDE uses.

Another nice thing would be the option to use KDE without X. I know that many people use the networking features of X, but I don't, and having out of process frame buffer access like in X is a huge performance hog in a local setup.

by Charles Samuels (not verified)

Oh hell.

We develop a Desktop Environment, not an operating system. If you want a platform independent binary format, consider using java, or consider even porting Qt/KDE to another platform and using our javaqt and javakde bindings instead of Swing. All we want to do is make a desktop environment!

by dc (not verified)

[OFFTOPIC]
What is BC anyway? When I compile gnome-libs, configure checks for BC and always says that it isn't installed. Then it tells you that BC is included in UNIX by default for centuries now and that you should tell your distributor to wake up and include it. ;-)
[/OFFTOPIC]

by Corba the Geek (not verified)

In the conversation above, "BC" is "Binary Compatibility".

The "bc" that UNIX has had for centuries is "bc - and arbitrary precision calculator language".

In other words it is a command line calculator. See also "dc" - which is similar but uses Reverse Polish Notation (RPN).

I suppose you could say that "UNIX has had bc since about 1 BC but that has nothing to do with BC" which would really clarify things.

Hope that helps ;-).

by Aaron J. Seigo (not verified)

i perhaps should've put more emphasis on the source compatibility side of things. some KDE developers are worried that introducing source incompatibility so quickly ater 2.x might discourage application developers.

personnaly, i'm all for a quick KDE3 which will extend its potential life as well as allow the KDE team to fix/correct/change some things that simply can't be done in a binary and source compatible way.

by Daniel (not verified)

I think the coders have to work on this:

http://www.suse.de/~bastian/Export/linking.txt

the problem is the dinamic linker, but this is not job for the KDE team.

by Carlos Rodrigues (not verified)

Nothing prevents some of the KDE people to contribute to the dynamic linker, especially if that helps KDE.

by Asif Ali Rizwaan (not verified)

I just Miss a KDE based VCD player; ZZplayer seems to have died and noatun, kaiman, aktion, etc., don't even care for VCD playing capability.

Why is it that KDE doesn't include a VCD player in in KDEMultimedia Package? Using Xine and ZZplayer sources it could be created within a week by any hardcore KDE programmer/Developer ;)

Hope I could see a VCD playing application in KDEMultimedia package in KDE 2.2. (optimistic:)

by Per Wigren (not verified)

Start with mplayer and ffmpeg sources and add a KDE-gui similar (but better) to MS Mediaplayer 6.4!
Then we would have a great videoplayer with support for AVI, ASF, MPG, WMV with almost every codec there is! ffmpeg is a GPL C-reimplementation of DivX;-), Intel Indeo 5 and many other codecs, so now even us non-x86ers (I'm an Alphaian:) can watch our daily dose of pornclips... :-) mplayer uses Windows-DLLs to decode the videos and is much more stable than aviplay (avifile also contains videoediting and other stuff though).

There is a lot of working code out there that is just waiting to get a nice KDE-GUI!

by Per Wigren (not verified)

Parent was supposed to be a reply to "KDE doesn't have a VCD player for its users :(", but what the heck..

by ben obrien (not verified)

good