Loading…
This event has ended. View the official site or create your own event → Check it out
This event has ended. Create your own
View analytic
Friday, May 19 • 2:30pm - 4:00pm
No raw std::thread! - Live Tweet Analysis in C++

Log in to save this to your schedule and see who's attending!

Feedback form is now closed.
No raw loops is the clarion call for applying the existing std algorithms to values-distributed in space.
No raw std::thread is the same call to apply algorithms to values-distributed-in-space.
The live tweet analysis app, explored here, provides a working example of how complex interactions between; a live stream of tweets, REST api calls, and the main rendering loop can be expressed by applying concurrent algorithms instead of raw std::thread and std::mutex.
The app will request the twitter stream, parse out each tweet, call a Machine Learning REST API to return the sentiment of each tweet (positive or negative) display the tweets with search, display a word cloud and eventually attach the sentiment back to the correct tweet when the REST API completes.
The app uses algorithms for values distributed in time to batch values in space, distribute values to different threads and coordinate values through time. When the values are distributed in space then the range-v3 algorithms library is used to process the batch of values.

Speakers
avatar for Kirk Shoop

Kirk Shoop

Principal Software Engineer, Microsoft
Rx Cpp, Asynchronous Algorithms, catching code errors at compile time.


Friday May 19, 2017 2:30pm - 4:00pm
Bethe

Attendees (30)