A quick note -- one of the main reasons Apple developed ALAC was competing formats, though open source, were designed to optimize compression. This meant that many of them consumed a lot of memory and/or processor power, and by extension they used a lot of battery.
ALAC was intended as a low-power lossless codec, and at the time it was released 6 or 7 years ago, it was one of the best in that regard. Too lazy to google, but there were a number of tests that showed the ease of playing back ALAC, vs FLAC or any of its competitors.
It has long since mattered, now that most playback devices outperform the desktops from 6 or 7 years ago. But low power, high performance compression is a valuable thing that will find its way into applications -- such as increasing the bandwidth of uncompressed multichannel audio formats.