х2018 Autumn2018 Spring2017 Autumn2017 Spring2017 Winter2016 Autumn2016 Summer20162015
#CoreHardBy

C++ CoreHard Autumn 2018 Сonference

The C++ CoreHard Autumn 2018 is a conference dedicated to C++ and related hardcore technologies.

The conference is being organized by the CoreHard.by community that unites not only C++ engineers, but also those who are interested in low-level development in C and Assembler, programming of controllers, Internet of Things, highload server solutions and in any kind of “hardcore” development.

The conference will take 2 days: November 2 - workshop day, November 3 - conference day

Official conference languages: Russian, English

Want to present a talk? Submit a proposal


#CoreHardBy

Speakers

Master classes, November 2

  • 9:30 - 10:00

    Registration

  • 10:00 - 19:00

    Quick and modern C++ [Russian]

    Antony Polukhin

    In any large codebase you can always find pieces of code which are not totally understandable. Mostly, such kind of code is implemented when the application needs some performance boost... and, mostly, that code is not useful because it optimizes functionality in wrong place, in incorrect way and in not a good way. During our masterclass we will get to know to the allocators features, optimizers and implementations of containers; look at assembler code; learn how to correctly and clearly write fast single-threaded and multi-threaded applications. You only need a complier with C++ 11 support (at least VS 2013/Clang-3.3/GCC-4.8) and basic C++ knowledge

  • 9:30 - 10:00

    Registration

  • 10:00 - 19:00

    Multithreading with modern C++

    Rainer Grimm

    Abstract This class gives you a detailed insight into the multithreading facilities of C++11 and C++14, and the parallel algorithms which we got with C++17. If possible, we will have a more in-depth look into the C++ memory model consisting of the atomics and the various memory models in C++. This insight will provide you with a better understanding of the general concurrency features of C++. Prerequisite Participants should have a basic knowledge of the C++ language and the fundamentals of multithreading. In the class, I will give you a concise introduction to the topic. This introduction provides the starting point for the exercises; therefore, you should bring your laptop with you including a C++11 or C++14 compiler. You will get in return the training material consisting of the presentation, the exercises, and the solutions to the exercises. Agenda: Multithreading Threads Shared Data Mutexes and Locks Thread-safe Initialisation Thread-Local Data Condition Variables Tasks (Promises and Futures) The Memory Model The Contract Atomics The Synchronisation and Ordering Constraints -- Sequential Consistency -- Acquire-Release Semantic -- Relaxed Semantic Parallel Algorithms of the Standard Template Library (C++17) Execution Policies Algorithms -- The New Algorithms

  • 9:30 - 10:00

    Registration

  • 10:00 - 19:00

    Advanced C++ techniques and functional programming idioms

    Ivan Čukić

    - Algorithms in the standard library - Function objects in C++, callables and std::invoke - Lazy evaluation, lazy algorithms and ranges - Creating new language constructs on the library level - Removing invalid program states with sum types and std::variant - Generic programming and template constraints using void_t - Handling errors with optional<T> and expected<T, E> - Monad composition

  • 9:30 - 10:00

    Registration

  • 10:00 - 19:00

    Continuous integration для C++ разработчика

    Pavel Filonov

    А мы построим свой CI с conan и travis Вводная В головах разработчиков бытует мнение, что их работа заканчивается после того, как они закомитили код, а весь остальной процесс их вовсе не касается. В ответ на этот тезис хорошо подходит цитата Роберта Хайнлайна: Любой человек должен уметь менять пеленки, планировать вторжения, резать свиней, конструировать здания, управлять кораблями, писать сонеты, вести бухгалтерию, возводить стены, вправлять кости, облегчать смерть, исполнять приказы, отдавать приказы, сотрудничать, действовать самостоятельно, решать уравнения, анализировать новые проблемы, побросать навоз, программировать компьютеры, вкусно готовить, хорошо сражаться, достойно умирать. Специализация — это удел насекомых. И взамен упомянутого выше устаревшего мнения мы выдвинем свой тезис - тот факт, что код сбирается на машине разработчика не интересует никого! Наша цель - сделать следующий шаг навстречу непрерывной интеграции (CI, англ. Continuous integration) и автоматизировать разрешение зависимостей, сборку и модульное тестирование под все целевые платформы. Непрерывная интеграция Непрерывной интеграцией называют практику, по которой разработчики периодически (читай ежедневно) вливают результаты своей работы в основную ветку кода. Впервые данная практика была предложена в методе Буча. Позднее в методологии экстремального программирования она обросла автоматическим прогоном модульных тестов. Свой дальнейшее развитие данная практика получила в виде непрерывной доставки (CD, англ. Continuous delivery) - процесс, в ходе которого после прохождения приёмочных тестов автоматически собирается дистрибутив, готовый к отгрузке заказчику. И уже в самом конце можно говорить об непрерывном развертывании (CD, англ. Continuous deployment) в ходе которого, все изменения прошедшие тестирование, автоматически отправляются в продакшн. Если Вы уже запутались, то можете представить себе следующую последовательность: Continuous integration Continuous delivery Continuous deployment В рамках данного мастер-класса мы будет говорить об CI применительно к разработке на C++. Предварительные требования От Вас нужно: умение программировать на C++ (спасибо, Кэп!) laptop c любой ОС один из компиляторов: Visual Studio >= 2015 g++ >= 5.4 clang++ >= 3.9 Xcode >= 8.0 cmake >= 3.6 (нужно понимать синтаксис CMakeLists.txt) git >= 2.10 python >= 3.5 pip3 >= 9.0 учетная запись на github.com учетная запись на travis-ci.org (привязанная к github) учетная запись на appveyor.com (привязанная к github) учетная запись на conan.io учетная запись на digitalocean.com Часть первая - github В первой части будем предполагать, что вы пишете домашний проект, работаете над Open Source или можете хранить исходные коды на стороннем ресурсе и готовы за это заплатить. Какие задачи Вы научитесь решать: как автоматизировать сборку под Linux и Mac OS с помощью travis-ci как автоматизировать сборку под Windows с помощью appveyor как управлять зависимостями с помощью conan как автоматизировать запуск модульных тестов под все платформы как автоматически собирать с разными конфигурациями и версиями компиляторов как создавать собственные пакеты для conan (первый шаг к CD) Часть вторая - self hosted gitlab Во второй части мы рассмотрим ситуацию, когда у Вас рабочий проект с закрытым исходным кодом и вы не хотите сильно зависеть от неподконтрольной инфраструктуры (vendor lock). Какие задачи Вы научитесь решать: как быстро развернуть gitlab на digitalocean (DO) как настроить gitlab CI для вашего проекта Заключение

