Hacker GitHub

← All repos

rtomayko/posix-spawn

View on GitHub ↗ ★ 526 Ruby

Ruby process spawning library

5 mentions on Hacker News by 5 people: 1 story, 4 comments · first 2011-03-04 · latest 2021-02-23

Mentions per year 5 mentions · busiest year 2011 (1)
20082026
  1. What about posix_spawn() with POSIX_SPAWN_USEVFORK? That saves some of the overhead. See eg https://github.com/rtomayko/posix-spawn#benchmarks
    comment by bla3 · 2021-02-23 · in Mold: A Modern Linker
  2. …with either or both point towards an explanation for why that's the case? It seems very odd. [1] https://github.com/rtomayko/posix-spawn#benchmarks
  3. …[1] is an alternative that works well. [0] https://github.com/schneems/get_process_mem [1] https://github.com/rtomayko/posix-spawn
    comment by semiquaver · 2017-12-18 · in How do Ruby and Python profilers work?
  4. …wanting to do this at scale should look at posix_spawn to avoid forking the process (ruby gem here: https://github.com/rtomayko/posix-spawn ). Also probably ruby's ShellWords for escaping.