Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:Only true if MS made laptops (Score 4, Insightful) 189

Its yet another club that MS can use against the OEMs.

Don't like what MS demands for the desktop? Oops, I guess we can't sell your laptops in the stores anymore.

Promise to ditch linux? Yeah, we can make space for your wares in the stores.

This isn't good news for vendors no matter how you slice it.

Comment Re:What Benefit Does C Have Over Assembly? (Score 4, Insightful) 207

Being in C, it is easier to see what the person writing it was doing, compared to assembly.

Consider if you had to do some nasty computation such as finding what address is used for a given row and column on the screen:
(in bad assembly)

mov ax, row
mov bx, col
shl col,#1
xor dx,dx
mul ax,#80
add ax,bx
mov pos,ax

Whereas in C it is:

pos=(row*80)+(col*2);

and much more readable.

Slashdot Top Deals

"Experience has proved that some people indeed know everything." -- Russell Baker

Working...