new tutorial, meeting c++

06 december 2015

I've uploaded a new Dive into C++14 episode on YouTube:

The third tutorial in the "Dive into C++14" series covers the implementation of a generic "unique resource" class, with the same ownership semantics as std::unique_ptr. The tutorial shows the implementation of the resource class and the abstraction of the behavior of several resource types (heap-allocated pointers, OpenGL VBOs, int-based-handle APIs). It also shows a simple implementation of "scope guards" as unique resources, to show how abstracting "uniqueness semantics" can be useful even in unexpected situations.

I'm currently in Berlin's Tegel airport, flying back home after a fantastic experience at Meeting C++ 2015. I had a great time at the conference, and also gave two lightning talks.

You can already find the code for them on Github - when the videos will be uploaded I will update the repository readme.

my cppcon 2015 talks

30 october 2015

Hello everyone!

My CppCon 2015 trip report and talks are now available for free on YouTube.

[VLOG] CppCon 2015 report, upcoming tutorial, Patreon
Watch on YouTube

Talk videos:

Enjoy! You can find all the code and slides on this GitHub repository.

Also, I'm now on Patreon - your support is always extremely appreciated :)

dive into c++14!

6 june 2015

I've published two new video tutorials on my YouTube channel. The videos introduce a new series: "Dive into C++14".

Like the previous series, dedicated to the C++11 standard, "Dive into C++14" will show the convenience and power of the latest standard (C++14) through videos regarding various topics.

The format of the videos is what makes "Dive into C++11" and "Dive into C++14" different from other tutorials: well-commented and well-formatted independently compilable chronologically sequential code segments will show the audience the thought process behind writing modern C++14 code.

Dive into C++14 - [1] - Introduction to C++14 core language features
Watch on YouTube

The first video is a brief introduction to some of my favorite new C++14 core language features. The target audience is newcomers to the C++14 standard who already have some experience with C++11.

Dive into C++14 - [2] - for_each_argument explained and expanded
Watch on YouTube

The second video covers a very interesting code snippet originally posted on Twitter by Sean Parent: for_each_argument.

It shows and explains the usage of C++14 compile-time integer sequences, and analyzes a very interesting iterative implementation of an alternative version of Sean's function that takes the desired arity as a template parameter.

Feel free to fork/analyze/improve the source code on my GitHub page. You can find previous episodes here: Playlist

I've uploaded part 5 of Dive into C++11 on my YouTube channel.

You can watch the video here.

In this episode we'll see various ways of implementing entity management in your games, starting with a very simple "one vector per object type" approach. We'll consider a "polymorphic inheritance tree" approach as well, and finish the video by re-implementing our Arkanoid clone with a simple but effective component-based design.

... read more

delver's choice

01 february 2015

This year, me and some of my friends participated to the Global Game Jam 2015, a worldwide 48 hour game-development jam.

We made an accessible, simple and fun dungeon-crawler that can be played only using 4 numeric keys. You can try find it here!.

The game is currently work-in-progress. I'm improving the code and the balance and adding more features.

Similarly to Open Hexagon, the game is free, multi-platform and open-source. The code and the assets can be found on my GitHub page.

Enjoy! Looking forward to hear your thoughts or receive your contributions :)

new year, new tutorial video

06 january 2015

Happy new year everyone! Hope you enjoyed your holiday.

A new tutorial video is available on my channel:

Handle-based entity management experiments

In this video I experiment with entity management and storage. I show a smart-pointer cache-unfriendly approach and a more efficient (yet harder to implement) handle-based cache friendly approach.

Hope you find it interesting!

OH2.0-RC2 .deb available

22 october 2014

Andy Meyer, a Linux user and Open Hexagon fan, has packaged the 2.0-RC2 version for Debian systems.

Thanks Andy!

You can find the package here or on the projects page.

Servers are still down at the moment. I'm very busy with university and other projects - I hope to find some free time soon to work on them.

CppCon2014 video and stuff

09 october 2014

The official recording of my CppCon2014 talk, "Quick game development in C++11/C++14" is now available!

Hope you'll find it interesting.

I've also added a new work-in-progress section to my site, "stuff", where I will keep track of things I like and share them with everybody.