logoalt Hacker News

Gazochelast Thursday at 1:44 PM1 replyview on HN

Get out of there with the ChatGPT slop.


Replies

23434dsflast Thursday at 1:46 PM

You're right, my bad.

  The init program is just the first process (PID 1) that the kernel starts. It starts other stuff and cleans up zombie processes.

  For a single game: yes, you can absolutely just make your game PID 1. No need for systemd or anything else. When the game exits, the kernel panics and reboots.

  ISO vs container: ISO boots on bare metal with your own kernel. Container needs a host kernel and runtime. If you're making a dedicated game appliance, the ISO approach works fine - simpler actually,
  since you skip all the container orchestration machinery.
show 1 reply