Slashdot Mirror


Compiz Project Releases C++ Based v0.9.0

werfu writes "Compiz 0.9.0, the first release of Compiz rewritten in C++, has been announced on the Compiz mailing list. See the announcement for more info." Compiz has for years been one of my favorite ways to make Windows users envious, despite my (Linux) systems' otherwise low-end graphics capabilities. Besides the switch to C++ from C, this release "brings a whole new developer API, splits rendering into plugins, switches the buildsystem from automake to cmake and brings minor functionality improvements."

14 of 237 comments (clear)

  1. Wow! by Jugalator · · Score: 5, Funny

    I'm excited to learn about more software using this new programming language of the future!

    --
    Beware: In C++, your friends can see your privates!
    1. Re:Wow! by AnonymousClown · · Score: 4, Funny

      troll or idiot?

      People with preternatural foresight will often look like the idiot or a fool.

      I think the grand parent sees the potential of C++ and a bright future for this new and advanced language!

      --
      RIP America

      July 4, 1776 - September 11, 2001

  2. Summary Fail by drinkypoo · · Score: 5, Interesting

    The relevant words from the announcement are "complete rewrite". Or in simpler terms for the users, you do not want to run this until it reaches 0.10 (also as per the article.) This is a development and not stable release. (Sure would be nice if they would go 1.0 instead of .10 if it's going to be a stable release...)

    Here's the stuff from the announcement interesting to users:

    Rendering framework split into the composite and opengl plugins, the former
        making compiz a compositing window manager and the latter performing that
        compositing using OpenGL. Such a split will allow new rendering plugins such
        as XRender and Clutter to be developed as well as for compiz to run as a
        non-compositing window manager

    Added support to drag windows to edges and have them fill the adjacent side of
        the screen

    * Added support for automatic wallpaper rotation
    * Added edge support to grid plugin so windows can easily be resized by dragging
        to an edge or corner

    Everything else is of interest only to developers...

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  3. Re:favorite way by ZERO1ZERO · · Score: 5, Interesting

    Compiz doesn't actually use that much system resources, nor strain your hardware either. It uses your gfx card to do all the work, which otherwise would be doing 99% nothing in most other circumstances anyway.

  4. First release of merged branches by NewToNix · · Score: 4, Informative

    This is a first release after the reunification of the Compiz, Compiz++, NOMAD and Compiz Fusion branches. It's unstable, but at least it's good to see all the effort coming under the same roof again.

  5. So.. what is it? by bakuun · · Score: 4, Insightful

    It'd be nice if the summary contained at least a sentence describing what the software actually does.

    1. Re:So.. what is it? by christoofar · · Score: 4, Funny

      It sucks the paint off your house and gives you and your family a permanent orange afro.

  6. Re:favorite way by Rogerborg · · Score: 4, Interesting

    I use a variety of POSIX operating systems 95% of the time, at work through necessity, and at home through choice. And because I use them, rather than despite it, I am compelled to respond.

    Fewer viruses

    And drunken cheerleaders get date raped more than shut-in nerd chicks. Personally, I prefer nerd chicks, and you likely do too, but most people don't. Really, they don't, and there's no use telling them that their opinion is wrong.

    Lower cost of ownership

    If you don't value your time. For the latest of many, many examples down the years, I 'invested' 3 hours this weekend trying to get WiFi with WPA working again after upgrading my wife's box from Ubuntu 9.10 to 10.04. Verdict: the rt73usb driver has (yet again) returned to a state of porkage, so it was (yet again) ndiswrapper and Windows drivers for the eventual win.

    CLI/scripting system that actually works

    Until of course you try and run a script written for fooshell on barshell, i.e. when a distro changes its shell.

    Most open source software runs on it

    Can be made to run on it, given enough time.

    Drivers for just about any piece of hardware ever built

    If you limit "ever" to "older than two years or so". But sure, many of the drivers give the appearance of working tolerably well, for a surprising amount of the time! And when they don't, well, there's ndiswrapper, or we'll-fix-it-in-the-next-release, or you've-got-the-source-compile-a-previous-version-yes-we-know-it-doesn't-build-against-your-kernel-headers-or-gcc-version-fix-it-yourself-you-filthy-M$-shill.

    No blue screen of death

    Ain't seen on one Windows for years.

    Not nearly as resource hungry (unless of course you use Compiz :-)

    Granted. Oh, unless you've got a driver bug, which you almost certainly do if your hardware was designed this millennium. Then see above.

    Penguins way cooler than butterflies

    By that measure, that would mean...

    But the easiest way of making a windows user envious is to use a mac

    ...that.

    This is not the year of Linux on the desktop (or the netbook). I thought we were there with Ubuntu 10.04, but it's actually a regression from 9.10. I'd just recommend 9.10, but that's effectively abandonware now, just like all previous versions of all Linux distros, "LTS" included.

    Again: I'm writing this from Ubuntu 9.10. I've got RHEL5 in that VM over there, SUSE 11 yonder, Solaris in that shell, and even SUA on Windows (tastes a bit like POSIX). I'm happy with POSIX OSen. But I would not recommend them to a Joe Windows user, ever, since I don't want to be their Support Guy from now until there's a distro that actually Just Works.

    --
    If you were blocking sigs, you wouldn't have to read this.
  7. Re:favorite way by KiloByte · · Score: 5, Informative

    In fact, on old systems with a graphics card it is significantly faster than the traditional way of redrawing windows.

    Why? Because:
    1. the gfx card can do part of the work
    2. all windows are already drawn and kept in the graphic card's memory

    --
    The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
  8. Re:Objects... by js_sebastian · · Score: 5, Insightful

    I understand, but for speed I expect that C++ still outperforms Java, and while C should outperform both of them, C doesn't feature encapsulation, polymorphism and all the other goodies that OOP provides.

    No, C is exactly as fast as C++. C++ only becomes slower if you use certain features that have a performance impact. Example: if you use exceptions, there is a performance penalty. If you don't, you don't get the performance penalty. That is one of the design principles of C++: nothing can be included into the language that slows down code that does not use/need it. The main slow downs you will see in your average C++ program, over the corresponding C, is the use of the string class as opposed to the nasty but fast strcpy and friends, and the extra indirect function calls due to virtual functions (which causes a branch misprediction and hence a pipeline flush on modern cpus, costing you a bunch of clock cycles). Still, you only pay for virtual if you choose to use it, and manually implemented virtual function calls are used all over the place in good old C, with the same effect. Furthermore, C++ templates allow code re-use with exactly 0 performance loss and while the error messages are ugly, they're still a whole load prettier than doing the same thing the C way with recursive includes and lots of preprocessor madness. And you can link to existing C code/libraries without any problems. Frankly, there is no valid reason for starting a new program in C in this day and age.

  9. Re:favorite way by Jurily · · Score: 5, Informative

    No, karma whoring is to post something completely obvious you know will be modded up and not add anything to the discussion. Like this comment.

  10. Re:BS by Culture20 · · Score: 4, Insightful

    * Lower cost of ownership - BS, too much time is spent hacking up config files to make crap work or work right

    On Windows, too much time is spent hacking up the registry to make crap work or work right. Just this last Thursday, I had to manually scan the registry to delete every reference to a printer driver that kept killing someone's spooler service... because the spooler service needed to be running to delete the printer normally. If it had been a unix system, I could have just edited a line in a file and been done.

    * CLI/scripting system that actually works - BS, anything you can write and make work in Linux, I can in Windows

    Using cygwin, bash compiled for Windows or DOS, or other scripting applications that are not guaranteed to be on every Windows system.

    * Most open source software runs on it - Show me anything worthwhile that doesn't run in Windows or have a better alternative there

    Well, Linux runs in Windows, so I'd say you've won this argument.

    * Drivers for just about any piece of hardware ever built - BS, that's the primary thing most users have issues with, half baked drivers

    Half-baked drivers in Windows XP, Vista, and 7. That printer driver mentioned above? It was an HP driver written for and installed in Win7 64bit.

    * No blue screen of death - Agreed, but I haven't seen one yet in Win7

    I haven't either, but I have seen a Win7 machine reboot constantly (the equiv of BSOD since Win7 is set to reboot on fail).

    * Not nearly as resource hungry (unless of course you use Compiz :-) - Agreed, but neither was Win98 which is typically how Linux feels

    I still have Win98se running on an old machine for old games. Win98se is actually snappier than modern Linux, which is in turn snappier than WinXP/7. How much window compositing did Win98se do? Firewalling? Multi-user? Even the 1998 version of Linux had multi-user support and ipchains.

    Mod me down if you want to, but I've yet to have Windows drop me to a command prompt after an video card driver update

    I've had it boot up to a BSOD, which looks worse than a command prompt, or a blank screen where I had to remote in or boot up in safe graphics mode.

    [I've yet to have Windows drop me to a command prompt after an] OS update (Ubuntu anyone?)

    I've had it boot up to a BSOD, which looks worse than a command prompt.

    or had to recompile sound drivers after every OS update (Ubuntu on that one too).

    I wish I could. Sometimes vendors take years to get their sound drivers working. Google realtek, imac, and Windows 64 bit.

    My file manager will display in a column what date pictures were taken so I can categorize them accordingly, can yours do that? It couldn't the last time I checked.

    This is the first time that I ever checked. No, it does not, but it could with a little quick editing. Right clicking and selecting properties shows that the Gnome file manager (didn't check KDE) can see the image properties, including "Date Taken", so the information is there. Linux users are probably just better mentally organized, and name their photo directories YYYY_MM_DD

  11. Re:favorite way by V!NCENT · · Score: 4, Funny

    No, karma whoring is to post something completely obvious you know will be modded up and not add anything to the discussion solely because you want to boost your karma. Unlike this comment.

    --
    Here be signatures
  12. Re:favorite way by Anonymous Coward · · Score: 5, Insightful

    Lower cost of ownership

    If you don't value your time.

    Linux is only free if your time is worth nothing.
    Windows is only $119.99 if your time is worth nothing.