Julia Graphics Library

Are there any native Julia libraries for low-level graphics? Or are all options wrappers for other graphics libraries (such as OpenGL)?

Thereā€™s also Cairo.jl. I donā€™t think there are any platform-native wrappers if thatā€™s what you have in mind by ā€œlow-levelā€ (Metal, GDI, etc).

It would help the discussion if you specific ā€˜low-levelā€™ more clearly.
If you are interested in ā€˜low-levelā€™ rendering algorithms (like bresenham for rendering lines in pixels) in julia i remember some discussions but no actual code.

Sorry - Iā€™m not really down with the lingo. Iā€™m curious if there is any kind of native Julia implementation for creating a GUI or making a simple game? Or do all of the options involve wrapping OpenGL or GTK etc?

IIUC, by ā€œnative Julia implementationā€ you mean a very low-level API fully implemented in Julia? No, Julia is not a language for that kinda stuff. Like OpenGL, itā€™s often packed within drivers which are implemented by hardware/driver engineers who can directly talk to hardware, and hardware engineers prefer to use C as their workhorse language for its portability and compatibility(Iā€™m not talking about those super-low level engineers who write VHDL/Verilog etc for composing ASICs).

Thanks for the suggestions, everyone! Iā€™m trying to learn more about developing graphics and have been writing a simple emulator. It looks like ModernGL is probably the way to go.

1 Like