This time its about integrating an HTML Editor into Qt using QWebView and Javascript! I'll start with text editors in general, and then continue to the integration, based on QWebkit and TinyMCE3. The end result is a little bit of hackery, but it is a working solution...

CppCon 2015 Call For Open Content—Jon Kalb

By Blog Staff | Aug 25, 2015 09:40 AM | Tags: None CppCon isn't just a lecture-based conference, it's an interactive cultural event. Here's an important aspect of CppCon, open to the public:

CppCon 2015 Call For Open Content

by Jon Kalb

From the announcement:

This year CppCon is increasing the number of Open Content sessions. In addition to the early morning and evening sessions offered last year, we’ll also be offering Open Content session over the lunch break.

Open Content is just that, open! Attendees and regular program speakers alike can propose sessions on anything that interests them. These might feature a single facilitator leading a room through an exercise, activity or demo, a panel of 3-5 people taking questions from the room, a “hackathon” on a specific project, or an open conversation among the whole room. The projector is available for slides or note taking.

Open Content is designed for flexibility so that a “Birds of a Feather” talk may be proposed even after the conference has begun. A speaker who gets a lot of post-talk questions may agree to host a Q&A session in the Open Content time. An attendee inspired by a session may host a session to explore a topic further or start on a group implementation of something.

To propose a session, simply email email@example.com and tell us the title, description, and speaker(s)/moderators(s). If you have time constraints such as “after a specific session” or “not on the same day as a specific session” let us know in the email. (For example, someone who will be grilled at Grill The Committee on Monday can’t do an open session Monday evening.)

These sessions will be open in another way too -- Open Content does not require conference registration. That’s right, everyone who is in the area is welcome to come and join us for all the evening/lunch sessions, including proposing or leading a session. This is part of our goal to be an inclusive conference for the entire C++ community.

For now, please email your submissions as soon as you can so that our planning work can get underway. See you in Bellevue!

Can you see the bug?—Andrzej Krzemieński

By Adrien Hamelin | Aug 25, 2015 01:40 AM | Tags: intermediate c++11 Here is a problem several of us may fall into:

Can you see the bug?

by Andrzej Krzemieński

Recently, I was hit by one C++11 gotcha. It is funny: I know about it, I have blogged about it, and nonetheless I still fell into the trap...

CppCon 2015 Program Highlights, 5 of N

By Adrien Hamelin | Aug 24, 2015 09:00 AM | Tags: None

The CppCon 2015 conference program has been posted for the upcoming September conference. We’ve received requests that the program continue to be posted in “bite-sized” posts, a few sessions at a time, to make the 100+ sessions easier to absorb, so here is another set of talks. This series of posts will conclude once the entire conference program has been posted in this way.

The C++ language would be far less useful without its tools. The good compilers, the dependancy managers,...

The following interrelated CppCon 2015 talks tackle these issues and more.

In this post:

Cross-Platform Mobile App Development with Visual C++ 2015 by Marc Gregoire, Software Architect, Nikon Metrology

Visual C++ 2015 supports the development of apps for the Windows platform as well as for Android and iOS. A single code base, possibly with a thin platform-specific UI layer, can be compiled to run on Windows, Android, and iOS. The resulting binary can be published to a device and debugged, all from within Visual C++ 2015. This presentation introduces you to such cross-platform mobile app development, including debugging and emulation, and includes a number of demos.

Doxygen to DoxyPress : A Journey from C++98 to C++11 by Barbara Geller and Ansel Sermersheim, Co-Founders, CopperSpice

This presentation will discuss the benefits of using a documentation generator for creating internal code documentation or end user documentation.  DoxyPress can be used to document your source code, generate API documentation, show class hierarchies, collaboration diagrams, and much more. DoxyPress supports several output formats including html, chm, latex, and man pages.

As part of our talk we will cover the process of redesigning source code originally designed for C++98 and how to migrate it to C++11. We will talk about the advantages and drawbacks of moving to C++11 and show how the code changed in DoxyPress.

We will show a small demonstration of DoxyPressApp, which is a a GUI program used to set up your project file which is then used by DoxyPress to generate documentation.

DoxyPress is a fork of the Doxygen documentation tool. A very basic understanding of C++ will be helpful. No prior knowledge of DoxyPress or Doxygen is required.

Beyond Sanitizers by Kostya Serebryany, Software Engineer, Google

At CppCon’2014 we presented the Sanitizers, a family of dynamic testing tools for C++. These tools allow you to find many stability and security bugs in C++ code, but they are only as good as your tests are. In this talk we will show how to improve your tests with guided fuzzing and how to protect your applications in production even if some bugs were not found. Fuzzing, or fuzz testing, is a surprisingly effective technique that allows you to discover new interesting test inputs. Coverage-guided fuzzing uses coverage-like code instrumentation to make fuzzing orders of magnitude more efficient. Taint-guided fuzzing goes even further by using taint tracking techniques. The next line of defense may be incorporated directly into production: the Control Flow Integrity instrumentation allows you to protect your program from corrupted function pointers (including pointers to virtual tables) and separating stack variables from the call stack protects from corrupted return addresses -- both with near-zero overhead. We will concentrate on particular tools implemented in the opensource LLVM toolchain (libFuzzer, DataFlowSanitizer, -fsanitize=cfi,safe_stack), but will also discuss several alternatives.

