Как стать автором
Обновить
17
0.2

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

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

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

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

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

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

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

ConcurrenCpp — The C++ concurrency library

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

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

Информация

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