Conference, November 3

  • 10:30 - 11:00

    Registration

  • 11:00 - 11:10

    Opening

  • 11:10 - 12:00

    Text Formatting For a Future Range-Based Standard Library [English]

    Arno Schödl

    Text formatting has been a favorite problem of C++ library authors for a long time. The standard C++ iostreams have been criticized for being difficult to use due to their statefulness and slow due to runtime polymorphism. Despite its age, printf is still popular because of simplicity and speed. The Boost library offers two more alternatives, Boost.Format and Boost.LexicalCast. And finally, the P0645 standard proposal sponsored by Facebook is currently finding its way through the C++ committee. All these approaches are still firmly based on standard containers and iterators. But the Standard Library is changing radically with the advent of ranges, range adaptors and functional style programming in C++. Generating optimized code with metaprogramming is becoming standard fare. In this talk, I want to convince you that the combination of ranges with a bit of metaprogramming makes for a very elegant solution to the text formatting problem. We introduce a form of ranges with internal iteration, which are generating their elements one by one rather than exposing external iterators. We can use these generator ranges to represent the values to be formatted, conceptually turning them into lazily evaluated strings. These can be used just like regular strings are used today: in function returns; as standard algorithm input; embedded into other, equally lazily evaluated strings; and so on, before they are finally expanded for display. By choosing the right interfaces, we can optimize this expansion at compile-time, making it no less pretty to write, but more efficient to expand than any text formatting approaches that rely on format strings that must be parsed at runtime. I believe that this approach is the natural extension of a range-based future standard library to text formatting.

  • 12:10 - 13:00
  • 13:10 - 14:00

    Debug C++ Without Running [English]

    Anastasia Kazakova

    Macros, templates, compile-time evaluation and code generation, reflection and metaclasses – C++ tends to hide the final code passed to the compiler under the tons of various names and aliases. Add here the preprocessor that shadows the actual running curve of your program with dozens of alternatives mixed in a non-trivial way. While this allows to avoid boilerplate code and reduce copy-paste and other errors, such an approach demands better tooling support to make the debugging process easier. To find an error in such a code, one has to continuously read-fix-run it and compare the results with some etalon, or to debug in order to find actual substitutions. But should you really wait until your code is run or even compiled to debug it? Or how to deal with the situations when the code can’t be run on the local machine? A text editor with code completion won’t help, while a smart IDE that “gets” your code can do a better job. In this talk we’ll see interesting approaches to solving cases like macro and typedef ‘debug’, understanding types when auto/decltype hide them, dealing with different code branches depending on the preprocessor’s pass-through, and other ideas. Some suggestions are already implemented as ready-to-use features in CLion and ReSharper C++, tools for C++ from JetBrains (that means I can show it in action), others are planned for the future. The aim of this talk is to share the workflows supported by the tools that can help C++ developers create better modern C++ code.

  • 14:00 - 15:00

    Lunch

  • 15:10 - 15:00

    Asynchronous programming with ranges [English]

    Ivan Čukić

    This talk will be about the design and implementation of a reactive programming model inspired by ranges that allows easy implementation of asynchronous and distributed software systems by writing code that looks like a sequence of ordinary range transformations like filter, transform, etc. This programming model will be demonstrated along with the implementation of a simple asynchronous web service where the whole system logic is defined as a chain of range transformations.

  • 16:10 - 17:00
  • 17:10 - 18:00
  • 18:10 - 19:00
  • 19:00 - 19:10

    Closing

  • 10:30 - 11:00

    Registration

  • 11:00 - 11:10

    Opening

  • 11:10 - 12:00

    Text Formatting For a Future Range-Based Standard Library [English]

    Arno Schödl

    Text formatting has been a favorite problem of C++ library authors for a long time. The standard C++ iostreams have been criticized for being difficult to use due to their statefulness and slow due to runtime polymorphism. Despite its age, printf is still popular because of simplicity and speed. The Boost library offers two more alternatives, Boost.Format and Boost.LexicalCast. And finally, the P0645 standard proposal sponsored by Facebook is currently finding its way through the C++ committee. All these approaches are still firmly based on standard containers and iterators. But the Standard Library is changing radically with the advent of ranges, range adaptors and functional style programming in C++. Generating optimized code with metaprogramming is becoming standard fare. In this talk, I want to convince you that the combination of ranges with a bit of metaprogramming makes for a very elegant solution to the text formatting problem. We introduce a form of ranges with internal iteration, which are generating their elements one by one rather than exposing external iterators. We can use these generator ranges to represent the values to be formatted, conceptually turning them into lazily evaluated strings. These can be used just like regular strings are used today: in function returns; as standard algorithm input; embedded into other, equally lazily evaluated strings; and so on, before they are finally expanded for display. By choosing the right interfaces, we can optimize this expansion at compile-time, making it no less pretty to write, but more efficient to expand than any text formatting approaches that rely on format strings that must be parsed at runtime. I believe that this approach is the natural extension of a range-based future standard library to text formatting.

  • 12:10 - 13:00

    Cross-platform code generation for C++, continued [Russian]

    Alexey Tkachenko

    The talk deals with code generation when compiling various constructs of the language, from simple to complex, on different platforms: from widely known as x86/x64 to less familiar like ARM and AVR. There will be also examples for very exotic processors such as PowerPC or even MicroBlaze. The main focus will be made not on data processing but rather on mapping of various code constructs onto instructions of the target platform.

  • 13:10 - 14:00
  • 14:00 - 15:00

    Lunch

  • 15:10 - 16:00
  • 16:10 - 17:00
  • 17:10 - 18:00
  • 18:10 - 19:00
  • 19:00 - 19:10

    Closing

  • 10:30 - 11:00

    Registration

  • 11:00 - 11:10

    Text Formatting For a Future Range-Based Standard Library [English]

    Arno Schödl

    Text formatting has been a favorite problem of C++ library authors for a long time. The standard C++ iostreams have been criticized for being difficult to use due to their statefulness and slow due to runtime polymorphism. Despite its age, printf is still popular because of simplicity and speed. The Boost library offers two more alternatives, Boost.Format and Boost.LexicalCast. And finally, the P0645 standard proposal sponsored by Facebook is currently finding its way through the C++ committee. All these approaches are still firmly based on standard containers and iterators. But the Standard Library is changing radically with the advent of ranges, range adaptors and functional style programming in C++. Generating optimized code with metaprogramming is becoming standard fare. In this talk, I want to convince you that the combination of ranges with a bit of metaprogramming makes for a very elegant solution to the text formatting problem. We introduce a form of ranges with internal iteration, which are generating their elements one by one rather than exposing external iterators. We can use these generator ranges to represent the values to be formatted, conceptually turning them into lazily evaluated strings. These can be used just like regular strings are used today: in function returns; as standard algorithm input; embedded into other, equally lazily evaluated strings; and so on, before they are finally expanded for display. By choosing the right interfaces, we can optimize this expansion at compile-time, making it no less pretty to write, but more efficient to expand than any text formatting approaches that rely on format strings that must be parsed at runtime. I believe that this approach is the natural extension of a range-based future standard library to text formatting.

  • 11:10 - 12:00
  • 12:10 - 13:00
  • 13:10 - 14:00
  • 14:00 - 15:00

    Lunch

  • 15:10 - 16:00
  • 16:10 - 17:00
  • 17:10 - 18:00
  • 18:10 - 19:00
  • 19:00 - 19:10

    Closing

Organizers

  • CoreHard

Partners

  • Solarwinds
  • JetBrains
  • think-cell.com
  • Awem
  • PVS-Studio
  • DPI Solutions

Infopartners

  • Job tut.by
  • Wargaming
  • Kaspersky Lab
  • IT-academy
  • Dot Net Summit
  • dev.by
  • Imaguru
  • IBA
  • comaqa.by
  • Epam
  • itstep.by
  • gamedev.by
  • javaday.by
  • conf.cocoaheads.by
  • ITVDN
  • HotWork
  • trud.com
  • avradays.com
  • vse-kursy.by
  • Аргументы и Факты
  • БГУИР
  • afisha.tut.by
  • Relax.by