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

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment Re:Surprise? Why? (Score 1) 348

There are a lot of cases where the compiler will pick it wrong, especially in embedded world.
Maybe compiler assumes code is run from ram although it is run from flash, meaning different code is a lot faster.

Then there are cases which the compiler cannot even handle, like cache cleanup and memory barriers - there is no way the compiler can know the peculiarities of your (custom) system. Same with task swap and atomic operations. You might be able to write those with C intrinsics, but even then you must know what code the compiler will create (i.e. not let optimizer reorder operations over a memory barrier - far from trivial).

The compiler support for those cases hasn't really improved in last ten years or so, actually due to new aggressive optimizations it could be said it is worse.

Comment Re: Windows 10 (Score 1) 249

#4 LibreOffice is not a replacement of Office, even if it works for you. It does not work for me. A bit offtopic, there are lot of web-apps which work only with IE.

#7 This is annoying. There still is no stable video with lip-sync (main reason: pulseaudio). There is still no good replacement for xv (gimp & ristretto are both slow and cumbersome and limited). I do not know if it worse in windows or not, I know it is annoying in Linux world.

#10 atomic.h is in very few distros (Ubuntu LTS misses it). Two different distros are going to have different version of Python meaning difficulties if you need to support both. Same for huge amount of other SW, the biggest reason being nobody gives a shit about backward compatibility.

Comment Re:What happened to C? (Score 1) 172

1: Memory model. That is, how "volatile" *really* behaves. 99.9% programmers do not understand volatile (i.e. memory barriers in SMP, etc).
2: Threads. 90% of programmers do not understand threads, and of those who do, most have no clue how memory barriers and atomic operations work.

We need a language where explicit threading is not needed. We do not (yet?) have one.

Comment Re:Nah (Score 2) 364

"Me: Their profit was .3 billion."

Do you know why their profit was so low? Because (some of them) funneled their profits to the company in tax heaven. How they do that? For example, by buying new logo for 1 billion, taking loan for that witn 20% interest rate, or by licencing for huge value, etc. From the company in the tax heaven.

Legal? Maybe. Ethical? You answer that.

Comment Re:Umm... (Score 1) 49

I cannot understand how USA got a secret court. Proposing something like that back here in EU would (in most countries) mean political suiciside. I cannot imagine anyone (from far left to far right to anarchists to greens to intelligence agency to ...) with the slightest credibility advocating such a beast here in Finland. Not at least publicly.

Comment Re:Surprised the company didn't care much (Score 2) 240

I do not think this particular disaster is that bad. Worse is the fact that there are huge amount of similar "we don't give a shit" disasters waiting to happen in every industry. It will continue as long as there are no persons responsible to fix those - company can always pay a fine.

Comment Re:Only good guys should shoot guns (Score 1) 935

The regulation, as I understand it, would try to keep (functional) guns from bad guys.
Will it succeed 100%? No. Can it? No. But even 1% (less deaths) would be huge improvement, right?

As I am a foreigner, I probably should not give advice, but as an egoistic asshole I still give:
1: Remove the right to own guns from everybody. Give it back to those who register their guns. (get a better wording for same effect as this would never pass)
2: Penalise people who mishandle their guns (store/carry inappropriately, etc.) by revokin their gun permits. Or more. (ref: kid who shot neighbor kid: the owner of the gun should be severely penalized, IMHO).
3: Guns can (legally) be sold only to persons with a permit (for that particular gun). There needs to be easy and relatively cheap way to get the permit. "Bad" guys don't get one.

Something like this works, to a degree, in EU. It is by far not perfect, but better than nothing.

Slashdot Top Deals

try again

Working...