u/whatyouhidein r/elixir • Recommends
Solving Protohackers networking challenges in Elixir — Episode 2
1.1K subscribers • 4 videos on Hallway
Intermediate. Assumes working knowledge.
3.1K views3 years ago1 recommendation
Programming languagesSystems programmingElixir and ErlangNetworking and protocolsConcurrency and parallelism
Andrea Leopardi solves the Protohackers Prime Time challenge by building a TCP server in Elixir that validates prime numbers.
This is the second video of my "Protohackers" Elixir series. We're solving network challenges from protohackers.com. I’m deploying code using a free account on fly.io. The source code is on GitHub: github.com/whatyouhide/protohackers_in_elixir Some resources for the video: • "inet:setopts/2" documentation (for the "packet" option): erlang.org/doc/man/inet.html#setopts-2 • Deploying Elixir applications on Fly.io: fly.io/docs/elixir/getting-started/legacy • Documentation for the Erlang gen_tcp module: erlang.org/doc/man/gen_tcp.html Other resources: • My website: andrealeopardi.com • Twitter: twitter.com/whatyouhide • Mastodon: mas.to/@whatyouhide • #Elixir's website: elixir-lang.org Music from Uppbeat (free for Creators!): [uppbeat.io/t/walz/name](uppbeat.io/t/walz/name) License code: WX2ISVMMX8I1FJMDThis is the first video of a series on solving some network programming challenges in Elixir ([elixir-lang.org](elixir-lang.org/)). The challenges are from [protohackers.com](protohackers.com/). Chapters: Intro Protohackers problem description Starting to implement The "packet" option The "buffer" option Parsing JSON Automated tests Checking if a number is prime Deploy and testWhat people say. Recommended as a practical guide to handling TCP sockets and JSON protocols in Elixir.
u/whatyouhidein r/elixir • Recommends