News for hackers. Stuff that matters.
Re:Ask HN: Improve C language skills after K&R? by leksak on Saturday July 30, 2016 @08:41AM (#12192730)
Write a chat server capable of handling concurrent clients, and write a front-end client in Ruby.

You'll need a thread-safe FIFO datastructure, such as a queue, handle sockets, define a communications protocol (or borrow one, I'd recommend IRC).

Bonus: This will also teach you more about the Internet protocol suite (https://en.wikipedia.org/wiki/Internet_protocol_suite), particularly the Application/Transport layer.

Side-note: Project Euler and cryptopals problems are not well-suited for C, use the right tool for the job.

There are no comments on this comment yet.