Hi Emile,
awesome! thanks for sharing your work!
Am 14.08.22 um 02:12 schrieb Emile Cormier:
> Hi Everyone,
>
> Version 0.10.0 of the CppWAMP <
https://github.com/ecorm/cppwamp> C++
> WAMP client library has been released.
>
> Some of new features:
>
> * Callback functions, yield_context, use_awaitable, and use_future now
> supported as completion tokens.
> * C++20 coroutines now supported
> * Migrated from AsyncResult to new ErrorOr class which better emulates
> the proposed std::expected.
> * Added Session overloads with the ThreadSafe tag type which can be
> called concurrently by multiple threads.
> * Users can bind custom executors to their handlers and Session will
> use them when executing those handlers.
> * Boost.Asio cancellation slot support for Session::call.
very cool, also supporting C++20 coroutines: +1
looking through the examples with the various different approaches, one
thing I am wondering: do you have guidelines/tips for users _which_
approach to use?
say, I want to get started with "the simplest" example demonstrating all
4 WAMP actions, and say I have a modern/recent g++/clang.
which example should I clone to start with?
there seems to be 2 main approaches offered which are outlined in
https://github.com/ecorm/cppwamp#usage-examples-using-stackful-coroutines
https://github.com/ecorm/cppwamp#usage-examples-using-asynchronous-callbacks
right? I think it would be nice to have a short description of each
approach, and a comparison/guide of both added, and move this right to
the top after "features" in the readme. probably even adding the same
clients with 4 actions using javascript/browser. just to show and
convince right in the beginning ..
>
> I'm now starting work on these upcoming features:
>
> * Polymorphic codecs and transports (instead of current template mess)
not sure, what is "polymorphic" codecs?
> * Embeddable router
have you decided about the general design yet, such as "sans-IO" or
integrated with a specific loop/reactor?
>
> The enthusiasm towards WAMP seems to have waned over the years (I hope
> I'm wrong about that). Out of curiosity, what other technology is being
> using instead?
fwiw, I'd also be interested in this!
from what I see, eg in IoT, the more modern/advanced users are often
using MQTT and REST. hack sth together on top to make a specific app
with a concrete mix of services/components work. very pragmatic / adhoc.
eg there are AT-command modem chips (eg ESP32) with a MQTT client
built-in you can talk to from your main MCU via UART ..
Cheers,
/Tobias
>
> Cheers,
> Emile Cormier
>
> --
> You received this message because you are subscribed to the Google
> Groups "WAMP" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
wampws+un...@googlegroups.com
> <mailto:
wampws+un...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/wampws/21aaa30b-c430-49da-91b4-ee073141402bn%40googlegroups.com
> <
https://groups.google.com/d/msgid/wampws/21aaa30b-c430-49da-91b4-ee073141402bn%40googlegroups.com?utm_medium=email&utm_source=footer>.