人们去听音乐会时,他们是在为音乐买单,当然,可能还会为酒店房间、餐饮和交通买单,但他们也会获得一次难以置信的体验,一种独特的氛围,还有一段将伴随余生的记忆。
When people attend a concert, they are paying for music, sure, maybe even hotel rooms, meals, and transport, but they also gain an incredible experience, a unique atmosphere and a memory that will go through the rest of their lives.
甚至在系统没有发生故障时,上面讨论的代码还有另一种风险——并发性。
Even in the absence of system failures, there is another risk worth discussing in the above code — concurrency.
这是将一种编程语言编译为另一种编程语言时所面临的常见选择:在编译器中有多少工作要做,还有多少工作是留给生成的语言在运行时完成的。
This is a choice that is always present when you compile from one programming language into another: how much work to do in the compiler, and how much to leave for the generated language at runtime.
应用推荐