Disproving Euler proposition by brute force in C

I wrote a little bit of code to brute force disprove the Euler proposition that states: a4+b4+c4=d4 has no solution when a, b, c, d are positive integers. I’m no mathematician, but reading around this, at least one solution was found by Noam Elkies in 1987 (a = 95800; b = 217519; c = 414560; … Read more

Dijkstra path finding in C# is 15x slower than C++ version

I’m implementing Dijkstra’s algorithm with a priority queue for a game I’m developing in Unity with C#. I was a bit disappointed with the performance, so I decided to port the code to C++ and see if the performance was related to the language or the algorithm itself. The path finding searches through a 3D … Read more