This page is a little test of writing C to interact with a WebGL context. I have somehow lost the C part of the code. All it did was produce view and transformation matrices to be used in vertex shaders, but it is a shame nonetheless.
If I remember right, it wasn't so bad using C for this at all. Much inspiration comes from CNLohr's rawdraw.