I remember reading something about a guy who tried to stay awake for 2 weeks. I don't think he managed it.
I've been awake for 36+ hours, but I can't even get to 24 any more; I get this weird thing which I think is passing out (for like, half a second). I kinda start to fall asleep and then jump awake. It's strange.
all of them showed progressive and significant deficits in concentration, motivation, perception and other higher mental processes as the duration of sleep deprivation increased
i don´t experience the lack because of programming... it´s more a negative addiction to the computer and games and also an inner drive to miss at least as possible from life^^... life-action-addiction :D...
Once in a while I stay up all night working on something if it's very engaging. The most common situation is a bug that's really kicking my ass and I won't be able to sleep until I can fix it. Given normal sleep phase, I can work as usual until about 3-4 am without caffeine (C); if the subject is really engaging, this can prolong until 6 without me noticing. After that I drop to 50% effectiveness without C and 66% with. This goes on until 7-8, when I can get my brain to stop screaming for sleep with a constant influx of C. After noon, working is no longer an option with or without C, but I can't fall asleep or I'll go out of phase; I sleep like the dead, so alarms usually do nothing unless I set my computer to play something really loud, in which case I just turn it down or off and go back to sleep in less than a minute.
The 8 hours after 12 pm are absolute hell. A test of will to stay awake and try not to give in and risk going out of phase.
It would probably be much more productive to just go to sleep and continue in the morning, but that's not how my reward systems work.
Depending on the amount of work that is needed on something or if something is frustrating me and I'm bound to fixing it or implementing it, I can stay up all night without sleep and just sleep in school (or not). I think programming is a little bit more than a hobby for me. :/ It's more like what I put my time that I would otherwise be bored into and what I put frustration into to get my mind off of certain things not to mention that it's normally 100% productive.