News for hackers. Stuff that matters.
Re:Writing secure Go code by tsimionescu on Tuesday November 05, 2024 @09:50AM (#42051867)
Sure, here is an example:

https://go.dev/play/p/_EJ4EvYntr2

When you run this you will see that occasionally it prints something other than 11 or 100. If it doesn't happen in one run, run it again a few times.

An equivalent Java program will never print anything else.

Re:Writing secure Go code by tucnak on Wednesday November 06, 2024 @09:56AM (#42063259)
Thank you, that's really illuminating.