Re:Linus Torvalds on the new MacBook Air
by bitwize on Sunday November 22, 2020 @02:08PM
(#25180078)
C compiles in a flash on today's hardware. It's only when you have a BIG C codebase (the kernel counts as big), or a medium-sized C++ codebase, that things slow down.
[ Parent
| on HN ]
Re:Linus Torvalds on the new MacBook Air
by segfaultbuserr on Monday November 23, 2020 @09:13AM
(#25186912)
C++ code that uses templates heavily is painful to compile, using 6 GiB of RAM is possible even for a "make -j1" build. It's kind of funny that a VPS with little RAM can build a full Linux kernel with all the modules and drivers, yet cannot build a small webserver. For big projects, the final linking process also eats enormous amount of RAM, it's possible for a small system to survive all the build and gets killed during the final linking.