News for hackers. Stuff that matters.
Re:KnightOS was an interesting operating system by Koshkin on Tuesday January 28, 2020 @10:44AM (#22170383)
As far as program resources go, on DOS, at least, it used to be possible to simply append a file to the executable, and the loader would put everything in RAM. (On the other hand, you do not need a generic web server to serve a single static page; then you don’t need a file system to store one file.)
Re:KnightOS was an interesting operating system by emily-c on Tuesday January 28, 2020 @11:06AM (#22170610)
This is still pretty common for things like self extracting archives on Windows.

  copy /b "%windir%\system32\extrac32.exe"+inputarchive.cab selfextract.exe
Re:KnightOS was an interesting operating system by ronsor on Tuesday January 28, 2020 @11:57AM (#22171231)
You can do that with most executable formats: MZ/NE/PE (DOS, Windows), ELF (Linux, BSD). Not sure about mach-o (macOS) though.