Page 1 of 2

Smallest kernel +ramfs+apps+GUI+keyboard+mouse support ....

Posted: Sat Jan 26, 2008 1:33 pm
by dc0d32
:shock:
I couldn't understand a single line :roll:

Hats off to this guy.

btw, lets talk about maintaining this kernel :wink: Who's in?

[note : it _does_ compile and run]

edit : maybe wrong forum. My mistake. Mods, could you please move this if required?

Posted: Sat Jan 26, 2008 1:51 pm
by AJ
Topic moved as requested.

Cheers,
Adam

Posted: Sat Jan 26, 2008 1:59 pm
by dc0d32
maybe "general programming" is a better place?

Gee i think its more readable ....

Posted: Sat Jan 26, 2008 5:24 pm
by DeletedAccount
Wow cool!! Hats of to Gavin ... 8)

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 ...

Posted: Mon Jan 28, 2008 3:59 pm
by B.E
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).

Posted: Wed Jan 30, 2008 5:27 am
by JamesM
Guys,

Gavin actually works in my office. I in fact used to sit opposite him. It is indeed an awesome obfuscation entry ;)

Say Congrats from me

Posted: Wed Jan 30, 2008 11:13 am
by DeletedAccount
:lol: Say congrats from me 8) 8) He is indeed a master programmer

Posted: Mon Feb 04, 2008 8:30 pm
by bloodhound23
I didn't take much time to try to read it. Insanely greek to me. comments look like they are off some weird planet. Utterly, confused. :shock:

Re: Say Congrats from me

Posted: Tue Feb 05, 2008 5:31 am
by os64dev
SandeepMathew wrote::lol: Say congrats from me 8) 8) He is indeed a master programmer
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.

Posted: Tue Feb 05, 2008 5:54 am
by AndrewAPrice
Does anyone mind uploading a binary? I really don't want to go through each of the dependencies and rebuild them as elfs.

Re: Say Congrats from me

Posted: Tue Feb 05, 2008 6:57 am
by JamesM
os64dev wrote:
SandeepMathew wrote::lol: Say congrats from me 8) 8) He is indeed a master programmer
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.
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.

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

Posted: Tue Feb 05, 2008 7:00 am
by Solar
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.
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." :twisted:

Re: Say Congrats from me

Posted: Tue Feb 05, 2008 7:31 am
by JamesM
Solar wrote:
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.
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." :twisted:
:D :D Love it!

Posted: Tue Feb 05, 2008 7:38 am
by bloodhound23
Who wants to try it?

Okay ....

Posted: Thu Feb 07, 2008 11:08 am
by DeletedAccount

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.
This is an entry for an obscufarated C Coding contest . It appears that he has
achieved an admirable result .. :lol: 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 ) .