Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?

Comment Re:Wasn't Windows 95 and 98 built from the ground (Score 1) 106

Managed code by its nature can work WITHOUT memory protection at all.

How did you think the "management" worked? Either you trap each pointer access manually (and maintain all of that state and overhead), or you use a memory management unit to do it for you (and accept the cost of traps and context switches).

The very best that a VM runtime can do is infer that a class of access is impossible and thus exclude traps for it. This only works in extremely limited circumstances, and still requires code to be correct. It in fact makes profiling really difficult - and performance is the whole problem in the first place.

Comment Re:Not Really (Score 5, Interesting) 349

I disagree - user-mode code, whether it's separated into threads or processes, still relies very heavily on kernel scheduling decisions. It may sound simple enough, but if you study the decisions the kernel has to make (such as which thread to wake first, from a set of 8 all waiting on the same semaphore), you can find lots of ways to get it wrong. We now take it for granted because thousands of man-years have been spent on solutions.

Comment Re:GCD also replaces most synchronization / lockin (Score 2, Insightful) 205

If you're creating a serial queue anyway, you no longer have parallelism. If you have multiple serial queues, you may as well have had multiple threads with no interlocking between them. This is just yet another API to do what competent parallel system programmers have been doing since the first thread.

Comment Re:People who write in textbooks... (Score 1) 247

I agree. The best students I know don't even buy the books, let alone write in them, because they're actually using the material in practice (hobby, job, overkilling lab work, etc.) and internalise it better than note-taking and highlighting ever could. They look lazy until you see what they can actually do.

Comment Re:First post... (Score 1, Insightful) 830

In all fairness, when did Microsoft ever have fanfare? Informed computing enthusiasts were sick of Windows after 10 minutes, opting to at least diversify into Apple and free Unix, and nobody else even knew there was anything other than Windows, and treated it as part of the computer.

Now that people realise they have choices, Microsoft is scrambling to do what it never had to do - actually market its operating system - and has shown all of the competency of a high school dropout.

Slashdot Top Deals

6.023 x 10 to the 23rd power alligator pears = Avocado's number