CppCon 2018: Vinnie Falco “Get rich quick! Using Boost.Beast WebSockets and Networking TS”

preview_player
Показать описание


Do you want to make a lot of money? You'll see some examples of free browser and server based WebSocket programs which have earned their respective individual authors tens of millions of dollars in no time at all. Perhaps after seeing this talk in person, you'll write the next massively successful WebSocket app!

The WebSocket protocol powers the interactive web by enabling two-way messaging between the browser and the web server. The Boost.Beast library implements this protocol on top of the industry standard Boost.Asio library which models the Networking Technical Specification proposed for the ISO C++ Standard.

This presentation introduces Networking TS concepts and algorithms, how to read their requirements, and how to use them in your programs. We will build from scratch a multi-user chat server in C++11 using Beast, and the corresponding browser-based chat client in HTML and JavaScript. No prior knowledge or understanding of Beast or Asio is required, the talk is suited for everyone.


Vinnie Falco
President, The C++ Alliance


*-----*
*--*
*-----*
Рекомендации по теме
Комментарии
Автор

This is the best talk I've seen that spanned a lot of concepts in a clear way. 👏👏👏

SuperFritch
Автор

Your talk was god-tier dude. The entire presentation was amazing, on every level.

srcmake
Автор

Its wonderful to hear the voice of my wonderful Vinnie. My child prodigy and creator of Bear Share. I miss you so m u c h!

nancyfalco
Автор

That was worth a thousand pages of documentation, thank you!

andrelucas
Автор

Really great video. So much content that I found myself having to frequently pause and go back to review. Powerfully simple.

rmpowell
Автор

Another great talk from Vinnie. With the networking TS and Beast I would not be surprised to see C++ taking some place from Erlang in realtime communication. Thanks to Vinnie for making this library available to us.

mzimbres
Автор

Damn! Networking in C++ used to be complicated. Now everyone is going to know how to do that in relatively few lines of code.

alexeiz
Автор

That was quite a rich talk and just what I was looking for. I was really confused with the examples online. That transfer of ownership paradigm with the shared from this was very unintuitive to me. I like the JavaScript lessons and how everyone was so amazed at how easily it was to do the client socket in a higher level language.

jordan
Автор

Great talk, super clear and Vinnie keeps it always interesting.

CristianMarletta
Автор

great material! thanks for your great work!

jiwang
Автор

Thanks for all your great work, Vinnie.

fourscoreand
Автор

Amazing presentation. It requires multiple listen to fully grasp the full extent which is really necessary to mast low level websocket in C++. Curious about Beast alternate implementation and how they fare in terms of performance / ease of use.

FabienFabienB
Автор

30 seconds deadline for session deletion because i didn't want to use shared pointers. i learned something new today.

norikazuoshiro
Автор

around 20:40) I think `while(N--)` should be `while(--N)`, since the intent is making the vector contain N-1 threads, not N threads.
Anyway, thanks for the wonderful talk!

starriet
Автор

**claps** great talk! love your code and libs Vinnie !

teras
Автор

Thanks for making this video! So helpful.

juryk
Автор

Why does ConstBufferSequence require CopyConstructible instead of just MoveConstructible? How many coexistent copies does the write method create internally?

xfreeman
Автор

I would really like a talk about Boost.Beast with the Networking TS and the Coroutines TS. If there isn't one, I think we will all get too comfortable with JavaScript async/await. C++ needs coroutines here to simplify the lifetime of the state, not just the control flow, using an allocator that allocates out of a a std::array in the coroutine frame.

It would be nice if someone would make this not-yet-done talk.

jaysistar
Автор

Could someone please explain to me the reasons of the reoccurring Javascript bashing here at cppcon talks? Or how should it be understood if not bashing? Is it just a popular humorous handling of other languages in general, more like a running gag? But if I should keep my hands away from JavaScript in productive code, for what reasons and what's the better alternative?

AYetau
Автор

it is 2022 and still no standardized networking in c++

bsuperbrain