Mcalc is a utility that is used to look up suggested settings for lathes or mills and calculate optimal RPM values given a material, tool and grade. It's written in C++ and uses GTK for the UI.
source code documentation