When I was interested in programming as a kid in the late 90s, I too went to the library, but they only had books about computers from the 80s. idk whether my experience or yours is more representative. But today there are tons of free resources online, so idk if a kid would be looking for that stuff at the library these days.
Well, it helped that in the early 90s, computers from the 80s were still highly relevant. I skipped over anything that wasn't about IBM "compatibles" since all I had at the time were IBMs (other than the oddball TI-85).