Skip to main content
14 events
when toggle format what by license comment
Jan 4, 2014 at 4:22 comment added Victor Stafusa This remembers me of a crazy eclipse crash that I got in 2007 because the class java.lafg.String did not exist.
Dec 31, 2013 at 17:15 comment added Wrzlprmft @Kevin: The only way I can think of to achieve this is to make this program into an operating system that does nothing else. Anyway, why would you want to do this? Hardware random-number generators exist after all.
Dec 31, 2013 at 17:11 history edited Wrzlprmft CC BY-SA 3.0
added 312 characters in body
Dec 31, 2013 at 16:24 comment added Kevin Is there some way to ensure that j and k always use certain locations in memory? (I haven't used C much; I'm a Java and C# programmer.) If so, you could design the hardware so that those locations aren't protected by radiation hardening, but the rest of the system is.
Dec 29, 2013 at 9:02 history edited Wrzlprmft CC BY-SA 3.0
deleted 16 characters in body
Dec 29, 2013 at 8:44 history edited Wrzlprmft CC BY-SA 3.0
added 488 characters in body
Dec 28, 2013 at 21:52 comment added kinokijuf Unless you mark them as volatile, then your code will in fact work as expected.
Dec 28, 2013 at 21:50 comment added kinokijuf An optimising compiler will first optimise the loop to a while(true), and then remove the unused i and j variables completely.
Dec 28, 2013 at 20:41 comment added Wrzlprmft @kinokijuf: What a shame (does this hold for every compiler independent of the options?). Anyway, since this is code-trolling, I hereby declare this a feature of the answer.
Dec 28, 2013 at 20:12 comment added kinokijuf Note that the background-radiation-detecting code will be optimised out by the compiler.
Dec 28, 2013 at 16:55 history edited Wrzlprmft CC BY-SA 3.0
added 29 characters in body
Dec 28, 2013 at 16:27 comment added emory +1 Extra points for useless but true.
Dec 28, 2013 at 16:20 history edited Wrzlprmft CC BY-SA 3.0
added 453 characters in body
Dec 28, 2013 at 11:45 history answered Wrzlprmft CC BY-SA 3.0