简体   繁体   English

带有Raspberry Pi性能的C ++ 11

[英]C++ 11 with Raspberry Pi performances

I have some questions for you, I will have to do a program under a Raspberry Pi with Raspbian OS. 我有一些问题要问你,我将不得不在带有Raspbian OS的Raspberry Pi下做一个程序。 I'll do it with C++11 but I have to justify that choice. 我会用C ++ 11来做,但我必须证明这个选择。

Is it a really gain of performances ? 这真是一场表演吗? I can't find something like "Performances differences C++ and C++11" on Google... I'm searching for some good informations but... =/ 我在Google上找不到像“性能差异C ++和C ++ 11”这样的东西...我正在寻找一些好的信息,但是...... = /

I will have to do like 2 or 3 threads in it, I know that C++11 has a new system for this with std::thread but, why is it really better than the previous threading system ? 我将不得不做两个或三个线程,我知道C ++ 11有一个新的系统用于std :: thread,但为什么它真的比以前的线程系统更好?

Thanks guys =( I really need help for it =/ 谢谢伙计=(我真的需要帮助= =

The only thing I can come up with for performance if you use any of the following new features. 如果您使用以下任何新功能,我唯一可以提出的性能。

http://en.wikipedia.org/wiki/C%2B%2B11#Core_language_runtime_performance_enhancements http://en.wikipedia.org/wiki/C%2B%2B11#Core_language_runtime_performance_enhancements

To be explicit about it, I do not see any significant performance gain you could obtain in here other than the usual differences that may occur among the compilers. 为了明确这一点,除了编译器之间可能出现的通常差异之外,我没有看到你在这里获得的任何显着的性能提升。 However, there should be no big difference among the major ones. 但是,主要的应该没有太大的区别。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM