Skip to content

kobi-ca/jan-223-coroutines-talk

Repository files navigation

San Diego C++ Meetup example for Coroutines talk

Using conanfile.txt with:

  • liburing
  • bshoshany-thread-pool

regular process - venv, install and using the following command for gcc-12

conan install -pr default-gcc12.2 --build=missing ..

and the profile looks like:

conan profile show default-gcc12.2

output:

Configuration for profile default-gcc12.2:

[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=12.2
compiler.libcxx=libstdc++11
build_type=Release
[options]
[conf]
[build_requires]
[env]

sending nc commands

example:

echo "hello world 1" | nc -nu 127.0.0.1 9090 -w0
echo "hello world 2" | nc -nu 127.0.0.1 9091 -w0

and the results are shown in the terminal (crc results)

installing liburing

You can use conan.io to install liburing or your fav package manager. e.g.

sudo apt -y install liburing-dev

references:

About

sdcppmu Jan 2023 coroutines talk

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published