Smallest kernel +ramfs+apps+GUI+keyboard+mouse support ....
Smallest kernel +ramfs+apps+GUI+keyboard+mouse support ....
I couldn't understand a single line
Hats off to this guy.
btw, lets talk about maintaining this kernel Who's in?
[note : it _does_ compile and run]
edit : maybe wrong forum. My mistake. Mods, could you please move this if required?
- Attachments
-
- gavin.tar.gz
- Taken from IOCCC.org
- (14.05 KiB) Downloaded 208 times
-
- Member
- Posts: 566
- Joined: Tue Jun 20, 2006 9:17 am
Gee i think its more readable ....
Wow cool!! Hats of to Gavin ...
But it is more readable after the macors are expanded ....
I just tried cpp gavin.c -ogavin.mac after #defining the -D flags
Still it is very unreadable ...
But it is more readable after the macors are expanded ....
I just tried cpp gavin.c -ogavin.mac after #defining the -D flags
Still it is very unreadable ...
You can than put that output into indent:
indent gavin.mac -gnu -br --brs -l1024 -npsl
Should me it 'easyer' to read
Edit: also if you chuck it though eclipse's formatter, than you get it even more readable, though it's still unreadable though (because of all of the casts).
indent gavin.mac -gnu -br --brs -l1024 -npsl
Should me it 'easyer' to read
Edit: also if you chuck it though eclipse's formatter, than you get it even more readable, though it's still unreadable though (because of all of the casts).
Microsoft: "let everyone run after us. We'll just INNOV~1"
-
- Member
- Posts: 566
- Joined: Tue Jun 20, 2006 9:17 am
Say Congrats from me
Say congrats from me He is indeed a master programmer
- bloodhound23
- Member
- Posts: 115
- Joined: Wed Jan 23, 2008 7:13 pm
- Contact:
Re: Say Congrats from me
The code is unmaintainable, unreadable and after macro expansion and compilation the code will be just as large if fully written out, so explain to me why he is a master programmer and not just a geek.SandeepMathew wrote: Say congrats from me He is indeed a master programmer
Author of COBOS
- AndrewAPrice
- Member
- Posts: 2299
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
Does anyone mind uploading a binary? I really don't want to go through each of the dependencies and rebuild them as elfs.
My OS is Perception.
Re: Say Congrats from me
If it hasn't clicked yet, I'll explain again for the particularly slow: the intention of the competition is to recieve the most obfuscated C code possible.os64dev wrote:The code is unmaintainable, unreadable and after macro expansion and compilation the code will be just as large if fully written out, so explain to me why he is a master programmer and not just a geek.SandeepMathew wrote: Say congrats from me He is indeed a master programmer
Gavin is a geek, but as are >90% of people in our profession. He is also an unbelieveably good programmer and software architect.
Re: Say Congrats from me
Funny enough they never made a contest of obfuscating C++. As a comittee member once put it, "that would be like shooting fish in a barrel."JamesM wrote:If it hasn't clicked yet, I'll explain again for the particularly slow: the intention of the competition is to recieve the most obfuscated C code possible.
Every good solution is obvious once you've found it.
Re: Say Congrats from me
Love it!Solar wrote:Funny enough they never made a contest of obfuscating C++. As a comittee member once put it, "that would be like shooting fish in a barrel."JamesM wrote:If it hasn't clicked yet, I'll explain again for the particularly slow: the intention of the competition is to recieve the most obfuscated C code possible.
- bloodhound23
- Member
- Posts: 115
- Joined: Wed Jan 23, 2008 7:13 pm
- Contact:
-
- Member
- Posts: 566
- Joined: Tue Jun 20, 2006 9:17 am
Okay ....
This is an entry for an obscufarated C Coding contest . It appears that he has
The code is unmaintainable, unreadable and after macro expansion and compilation the code will be just as large if fully written out, so explain to me why he is a master programmer and not just a geek.
achieved an admirable result .. It requires the coder to be familiar with
all the quirks and other subtilities to write code in this fashon . That way i genuinely restate that Gavin is indeed a master programmer . Also most of the C fans (like me ) like terse but readable code ( but unreadability is an objective here ) .