NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Linux Applications Programming by Example: The Fundamental APIs (2nd Edition) (github.com)
discarded1023 2 hours ago [-]
For those looking for a broader/more portable introduction, Xavier Leroy and Didier Rémy wrote a great high-level text on UNIX system programming a long time ago [1]. Of course it uses ocaml (perhaps motivating some to learn that language) but the style is low-level and straightforwardly imperative. The advantage is that it sweeps up a lot of the messy and boring error handling into the ocaml runtime and/or exceptions. This makes the code a lot easier to follow, but of course makes it look misleadingly simpler than it would be in C (etc).

[1] https://ocaml.github.io/ocamlunix/

jacobgeorge08 2 hours ago [-]
Thanks! I just started the OCaml Programming Book this week to learn and language and get better at functional programming. Cant wait to jump into this after
NewsaHackO 2 hours ago [-]
Is there an actual book available?
fuzzybear3965 2 hours ago [-]
NewsaHackO 2 hours ago [-]
Of course, I saw that, but if the text of the book is not freely available, then the examples wouldn't really be helpful, no?
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 02:59:02 GMT+0000 (Coordinated Universal Time) with Vercel.