Previous | Next --- Slide 17 of 64
Back to Lecture Thumbnails
ferozenaina

Can OpenGL be considered a DSL or only a library? OpenGL is meant for only one task - rendering images. But is also has it's own syntax and way of representing data. Earlier, it was mentioned that some PhD student at Stanford hacked OpenGL to run general purpose computations using the output images and shader function.

So would this mean the general purpose CUDA library was actually developed from a DSL?

tommywow

I think OpenGL can be considered as a DSL. It speeds up graphics rasterization with hardware acceleration usually using the GPU. It completes a very specific task.