Hacker GitHub

← All repos

wahern/lunix

View on GitHub ↗ ★ 61 C

Lua Unix Module.

3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2016-10-30 · latest 2021-11-19

Mentions per year 3 mentions · busiest year 2021 (2)
20082026
  1. …conventional API. For example, implementing a single-function iterator using a generator pattern: https://github.com/wahern/lunix/blob/36c2107/src/unix-getopt... IOW, I avoid the urge to encapsulate the magic in a library abstraction so it…
    comment by wahern · 2021-11-19 · in Duff’s Device in 2021
  2. …runtime cost (though you can trade the latter for the former to some extent). [1] Example: https://github.com/wahern/lunix/blob/master/src/unix-getopt....
    comment by wahern · 2021-03-09 · in Debian Running on Rust Coreutils
  3. …wrote. It's probably the shortest correct implementation of getopt in C or most any other language. https://github.com/wahern/lunix/blob/rel-20161026/src/unix-g...