3 ms·
This looks awesome and interesting. On another note it looks like the rendering is all done in OpenGL, which I have always wondered about - how often are IDEs w
by efnx 13y ago
This looks awesome and interesting. On another note it looks like the rendering is all done in OpenGL, which I have always wondered about - how often are IDEs written from scratch using OpenGL? Is it commonplace?
- seanmcdirmid 13y agoWhy do you think its being rendered in OpenGL? If you render to a 3D device directly, you'll at least need to work with an appropriate 2D graphics layer on top of it (e.g. Quartz, Cairo, or Direct2D) to help you with font rendering or even basic line rendering! Bezier curves, font vectors, and anti-aliasing ain't easy.
- yairchu 13y agoIt is using OpenGL indirectly via the graphics-drawingcombinators library (http://hackage.haskell.org/package/graphics-drawingcombinators http://hackage.haskell.org/package/graphics-drawingcombinato...). Indeed the fonts may not be as pretty as with Cairo etc but on the other hand there are very nice animations when edits make stuff move around.
- seanmcdirmid 13y agoAh! I hand rolled my own code editor using WPF (mostly canvas and font rendering) for my live programming work. Its amazing what can be done when not using inflexible high level components.
- efnx 13y agoI just looked at the cabal file, which lists the build dependencies. Also, there's a lot of OpenGL code in the repo :)