Migration to C++ (?)

Thorsten Wißmann edu at thorsten-wissmann.de
Mon Jul 21 23:58:53 CEST 2014


Hi,

I just merged the C++ branch and pushed it.

On Mon, Jun 30, 2014 at 12:36:44PM +0200, Thorsten Wißmann wrote:
> What do you think?

There were some reactions and questions on the IRC. Here's a short FAQ:

  - Q: What about glib?
    A: I will migrate the datastructures continuously from glib to STL,
    which is a built-in library of C++. So on some day, no glib is
    required anymore.
  - Q: Isn't it problematic to write a library (i.e. libherbstclient) in
    C++?
    A: herbstclient stays C to make it easy to link it into any kind of
    programming language.
  - Q: I don't like OOP/Design-Patterns!..
    A: Using C++ does not mean one needs to use the bad features of OOP
    or Design-Patterns. C++ is just a superset of C with respect to
    syntax and features.
  - Q: Does it still run on *bsd?
    A: As long as there is some C++ compiler (like g++ or clang++), hlwm
    will still run there.

If you have still doubts or questions please ask!

Cheers,
Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: not available
URL: <https://listi.jpberlin.de/pipermail/hlwm/attachments/20140721/5f9c2f2d/attachment.sig>


More information about the hlwm mailing list