На главную Наши проекты:
Журнал   ·   Discuz!ML   ·   Wiki   ·   DRKB   ·   Помощь проекту
ПРАВИЛА FAQ Помощь Участники Календарь Избранное RSS
msm.ru
Модераторы: Qraizer, Hsilgos
Страницы: (78) « Первая ... 41 42 [43] 44 45 ...  77 78  ( Перейти к последнему сообщению )  
> Текущий Стандарт С++ и перспективы его развития
    Qraizer, понял. спасибо.
      в течении прошлой недели были реализованы две новые возможности:
      1. explicit override control.
      2. non-static data member initializers.

      завтра соберу версию из trunk`а.
      Сообщение отредактировано: niXman -
        залил :)
          А Microsoft Visual Studio пока в позиции догоняющего. В MS Visual Studio 11 (Developers Preview), которое предлагается скачать, нововведений в плюсах - кот наплакал:

          Цитата

          Standard Template Library

          As part of the added support in Visual Studio 11 Developer Preview for the C++11 specification, the Standard Template Library (STL) support in Visual Studio is extended to provide the additional programming constructs that specification requires. Highlights include the following:

          Support for new headers <atomic>, <chrono>, <condition_variable>, <filesystem>, <future>, <mutex>, <ratio>, and <thread>.

          To optimize memory resource usage, all containers are now smaller given their current representations. For example, in x86 release mode with default settings, std::vector has shrunk from 16 bytes in Visual C++ 2010 to 12 bytes in Visual C++ in Visual Studio 11 Developer Preview, and std::map has shrunk from 16 bytes in Visual C++ 2010 to 8 bytes in Visual C++ in Visual Studio 11 Developer Preview.

          Other C++11 Enhancements

          SCARY iterators: As permitted but not required by the C++11 Standard, SCARY iterators have been implemented. For more information, see the PDF document SCARY Iterator Assignment and Initialization.

          Stateless lambdas, which is code beginning with an empty lambda-introducer [] and capturing no local variables, are now implicitly convertible to function pointers as required by the C++11 Standard.

          Scoped enumerations support. The C++ enum class enum-key is now supported.


          Единственно вкусным из всего этого можно считать поддержку потоков "из коробки" и по стандарту. Остальное всё - фигня, я бы сказал.

          Ссылки:
          http://msdn.microsoft.com/en-us/library/hh...=VS.110%29.aspx
          http://blogs.msdn.com/b/vcblog/archive/201...2/10209291.aspx
          По последней ссылке камменты просто жгут. Авторы посылают массу лучей "любви" в адрес команды разработчиков VC++. И в массовом порядке мигрируют на gcc. :D

          Цитата
          I wonder if the votes here http://visualstudio.uservoice.com/forums/1...tegory/30937-c- about C++11 got ignored.

          As I understand there's the IDE team, the libraries team, the compiler team, etc. From VS2008 to VS2010 quite a few C++11 features were added. VS2010 was released on April 12 2010. Can someone tell me what the compiler team has been doing for 17 months???

          +100500. Правильно, а зачем? Что именно хотят пользователи - им расскажут маркетологи. А хотят они, как выясняется, совсем другого:

          Цитата
          Diegum
          12 Sep 2011 2:48 PM
          #
          Thank you guys for the feedback (still ongoing, as I assume there are some of you who hasn't yet read this Stephan's article at the time I'm writing this and will also manifest your feelings when you read it.)

          If we compare the VC++ compiler against competitors, in particular in the C++11 compliance row we are behind. So the question is "why isn't MS investing in leading the standard compliance race as it was by the time Visual C++ 2010 was released?"

          A careless answer would state "because MS just doesn't care." There's another reality that I invite you guys to observe together. As we've admitted these last months (in this blog, at Channel 9 with my colleague and friend Charles Torre, etc.) native development in general and C++ in particular got a lower priority amongst the many languages that Visual Studio features. Not to justify my employer here, but it should be accepted that it was an industry trend that school of thinking that "modern languages" were managed ones, while native languages were expected to become legacy for mainstream development over the time. There's a great keynote delivered by our C++ Principal Architect Herb Sutter about the resurgence of C++ in the firmament – what can’t be understood as a near death of managed languages, just as the result of recent years innovation trends in the IT industry that made C++ re-invited to the dialog table.

          Много буков про желания пользователей в отношении VC++11
          In particular at Microsoft, we called this resurgence as C++ Renaissance and its first evidences were seen in the last release of Visual C++ (2010) with the implementation of the by-then latest draft of C++0x as no other compiler featured, a brand new library for parallel computing whose design followed some STL philosophy among other features intending to start adding value again and not just being an “also included” tool inside Visual Studio. A later feature pack brought some architecture features like dependency graphs or layer validation.

          It was evident, though, that catching up after the end of that “managed for all” school of thinking was to take time, and in fact some of our moves implied to set back certain features in order to re-architect those in moving forward (I guess you are thinking now about the cut C++/CLI IntelliSense, which we finally closed the gap and it’s coming back in the next version).

          But there were still more areas where we needed to shorten that distance. ALM for instance: many of you complained that Visual Studio offered several ALM features, only when talking about .NET development. Well, not for much longer: we announced last May our plans to bring ALM capabilities to C++ as well.

          There were more, though: productivity features in the IDE. How could it happen that something so well-established in the .NET worlds like Code Snippets were never available in C++? That was what many of you guys asked us as well. We recently posted a couple of articles telling what to expect in the next version of the IDE. And it’s certainly not just about Code Snippets in C++.

          MS Technical Fellow Mohsen Agsen said in an interview at the beginning of the year that “it won’t sound crazy if some upcoming features arrive primarily and first for C++ and then eventually for other Visual Studio languages.” Last June we announced a new technology (which we submitted as a standard, becoming just one of its implementers): C++ AMP for heterogeneous parallelism in CPUs, GPUs and other cores.

          In this struggle to put C++ back at the main scene, we must decide and allocate resources wisely in order to get some progress in ALM, developer productivity –including performance-, C++11 standard compliance, parallelism, and many other aspects related with your ultimate goal, that is shipping software. As a consequence of that, it’s unavoidable that we’ll resign some particular aspect at the sake of the overall development experience, as it’s being in this case, featuring as many C++11 elements at the level other competitors do.

          There are more news for C++ developers and in that sense I invite you to watch the keynotes at the BUILD Windows conference tomorrow (they’ll be broadcasted live). There are going to be sessions about C++ development that won’t be broadcasted live, but will be available 24 hours after being performed. Some of you criticized us for repeating too much “we aren’t telling about that point at this time.” Well, this week we’ll finally talk. That’s a relief for all of us who were listening you but couldn’t talk in observance of company policies.


          Mine was a long speech that doesn’t address your reasonable claims for variadic templates or other C++11 aspects but fights that perception that “MS doesn’t care.” We do care about all these issues, we are catching up in a way that maximizes several influential aspects of the development experience.

          По русски выделенное звучит совсем нецензурно... :wall:

          Добавлено
          Такой вот он, ренессанс C++ по microsoft'овски...
          Сообщение отредактировано: Flex Ferrum -
            со студией вроде как идут исходники стандартной библиотеки? если да - выложите кто-то плиз на файлообменник. любопытно поковырять.
            премного благодарен.
              niXman
              Да, есть такое: http://narod.ru/disk/27675792001/MSVC2010.7z.html (из MSVC 2010).

              Интересно, а для VC++ вообще существует стандартная библиотека, приближенная по функциональности к C++11, хотя-бы в рамках поддерживаемых компилятором возможностей или приближенная к libstdc++ по оптимизированности(про оптимизированность мое сугубо личное и субъективное мнение).
                phprus, спасибо. а случаем от 2011 не завалялась?

                Добавлено
                насколько мне известно, микрософт юзает Dinkumware STL.
                  Цитата niXman @
                  phprus, спасибо. а случаем от 2011 не завалялась?

                  Нет, этого зверька я еще не устанавливал и не смотрел.

                  Да и Windows 2003 Server оно похоже не поддерживает, что для меня очень печально.
                    разве никто не устанавливал 2011 студию?
                      Цитата niXman @
                      насколько мне известно, микрософт юзает Dinkumware STL.

                      Dinkumware совершенно точно был в каком-то из C++ Builder'ов.
                      И там STL совершенно точно иной чем в MS.

                      Помню точно, ибо огребли мы с этим проблем по самые уши...

                      Добавлено
                      О! Копирайт в хедерах 2010-й:

                      /* Copyright © 1992-2009 by P.J. Plauger. ALL RIGHTS RESERVED.
                      * Consult your license regarding permissions and restrictions.
                      V5.20:0009 */
                        Цитата amdei @
                        Dinkumware совершенно точно был в каком-то из C++ Builder'ов

                        вряд ли. билдер никогда не поддерживал стандарт, тем более, что он к этому не стремился. а Dinkumware производит самый строго соответствующий стандарту компилятор. противоречий не находите ;)
                          Цитата niXman @
                          Цитата amdei @
                          Dinkumware совершенно точно был в каком-то из C++ Builder'ов

                          вряд ли.

                          Хош верь, а хош - проверь.
                          Дело как говориться хозяйское

                          http://www.google.ru/search?q=Dinkumware+C%2B%2B+Builder
                            Цитата amdei @
                            Dinkumware совершенно точно был в каком-то из C++ Builder'ов.
                            В Builder'е сначала был RogueWave, потом заменили на Dinkumware. В MSVC - Dinkumware.

                            Добавлено
                            Цитата amdei @
                            О! Копирайт в хедерах 2010-й:

                            /* Copyright © 1992-2009 by P.J. Plauger. ALL RIGHTS RESERVED.
                            * Consult your license regarding permissions and restrictions.
                            V5.20:0009 */
                            Это и есть Dinkumware.

                            Добавлено
                            http://www.plauger.com/index.html :
                            Цитата
                            P.J. Plauger is President of Dinkumware, Ltd.
                              Старые билдеры пользовались библиотекой от RogueWave. Последние - не знаю
                                Ребята уже час гугглю. Где можно скачать стандарт С++11. Одним файлом? Если такой есть :)

                                Добавлено
                                Или он просто идет как расширение к "старому" стандарту.
                                0 пользователей читают эту тему (0 гостей и 0 скрытых пользователей)
                                0 пользователей:
                                Страницы: (78) « Первая ... 41 42 [43] 44 45 ...  77 78


                                Рейтинг@Mail.ru
                                [ Script execution time: 0,0692 ]   [ 16 queries used ]   [ Generated: 20.06.25, 21:51 GMT ]