Как стать автором
Обновить
18
0.1

Пользователь

Отправить сообщение

Уменьшить размер консольного .NET 5.0 приложения

Время на прочтение3 мин
Количество просмотров5.5K

Сборка консольного приложение может неожиданно создать файл гораздо большего размера чем ожидалось из-за неявных зависимостей.

В чём проблема и как решить?

Читать далее
Всего голосов 7: ↑6 и ↓1+7
Комментарии34

ConcurrenCpp — The C++ concurrency library

Время на прочтение31 мин
Количество просмотров5.4K

Repository


concurrencpp allows applications to write asynchronous code easily and safely by using executors and coroutines.


By using concurrencpp applications can break down big procedures that need to be processed asynchronously into smaller tasks that run concurrently and work in a co-operative manner to achieve the wanted result.


concurrencpp also allows applications to write parallel algorithms more easily by using parallel coroutines.


concurrencpp main advantages are:


  • Being able to write non-blocking, asynchronous code easily by using the C++20 coroutines and the co_await keyword.
  • Being able to write modern concurrent code without having to rely on low-level concurrency primitives like locks and condition variables.
  • The concurrency runtime manages all low-level resources such as threads automatically.
  • Reducing the possibility of race conditions, data races and deadlocks by using high-level objects with built-in synchronization.
  • concurrencpp provides various types of commonly used executors with a complete coroutine integration.
  • Applications can extend the library by using their own provided executors.
  • Applications automatically scale-up to use all hardware processors (cores).
Read more →
Рейтинг0
Комментарии0

Информация

В рейтинге
4 202-й
Зарегистрирован
Активность