Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: ShadowAce; who_would_fardels_bear
One has to pack a LOT of functionality into a very small coding space. Sometimes it required GOTOs to save code.

I agree, but I thought this thread concerned Linus Torvalds and the Linux kernel, which who_would_fardels_bear stated was comprised of more than 15 million lines of code. That is by definition not going to be packed into a "very small coding space."

I don't have anything against GOTOs in very resource-limited environments.

It's been a long time since I had to pack anything into 64K of memory.

BTW, I once wrote code for the RCA 1802, and debugged it with an oscilloscope. Back when Body Heat was brand new, and Kathleen Turner was super hot.

18 posted on 11/12/2015 7:39:16 AM PST by Steely Tom (Vote GOP: A Slower Handbasket)
[ Post Reply | Private Reply | To 16 | View Replies ]


To: Steely Tom
...this thread concerned Linus Torvalds and the Linux kernel, which who_would_fardels_bear stated was comprised of more than 15 million lines of code.

Yeah--that's a lot of code.

My first question, is how much is used in any one installation? A lot of that code is determination for hardware platform. I'd actually like to see multiple versions of the kernel, based on the hardware it's aimed at.

Just separating 32-bit from 64-bit code would shrink it a lot. I know that it does depend on the compiler, but there's quite a bit of code in there regarding that as well.

Also, compiler optimizations and code optimization would be a huge help for shrinking the memory footprint and speed.

19 posted on 11/12/2015 7:48:31 AM PST by ShadowAce (Linux - The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 18 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson