Sudoku as a Service with Julia
iaindunning.com
iaindunning.com
I was actually thinking this would be a great language to use for web development; it's just that no one's developed a really good framework for it yet.
I had the same slight disappointment when hacking a PostScript solver together back in 2005 (see https://chris-lamb.co.uk/posts/sudoku-solver-in-postscript)
On the positive side, a brute force approach means you can easily test for unique solutions.
I use Sudoku to exercise my memory.
one note - this code could be better optimized by the compiler if you broke everything down into functions, especially the nested for loops (according to the optimization section of the docs).
x = 1
f(x)
x = "foobar"
f(x)
then each call to f will be optimized for the current type of x. On the other hand, if your code is type stable, as it appears to be here, it will be properly optimized in place by the Julia JIT compiler and there's no need split it into separate functions.