cPP11 migration ?
cPP11 migration ?
Is migrating code to C++11 arise problem to someone ?
I don't think it will happen soon, but I would have an idea of possible objection.
I don't think it will happen soon, but I would have an idea of possible objection.
Re: cPP11 migration ?
cost benefit analysis?
Re: cPP11 migration ?
* Benefit: mostly readability of the code:
- use `auto` instead of std::vector<MyType *>::iterator.
- use `for (auto unit : Units)` instead of a long C++98 way equivalent...
we may have some performance gain, but I don't expect significant changes from that.
* cost: clang has a tool to migrate C++98 into C++11.
- use `auto` instead of std::vector<MyType *>::iterator.
- use `for (auto unit : Units)` instead of a long C++98 way equivalent...
we may have some performance gain, but I don't expect significant changes from that.
* cost: clang has a tool to migrate C++98 into C++11.
Re: cPP11 migration ?
Cost: We'll be letting the 90s die.
04:27 jim4 why haven't you added wc1 support? this project sucks. i'm only going to use freecraft
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me
Re: cPP11 migration ?
I would love to bang Elaine.
Also, migration to the new standard seems to only make sense.
Also, migration to the new standard seems to only make sense.
Re: cPP11 migration ?
My opinion is that migration to SDL 2.0 will make more profit to engine than c++11
Re: cPP11 migration ?
It seems harder/longer to migrate to SDL2 than to c++11.
And both could be done.
And both could be done.
Re: cPP11 migration ?
So it is feasible to do c++11 and SDL2, but not to do Elaine.
04:27 jim4 why haven't you added wc1 support? this project sucks. i'm only going to use freecraft
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me
- DinkyDyeAussie
- Posts: 260
- Joined: Fri Feb 10, 2012 10:39 am
- Location: Australia
Re: cPP11 migration ?
Sinfeld needs to die...F*@#$# hate that show. He's not even funny.
Moving on. C++11 would be good. We need a clean start on this engine and if there's proper commenting - I'm talking every single freakin variable commented here so new poeple can come aboard and contribute new code, and also variable named appropriatly, i.e. instead of:
we can have
stuff like that...Really damn neat and well commented, with class functions and all that...I may not know much, but confusing code is annoying.
Moving on. C++11 would be good. We need a clean start on this engine and if there's proper commenting - I'm talking every single freakin variable commented here so new poeple can come aboard and contribute new code, and also variable named appropriatly, i.e. instead of:
Code: Select all
int i;
Code: Select all
int ImageSliderButton // the button that manipulates the slider to change the value of the slider
Re: cPP11 migration ?
All proposals containing disrespect to Seinfeld will be rejected out of hand.DinkyDyeAussie wrote:Sinfeld needs to die...F*@#$# hate that show. He's not even funny.
04:27 jim4 why haven't you added wc1 support? this project sucks. i'm only going to use freecraft
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me