gl VS libspng

Compare gl vs libspng and see what are their differences.

gl

Complete raw OpenGL bindings for Haskell (by ekmett)

libspng

Haskell bindings for libspng (by BurningWitness)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
gl libspng
2 2
92 0
- -
3.7 10.0
9 days ago over 1 year ago
Haskell C
BSD 3-clause "New" or "Revised" License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

gl

Posts with mentions or reviews of gl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-24.
  • 3D graphics on Haskell in 2023
    6 projects | /r/haskell | 24 Mar 2023
    As other comments have pointed out, OpenGL isn't your issue: 4.6 came out in 2017 and both the low-level gl/OpenGLRaw as well as the mid-level OpenGL libraries are up to date if you check the timestamps. And yes, GLFW-b is the go-to library for creating windows across platforms.
  • [Newcomer] Status of AI, graphics programming and performance in Haskell?
    6 projects | /r/haskell | 5 Nov 2021
    At this point the answer is: yes, we have some. We have sdl2 (https://hackage.haskell.org/package/sdl2), gl (https://hackage.haskell.org/package/gl), OpenGL (https://hackage.haskell.org/package/OpenGL), GLFW (https://hackage.haskell.org/package/GLFW), vulkan (https://hackage.haskell.org/package/vulkan), dear-imgui.hs (https://hackage.haskell.org/package/dear-imgui). There's certainly much more out there - this is a biased list of stuff I've either used or contributed to.

libspng

Posts with mentions or reviews of libspng. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-24.
  • 3D graphics on Haskell in 2023
    6 projects | /r/haskell | 24 Mar 2023
    For example I to this day do not know if there's a library for reading specifically PNG files in a specific format. Yes, there's JuicyPixels which decodes a ByteString into some DynamicImage which may not even be the format I expect. This I guess is fine for most, but I don't want that, so I had to port libspng.
  • Should raw library bindings drop the namespace prefix?
    5 projects | /r/haskell | 11 Dec 2022
    For context, I have written complete bindings to five different C libraries (freetype2, libvorbis, libspng, al, Chipmunk2D) and the question in the title may very well be the last one I have concerning FFI for quite some time. The question originates from the fact that chiphunk strips prefixes, something no other low-level library I've seen does.

What are some alternatives?

When comparing gl and libspng you can also consider the following projects:

blank-canvas - A Haskell API into HTML5 Canvas

Chipmunk2D - Raw Haskell bindings to Chipmunk2D

clay - A CSS preprocessor as embedded Haskell.

al - Haskell OpenAL raw binding

Gleam - Gleam is a graphics library written in Haskell that uses the web-browser as a display. Gleam is inspired by Gloss and uses Threepenny-gui as its back-end.

sdl-gpu-hs

FractalArt - Generate colorful wallpapers!

macaroni.nix

pictikz - Interpretes an SVG image as a graph, converting it to tikz.

libvorbis - Haskell binding for libvorbis, for decoding Ogg Vorbis audio files

zsh-battery - Visual bars representing battery status for zsh

freetype2 - My personal branch of the freetype2 source code