TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

What a Programmer Sees When He Watches Inception

74 点作者 indiefan将近 15 年前

11 条评论

forkandwait将近 15 年前
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 未加载
adbge将近 15 年前
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 未加载
forkandwait将近 15 年前
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 未加载
ardit33将近 15 年前
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 未加载
bitwize将近 15 年前
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.
siglesias将近 15 年前
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 未加载
bmalicoat将近 15 年前
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 未加载
qbg将近 15 年前
What a computer scientist sees is an infinite tower of reflective interpreters.
l0nwlf将近 15 年前
'Inception' was a classic example of recursion.
评论 #1526158 未加载
jhuckestein将近 15 年前
if(depth &#62; 3) return false; else {<p><pre><code> try { // ... do what the OP wrote } catch (DeathException D) { enterLimboState() ... } }</code></pre>
googler将近 15 年前
What if <i>she</i> watches it?
评论 #1526363 未加载
评论 #1527585 未加载
评论 #1526193 未加载