3 ms·
The computer is still deterministic, but somebody lower in the technology stack doesn't want to completely define its behavior.
by extension 16y ago
The computer is still deterministic, but somebody lower in the technology stack doesn't want to completely define its behavior.
- KeithMajhor 16y agoYou're right. However, from the perspective of the programmer it is non-deterministic. It only becomes deterministic when it is coupled with a particular scheduler and dispatcher. Most programmers strive to write cross platform code.
- gnaritas 16y ago> Most programmers strive to write cross platform code. On what planet? Surely not this one, as most programs are very tightly coupled to particular operating systems.
- KeithMajhor 16y agoRude, but whatever... you might be right. Regardless, a future version of any single platform could include changes to the scheduler and/or dispatcher.
- gnaritas 16y agoHm, sorry, didn't mean to be.
- nikster 16y agoIf it's non-deterministic, you're not doing it right.
- KeithMajhor 16y agoThat's false. If you're doing it "right" then it will produce the same functional output for all of the possible execution paths. That doesn't make it deterministic.
- eru 16y agoPerhaps you want it to be non-deterministic? E.g. Monte-Carlo-simulation or genetic algorithm with a hardware random-number generator.
- cscheid 16y agoNot so fast. You can still get nondeterministic behavior with things like thermal effects (think temperature affecting clock speed affecting relative timing between threads running on different processors)