[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: State of kdefx
From: Matthew Woehlke <mw_triad () users ! sourceforge ! net>
Date: 2007-07-30 22:13:58
Message-ID: f8lnr6$nkc$1 () sea ! gmane ! org
[Download RAW message or body]
Thiago Macieira wrote:
> You can only use the new binary- and source-compatible API outside the
> module it's defined on the Monday after it was added.
>
> But since kdefx and solid are both in the same module, you can make use of
> it immediately.
Except that it is more Krita that needs this :-).
Also I don't think kdefx currently depends on Solid (on anything, in
fact, recall that originally it was not kdeui because it was required to
not depend on kdeui). I think we will be able to change this now, but
it's something to keep in mind.
> Can't this information be gleaned from /proc/cpuinfo on Linux systems?
People have been begging coreutils ('uname') for years to support -p via
/proc/cpuinfo and it hasn't happened yet. I'd have to suspect there's a
reason for that... Anyway the kdefx way is inline asm to ask the
processor directly, which seems safe (and to be honest, much, much
easier than parsing /proc/cpuinfo. Oh and it it 100% OS-portable :-),
although not compiler-portable :-(. (But I can write ASM for gcc, MS and
Solaris, I've done it before.)
--
Matthew
"...anyway, that's my 0.02 toasters"
(with apologies to Niel)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic