Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

Linux Applications Programming by Example: The Fundamental APIs (2nd Edition) (https://github.com)

163 points by teleforce 2 days ago | 19 comments | View on ycombinator

discarded1023 2 days 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/

NewsaHackO 2 days ago |

Is there an actual book available?

drnick1 1 day ago |

Why post this without making the text available?

lordmoma 1 day ago |

what is so fun about this?

andreygrehov 1 day ago |

What’s the purpose of this submission?