I just realized chess engines may be one of the last applications for programming languages that aren't memory safe.
Why? Memory safety inherently requires checks for attempts to read/write out of the program's allocated memory bounds. Unfortunately, this slows down the program.
All else being equal, a faster chess engine is stronger. Memory-safe engines will never be stronger than memory-unsafe engines.
Why? Memory safety inherently requires checks for attempts to read/write out of the program's allocated memory bounds. Unfortunately, this slows down the program.
All else being equal, a faster chess engine is stronger. Memory-safe engines will never be stronger than memory-unsafe engines.