Root Framework

All, Tools

Another framework that is very interesting and powerful, although not very used beyond the physicits and the Cern people is the ROOT Framework [1].

I have the experience to play with it, using its functions to generate meaningful results.

Root is very optimized, written in C++ but nowadays you can used it combined with python and R.

I personally don think its interface is easy, as other libraries/frameworks, but its optimized and the community is great. People from several backgrounds helping specific questions.

At Instituto de Fisica in USP University, we used it a lot. But not rarely we faced situations that it played some trick answers on us, e.g. some of the results were inconsistents.  But anyways.

It is interesting to try it straight on the browser too.

Is always important to watch CERN and its tools, since they become a tendency in the world, the WWW is an CLEAR example.

[1] https://root.cern.ch/

C++ (STL and Standard Library)

All, Suggestion

I personally think that C++ is wrongly taugh in school because they dont put enough STL and Standard C++ Library. It’s like teaching how to drive a Suzuki Hayabusa until 120km/h, not teaching the full possibility of the engine.

Using STL makes the language so much powerful and  full of resources.

It is actually divided in four main components:

  • Algorithms
  • Functions
  • Iterators
  • Containers

STL is a extremely powerful library which I will post more about later.

 

[1] https://en.cppreference.com/w/cpp

[3] http://www.cplusplus.com/reference/stl/

C++ Tip [warning surpressing]

All, Tips

Sometimes we are facing so many warning that we cant just ignore them. Actually we should not, at least by Cpp Coding Standard by Andrei Alexandrescu. In this book, it is recommended to clean those high level warnings.

To do this in VS 2015 we just need to change the project properties by adding the Specific Warning. So going in the project configuration, below C/C++ tab, in Advanced Settings and adding the code to be ignored in ”Disable Specific Warning”

Source: https://msdn.microsoft.com/en-us/library/jj715718.aspx

Image demonstrating how to do it:

Warning