Tech Off Thread

10 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Advanced STL topics

Back to Forum: Tech Off
  • User profile image
    KerrekSB

    I think we've gone on for too long without STL's show! Smiley How about we post a few ideas for things we'd like to know and see if STL finds any of them interesting?

    I'll make a start:

    • Implementation of std::function and std::bind. This could be similar to the talk on std::shared_ptr.
    • Concurrency-related: <thread>, <future>, <async>.
    • I think STL mentioned that VS11 would have new features pertaining to allocator support; if that's mature already, that could be worth talking about.

    What do you think? Any favourite topics that come to mind?

  • User profile image
    STL

    (I've been quiet because I've been busy fixing bugs.)

    It's very useful to me to see what people are interested in hearing about - thanks for starting this.

  • User profile image
    impulse9

    Advanced? What about Standard Library Support for localization? facets, codecvt, use cases like reading Unicode Big-Endian files with BOM checks, nasty details of wchar_t under different popular platforms.

  • User profile image
    STL

    iostreams/locales/facets make my head hurt (especially when I'm fixing bugs in that area).

  • User profile image
    devcodex

    I've seen a couple talks by Herb Sutter over the last year where he talks about how awesome lambdas are (and he's right they are!) One thing he generally mentions, almost offhanded, is that the std::for_each algorithm is able to "partially unroll" the loop.

    It would be interesting to shed some light on how the standard library is able to do tricks like this where it seems to produce code that is as fast or faster than its longhand counterpart.

  • User profile image
    Matt_PD

    @STL: For me it'd be interesting to have a discussion of C++11 generic programming (GP) and template meta-programming (TMP) applied to design. C++11 introduced a couple of new features, like constexpr and enable_if that make GP & TMP more user-friendly.

    My favorite project would be a multi-lecture series on topics in "Modern C++ Design: Generic Programming and Design Patterns Applied" by Andrei Alexandrescu and a discussion on what's a "Modern C++11 Design" way. If that's too ambitious, perhaps a good single-lecture would be to cover Chapter 1, Policy-Based Class Design, with full use of newly introduced C++11 features to achieve more expressive/simpler/higher-performing code?

    This is sort of along the lines of Herb Sutter writing a few new (or updated) Guru of the Week Items for the C++11 era. Smiley

  • User profile image
    Jonas_No

    , STL wrote

    It's very useful to me to see what people are interested in hearing about - thanks for starting this.

    So does that mean you have forgotten or lost the requests in previous video threads / comments?
    I recall you requesting for what users are interested in and several responded.
    Perhaps you should consider them before accepting new requests ?
    You really should go through the comments of the videos, there are some good requests there. 

    On advanced stl topics:
    Not sure how advanced it would be but i'm curious of how you would implement a natural string sort function.

    I've seen many versions and i'm curious of how somebody like you with good knowledge-base of the STL and how to use it correctly would implement such a function.

    Is that too specific of a request ?

  • User profile image
    Charles

    @Jonas_No: Ummm... STL is one of the most interactive people on Channel 9 - meaning, he spends a huge amount of time reading and replying to commentary on his lecture episode posts. Seems to me you're the one not reading them....

    C

  • User profile image
    Jonas_No

    @Charles: A bit testy are we ? You misunderstand me. I interpreted STL's first message as he had forgotten about the previous requests so i wanted to remind him about them.

    Was i not allowed to do that ?

  • User profile image
    Charles

    @Jonas_No: Yes, a tad testy, I was. You came across testy, too. So, we're even. Smiley
    C

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.