TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

What a Programmer Sees When He Watches Inception

74 pointsby indiefanalmost 15 years ago

11 comments

forkandwaitalmost 15 years ago
Inception also understands "Big Oh" ideas -- when you are looping inside the third level down, you have 10 seconds on the outside giving you 10^3 seconds on the inside. (EDIT: a single "tick" in one level allows for 20 or so "ticks" at the next level of dreaming, because of extra brain capacity during sleep.)<p>Hehe -- I loved the movie...
评论 #1526364 未加载
评论 #1526637 未加载
评论 #1526695 未加载
adbgealmost 15 years ago
I found the movie didn't make a whole lot of sense at times. It felt like the writer cut a lot of corners when it came to the whole logical coherency of the plot. Maybe if we blow something up they won't notice!<p>The plot was entertaining and a good idea, but it left a lot to be desired. It's not destined to become a classic like: Fight Club, 12 Monkeys, Requiem for a Dream, Primer. If you enjoyed Inception, do yourself a favor and check those out if you haven't seen them.
评论 #1526694 未加载
评论 #1526902 未加载
评论 #1526718 未加载
评论 #1526631 未加载
评论 #1526681 未加载
评论 #1526469 未加载
forkandwaitalmost 15 years ago
Furthermore, ... I thought it was interesting the movie only went down 4 levels. I have a rule of thumb when working on hierarchical structures (like a directory tree holding lots of data) that three levels of hierarchy is all a person can hold in their head at a time. This is sort of the like the 7 items +/- 2, except I think that the seven items rule only applies "across" a structure. To understand more than three levels deep requires supplementary structures like indexing, sorting, or nesting ...<p>(of nesting (of nesting (...)))
评论 #1526482 未加载
ardit33almost 15 years ago
Entering Limbo = Memory Leak. The reference to an object is nullified (the subject's projection/reference is killed in the dream), so the object is leaked and there is no way to access it, until either a garbage collection happens, or when the parent process is stopped. (i.e. the subject is awaken up).
评论 #1534272 未加载
bitwizealmost 15 years ago
What I thought:<p>* These dreams are far too cohesive and realistic. Dreams aren't like The Matrix where physics is normal and you do something to it. They're more like weird shit happens <i>and you accept it as normal</i>.<p>* Dreaming nested 3 levels of recursion deep? Done it, didn't need a sedative.
siglesiasalmost 15 years ago
Anybody else think of the book Godel Escher Bach when they were watching this movie? Beautiful how the movie wraps in on itself like a mobius strip.
评论 #1526308 未加载
评论 #1527538 未加载
bmalicoatalmost 15 years ago
Can someone explain why the zero g scenes didn't cascade down through each dream level? They were feeling forces in the first dream in the van and those would go to the hotel but those sleeping there would not feel the same forces (eg lack of gravity) the next level down.<p>I did really love the idea behind the totem though, very clever.
评论 #1526440 未加载
评论 #1534308 未加载
评论 #1526688 未加载
评论 #1526466 未加载
评论 #1526521 未加载
qbgalmost 15 years ago
What a computer scientist sees is an infinite tower of reflective interpreters.
l0nwlfalmost 15 years ago
'Inception' was a classic example of recursion.
评论 #1526158 未加载
jhuckesteinalmost 15 years ago
if(depth &#62; 3) return false; else {<p><pre><code> try { // ... do what the OP wrote } catch (DeathException D) { enterLimboState() ... } }</code></pre>
googleralmost 15 years ago
What if <i>she</i> watches it?
评论 #1526363 未加载
评论 #1527585 未加载
评论 #1526193 未加载