Talk:Random number generator

From NESdev Wiki
Revision as of 21:12, 11 July 2016 by Rainwarrior (talk | contribs) (Explaining edit for simplfication and "advanced" page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Explaining edit for simplification and "advanced" page

Just to explain this edit I made, and why I created Random number generator/Linear feedback shift register (advanced). When I made this example, my goal was to make the simplest working PRNG of reasonable quality. Easy to read and understand, and good enough for practical use.

We could discuss various potential tricks, optimizations and other properties of the implementation for days and day (and we literally have, if you read the forum threads), but it's detrimental to the goal of it being a simple, clear, ready-to-use example. I was already on the fence about having an explanation of the iteration counter, but when tepples doubled its description I realized this was a mistake to include, which is why I removed it entirely.

Instead I've created the advanced LFSR page where you can feel free to annotate and ad nauseam. I think this covers the information that tepples was trying to add, as well as a number of other things I intentionally left out (like what it would look like as a 24 or 32 bit LFSR). I hope this is an acceptable solution. What I really don't want to see is a hundred tiny edits slowly overcomplicating the example. Sure, maybe it's what real production code tends to look like after it's been worked on for a long time by many people, but it isn't a good thing to learn from. - Rainwarrior (talk) 15:12, 11 July 2016 (MDT)