OT: Leaving Rust gamedev after 3 years
monkyyy
crazymonkyyy at gmail.com
Mon Apr 29 20:01:18 UTC 2024
On Monday, 29 April 2024 at 18:53:24 UTC, bachmeier wrote:
>
> A computer program should produce the correct answer every time
> it runs.
not in videogames and rendering; the goal is often make pretty
colors; bugs are often features
>> 0 is correct for sum, 1 is correct for products, random
>> numbers are even ok; yes so there tradeoffs between any of
>> these; but nan is a black hole specifically designed to break
>> everything
>
> It's no more of a black hole than 0 or 1.
In dynamic systems, as as the usual example of foxes and rabbits
where a fox needs to eat 3 rabbit every year and every year
rabbits double, therefor blah blah blah write out some math
given a vector field there are sources, sinks and black holes;
theres some equaliumlam where foxes and rabbits are in balance
and there will be an rough orbit around a "sink", theres also
sources such as when rabbits are out of balence with foxes
then there are black holes of 0 where either int went extinct/0
nan is a black hole for basically every primitive function (by
design) and therefor as I pull dynamic systems out of my ass and
hope they make nice animations or systems or pretty colors, nan
is basically *always* a black hole unless I specifically designed
each and every pathway to avoid it in a way 0 or 1 never are, 0
is only a black hole for multiplication and its an identity for
adds, so its not even comparable
More information about the Digitalmars-d
mailing list