Difference between GLUT and SDL appliation

Would like to know the difference between GLUT and SDL appliation that I am learning at Code:Blocks, which is the best for 3D graphics application as well. Tks

Well, as you probably noticed, SDL is about 100x the size of GLUT.

GLUT is a simple tool for simple needs. If you’re putting together a demo to test out some particular rendering mechanism, GLUT is infinitely better than SDL. GLUT takes care of a lot of the details that SDL would otherwise require.

However, if you’re developing a serious application, SDL is far more likely to be the tool you want to use. GLUT abstracts more than a real application would normally want to. SDL gives you much more control over everything.

Well noted with thanks.