The answer is no, we're not going to bump the minor number to some arbitrary value.
We increment the minor number on every iteration (which is about monthly) before we reach feature parity with Morrowind.
Once that happens, we bump to 1.0 and continue the minor iteration.
Can we drop this conversation now?
OpenMW 0.37.0 (?)
- psi29a
- Posts: 5362
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: OpenMW 0.37.0 (?)
Because it had been told that we will switch to C++11 for the next release.
I do some code on my own but I never had a propoer formation so C++ standard are a mystery for be and I entirely depends of debugging tools to respect them
I'm curious about what change the use of C++11 will do.
Will it have any performance effect, or it's just for having clean code and to garantee future compatibility with the libraries sued in OpenMW.
I do some code on my own but I never had a propoer formation so C++ standard are a mystery for be and I entirely depends of debugging tools to respect them
I'm curious about what change the use of C++11 will do.
Will it have any performance effect, or it's just for having clean code and to garantee future compatibility with the libraries sued in OpenMW.
Re: OpenMW 0.37.0 (?)
Well, since you asked so nicely, sure.psi29a wrote: Can we drop this conversation now?
Re: OpenMW 0.37.0 (?)
Of course the final and authoritative can come only from the project developers, but this is my experience in the C++98/03 to C++11 switch.Cramal wrote:I'm curious about what change the use of C++11 will do.
The new unified initializer is great, so you should use as much as possible. For all built-in types you should consider forgetting the {} almost as "error the compiler does not detect".
The new meaning of auto is also extremely useful. I find Herb position a little extreme, but it shows the point. If from the right expression the type is clear; use auto.
This is how I do it:
If you cannot know the type or it is clear from the right expression, use auto name = expr;
If you want the default constructor or you are declaring a built-in. Use type name {};
If you staring in front of the list of constructors you think "I really want this one!", use the classic () syntax. Eg, std::vector<int> name(102, 23);
If you are thinking, here are the starting values use {1,2,3, ...} syntax. Eg, std::vector<int> v{1,2,3,4,5};
The lambdas make all the functional part much easier than the classic binders and functional tools. For example, you want to convert a vector of strings (that represents numbers) to the same vector of integers, in C++11 you can do this:
Code: Select all
std::vector<int> output{};
std::vector<std::string> input{"1", "2", "3", "4" };
std::transform(input.begin(), input.end(), std::back_inserter(output), [](std::string const& v) { return std::stoi(v, nullptr, 10); });
Also the new memory and time tools are neat, but even in C++03 you had libraries giving similar features.
There is much more, but the greatest impact (on the top of my head) comes from this features.
Re: OpenMW 0.37.0 (?)
I already had.psi29a wrote:Can we drop this conversation now?
![Wink ;)](./images/smilies/icon_e_wink.gif)
I'm looking forward to trying out the OSG build. Can you believe that I've never played MorrowWind before?
![Shocked :shock:](./images/smilies/icon_eek.gif)
- psi29a
- Posts: 5362
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: OpenMW 0.37.0 (?)
Just a heads up, there will be no Utopic build for OpenMW as it will shortly be EoL.
Ubuntu 14.10 (Utopic Unicorn) reaches End of Life on July 23, 2015
Re: OpenMW 0.37.0 (?)
14.04 still supported, right?psi29a wrote:Just a heads up, there will be no Utopic build for OpenMW as it will shortly be EoL.
- psi29a
- Posts: 5362
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: OpenMW 0.37.0 (?)
Yes, we do our best to support everything not EoL.charlieg wrote:14.04 still supported, right?psi29a wrote:Just a heads up, there will be no Utopic build for OpenMW as it will shortly be EoL.
![Smile :)](./images/smilies/icon_e_smile.gif)
We're still dragging 12.04 (precise) along... because of travis-ci.
![Smile :)](./images/smilies/icon_e_smile.gif)
- psi29a
- Posts: 5362
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: OpenMW 0.37.0 (?)
Just compiled master with clang, and yes... that is a long compile time. ![Smile :)](./images/smilies/icon_e_smile.gif)
Clang's static analysis found just 2 bugs, fantastic! If these tools are to be believed, our code quality is top notch.![Wink ;)](./images/smilies/icon_e_wink.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
Clang's static analysis found just 2 bugs, fantastic! If these tools are to be believed, our code quality is top notch.
![Wink ;)](./images/smilies/icon_e_wink.gif)
/home/bcurtis/workspace/OpenMW/openmw/apps/essimporter/importer.cpp:54:39: warning: Dereference of null pointer
*(image->data(x,y)+2) = *it++;
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
1 warning generated.
/home/bcurtis/workspace/OpenMW/openmw/apps/openmw/mwmechanics/aicombat.cpp:337:13: warning: Value stored to 'weapRange' is never read
weapRange = 150.f;
^ ~~~~~
1 warning generated.
Re: OpenMW 0.37.0 (?)
I've always found Clangs static analyzer to be good at finding actual issues, less good at suggestions.
So it will catch the bugs in your code, but - unlike most proprietary softwares - it's less good at finding places where performance could be easily improved, code made less complex, or redundancy reduced.
So it will catch the bugs in your code, but - unlike most proprietary softwares - it's less good at finding places where performance could be easily improved, code made less complex, or redundancy reduced.