Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Conditional C++11 Support  (Read 32709 times)

0 Members and 1 Guest are viewing this topic.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Conditional C++11 Support
« Reply #30 on: February 26, 2015, 02:26:33 pm »
I thought we already agreed on not introducing conditional C++11 support, since it would alone create a lot of work for nearly no gain.

And I agree about the tracker. As long as we still have basic bugs lying around or simple features, we shouldn't start creating one of the bigger construction sites.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

binary1248

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1405
  • I am awesome.
    • View Profile
    • The server that really shouldn't be running
Re: Conditional C++11 Support
« Reply #31 on: February 26, 2015, 02:34:47 pm »
I thought we already agreed on not introducing conditional C++11 support, since it would alone create a lot of work for nearly no gain.
Why is #129 still open? ;D
SFGUI # SFNUL # GLS # Wyrm <- Why do I waste my time on such a useless project? Because I am awesome (first meaning).

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Conditional C++11 Support
« Reply #32 on: February 26, 2015, 02:51:30 pm »
Because it turned into "Full C++11 support", but I guess you can also close it and open a dedicated issue. :)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

binary1248

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1405
  • I am awesome.
    • View Profile
    • The server that really shouldn't be running
Re: Conditional C++11 Support
« Reply #33 on: February 26, 2015, 02:57:00 pm »
I think contrary to #129, taking C++11 into account when writing SFML 3 isn't really an "issue" that you can tackle on its own. It's something like a coding/design/implementation guideline that should be taken into consideration.

I'll close #129 and won't make a new issue regarding full C++11 support in SFML 3, it just doesn't make sense.
SFGUI # SFNUL # GLS # Wyrm <- Why do I waste my time on such a useless project? Because I am awesome (first meaning).

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Conditional C++11 Support
« Reply #34 on: February 26, 2015, 03:09:48 pm »
SFML 3 won't be a full rewrite from scratch, we'll have to convert existing code to C++11 so in my opinion it is a task.
Laurent Gomila - SFML developer

binary1248

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1405
  • I am awesome.
    • View Profile
    • The server that really shouldn't be running
Re: Conditional C++11 Support
« Reply #35 on: February 26, 2015, 03:19:03 pm »
I agree that it is a task, but I don't think it fits with the rest of the issues on the tracker, which are either bug reports or requests for new features. It is something we will do while working on SFML 3. We also don't have issues for "Correct whitespace errors" or "Correct spelling mistakes" do we? ;)
SFGUI # SFNUL # GLS # Wyrm <- Why do I waste my time on such a useless project? Because I am awesome (first meaning).

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Conditional C++11 Support
« Reply #36 on: February 26, 2015, 03:40:53 pm »
Maybe we should create tasks such as "add move construction / assignment", "replace sf::Thread with std::thread", etc. because if we just adapt the code when we see something that can be changed, we'll leave SFML in an inconsistent/messy state.
Laurent Gomila - SFML developer

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: Conditional C++11 Support
« Reply #37 on: February 26, 2015, 03:50:49 pm »
The page Roadmap 3.0 could be used to keep such tasks.
SFML / OS X developer

binary1248

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1405
  • I am awesome.
    • View Profile
    • The server that really shouldn't be running
Re: Conditional C++11 Support
« Reply #38 on: February 26, 2015, 03:51:25 pm »
I'll leave formulating the task list to you then. ;D
SFGUI # SFNUL # GLS # Wyrm <- Why do I waste my time on such a useless project? Because I am awesome (first meaning).

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Conditional C++11 Support
« Reply #39 on: February 26, 2015, 09:02:47 pm »
Migrating a C++98 codebase to C++11 (or C++14) can be a big task. But I've personally found that using Clang Modernizer can be a nice first step in the right direction.
It is not perfect and only supports a limited number of transformations, but I've found it to be a great starting point for legacy codebases.
Maybe check it out when you start work on SFML 3 ? :-)