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

 



Forgot your password?
typodupeerror

Comment On earth. (Score 1) 242 242

I really can't think that Boeing would be so daft as to think that anyone would ever use this on Earth.

Project Pluto was supposed to be used on Earth. You know, if the Americans can't have it, then at least the commies wouldn't have it, either.

https://en.wikipedia.org/wiki/...

Comment Re: C++ is never the right tool (Score 1) 296 296

Once memory is allocated in an embedded system, it cannot be de-allocated.

Wait, you're not using the stack? ;)

Ok, back to serious mode - I'm working on small embedded stuff, and memory is either allocated statically or it's on the stack in the form of local variables. new/delete/malloc/free don't appear in my code, either.

Comment Re:Division Has A Meaning (Score 1) 1067 1067

Put the check there.

Depending on your platform, putting the check there might interfere with CPU load/latency constraints (and using a bigger CPU might interfere with power/cost constraints), while having the CPU just return zero as the result of division by zero can be handled later (when it doesn't interfere with CPU load/latency).

Comment Contradiction ... (Score 1) 296 296

The main reasons I have for this are the needs to manage memory usage and disk access at a very granular level and a desire to be cross-platform.

You can pick one of the two and make no promises about the other.

Or does "cross-platform" in this context mean "Linux+Windows"?

It's great to be smart 'cause then you know stuff.

Working...