libspng
Haskell bindings for libspng (by BurningWitness)
macaroni.nix
By macaroni.dev
libspng | macaroni.nix | |
---|---|---|
2 | 6 | |
0 | - | |
- | - | |
10.0 | - | |
over 2 years ago | - | |
C | ||
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.
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.
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
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?
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.
macaroni.nix
Posts with mentions or reviews of macaroni.nix.
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
In addition, I am building a Nix library on top of haskell.nix called macaroni.nix that is gamedev-oriented and enables seamless cross-compiling from Linux to Windows. I would say it's the best option for Windows Haskell game x-compilation available today.
-
[ANN] LD52 game written in Haskell
We just managed to get our ludum dare game finished, including standalone builds (with a very special thanks to macaroni.dev.) The game is a platformer written in sdl and yampa, with build scripts for releasing static linux and windows builds.
-
Is Nix important also for a team of 1 developer?
Aside from that, haskell/macaroni.nix make x-compilation work great. I even was able to use the h-raylib bindings with little upstream changes/overlays.
-
Haskell is the greatest programming language of all time
In terms of finished and playable games, it's been Ludum Dare jam games made over a weekend over the years. You can check them out here. They're all Windows-only (x-compiled from NixOS using haskell.nix via macaroni.nix), but you can play them on Linux with Wine64. If you have Nix installed, I have a script that should Just Work.
-
Any up-to-date cross-compiling methods for Raspberry Pi?
Also feel free to cut me an issue in my related project, macaroni.nix. The project is focused on x-compiling Haskell games and only supported Windows currently. But brick is a viable gamedev library, and Raspberry Pi is a desired target for gamedev someday. So I'd love to help!
What are some alternatives?
When comparing libspng and macaroni.nix you can also consider the following projects:
sdl-gpu-hs
agda2hs - Compiling Agda code to readable Haskell
Chipmunk2D - Raw Haskell bindings to Chipmunk2D
freetype2 - My personal branch of the freetype2 source code
cute-sound-hs