libuv icon indicating copy to clipboard operation
libuv copied to clipboard

[Documentation] Add beginner-friendly examples for common use cases

Open SuryaGanesh284 opened this issue 1 month ago • 2 comments

Problem

Libuv's documentation is comprehensive for experienced developers, but lacks beginner-friendly examples for common async I/O patterns.

Suggestion

Add a "Getting Started Examples" section with:

  • Simple TCP server/client
  • File system operations
  • Timer basics
  • Basic event loop usage

Benefit

Helps students and junior developers learn async I/O concepts using libuv

SuryaGanesh284 avatar Nov 26 '25 10:11 SuryaGanesh284

There are examples in https://docs.libuv.org/en/v1.x/guide.html - if you're saying they're too complex for beginners, what would you change?

bnoordhuis avatar Nov 26 '25 18:11 bnoordhuis

I wrote some, with some extra love, I could "port" them, the syntax is quite wrong.

https://github.com/juanarbol/uvxamples

juanarbol avatar Dec 05 '25 03:12 juanarbol