What's New in Visual C++ 2015 and Future Directions by Steve Carroll and Ayman Shoukry

In this talk, we'll discuss new features, optimizations, and scenarios in Visual Studio 2015. We'll cover new backend optimizations, improved build throughput, new productivity and diagnostics features, and give a detailed update on our conformance progress, as well as talk about cool new c++1y features that we are shipping from await to modules.

Visual Studio isn't just for Microsoft platform developers. We'll also demonstrate our latest cross platform C++ development features for Android and iOS. We'll also give a sneak peak at our work on combining the Clang frontend with our existing backend to bring Clang support for Windows to Visual Studio.

CLANG + C2 - Engineering/Futures/Measurements by James Radigan

The talk will cover the CLANG + c2.dll compiler for the Microsoft platform. It will contain parts of the talk given at //Build 2015 that can be found on line: "Compiling Objective-C Using the Visual Studio 2015 C++ Code Generation that Builds Windows, SQL, .Net, and Office". The focus this time will be on C++.

The talk will disclose the architecture of how we tied the CLANG open source front end with the Microsoft optimizing backends (several configurations are needed) and how far we are from providing a CTP for public consumption targeting 4 different architectures. Included in this section will be a disclosure of data on compile time, memory consumption, conformance and correctness.

In addition the talk will cover the nuts and bolts of several key innovative compiler and runtime technologies we will be delivering in the Visual Studio 2015 updates (Fall, Winter and Spring). New investments in the compiler and runtime space include: Improved optimization and auto-vectorization, more secure code generation, incremental whole program compilation, and new asynchronous C++ code generation.

CppCon 2014 Lightning Talks—The Perils of Strict Aliasing—Andy Webber

By Adrien Hamelin | Aug 24, 2015 08:00 AM | Tags: intermediate The Perils of Strict Aliasing

by Andy Webber

(watch on YouTube) (watch on Channel 9)

50% of the tickets for Meeting C++ 2015 are sold!

By Meeting C++ | Aug 24, 2015 03:43 AM | Tags: news conference

Just last friday the 50% mark was reached in the ticketsale for Meeting C++ 2015:

50% of tickets for Meeting C++ are sold!

Late in the night on last friday, an important milestone for this years Meeting C++ conference happened: 50% of the available tickets are sold now.

Webinar Recording: A Tour of Modern C++

By Anastasia Kazakova | Aug 24, 2015 01:14 AM | Tags: None

The recording of our July 2nd webinar, A Tour of Modern C++, is now available.

Webinar recording

by Anastasia Kazakova

In this webinar, Dmitri Nesteruk shows the latest language additions introduced in C++11 and also talks a little bit about some of the forthcoming features in C++14 and 17.

Demo project can be found on GitHub.

Listen to the recording and read the answers to some of the questions asked during the webinar in our blog post.

Easier To Use, And More Expressive—Tony DaSilva

By Adrien Hamelin | Aug 21, 2015 08:39 AM | Tags: c++11 basics Here is some reasonning of the new standard:

Easier To Use, And More Expressive

by Tony DaSilva

CppCon 2014 Lightning Talks—Writing A Python Interpreter for Fun & Profit—Shy Shalom

By Adrien Hamelin | Aug 21, 2015 08:00 AM | Tags: intermediate Writing A Python Interpreter for Fun & Profit

by Shy Shalom

CppCast Episode 23: Game Dev and Low Latency with Nicolas Guillemot

By robwirving | Aug 21, 2015 06:23 AM | Tags: None

Episode 23 of CppCast the only podcast for C++ developers by C++ devlopers. In this episode Rob and Jason are joined by Nicolas Guillemot to discuss the ongoing work of the GameDev and Low Latency C++ Study Group.

by Rob Irving and Jason Turner

About the interviewee:

Nicolas Guillemot started studying C++ and OpenGL to make games, and fell in love with them. He enjoys participating in game jams, and has had the opportunity to work in some game development studios: Inlight Entertainment, and Electronic Arts. He is currently taking a break from finishing a bachelor's in software engineering to work at Intel, doing mostly graphics-related work to help game developers take advantage of Intel GPU features.
[null, {"document_url": "https://isocpp.org/blog/2015/08/P10", "unformatted_src": "https://isocpp.org/files/img/cppcon-026.PNG", "src": "https://isocpp.org/files/img/cppcon-026.PNG", "formatted_filename": "cppcon", "alt_text": "cppcon-026.PNG"}, null, null, {"document_url": "https://isocpp.org/blog/2015/08/P10", "unformatted_src": "/files/img/cppcon_80.png", "src": "https://isocpp.org/files/img/cppcon_80.png", "formatted_filename": "cppcon"}, null, null, {"document_url": "https://isocpp.org/blog/2015/08/P10", "unformatted_src": "/files/img/cppcon_79.png", "src": "https://isocpp.org/files/img/cppcon_79.png", "formatted_filename": "cppcon"}, null]