sdl-gpu-hs
By macaroni.dev
fp-course
Functional Programming Course (by tonymorris)
sdl-gpu-hs | fp-course | |
---|---|---|
4 | 5 | |
- | 1,026 | |
- | - | |
- | 0.0 | |
- | over 1 year ago | |
Haskell | ||
- | - |
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.
sdl-gpu-hs
Posts with mentions or reviews of sdl-gpu-hs.
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
The bindings are currently source-only here. I am going to release to Hackage soon (tm), but I just haven't had the time to button it up. However, they do work great. Every game I've done for Ludum Dare except 47 (which was gloss) has used these bindings.
-
Monthly Hask Anything (January 2023)
The guts are in the Memorable module. There are some operators in there that allow you to pluck individual fields from struct pointers in IO instead of marshaling entire structs needlessly.
-
Haskell is the greatest programming language of all time
The games are built on a custom "engine" made with SDL2 and some other C libraries I wrote bindings for: sdl-gpu, cute_c2, and cute_sound. I use apecs and cleff for the general architecture. And for animations, I use a combination of animate and ease.
-
Linear Types AmA!
You can't exactly allocate data in this custom memory management system, but you can get close with some type-level/generics stuff I think. I've been playing with it quite a bit for no-marshal hsc FFI bindings [1] [2], and it's worked nicely for that in raw IO. With some extra elbow grease, I can probably make it work for pure linear code too.
fp-course
Posts with mentions or reviews of fp-course.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-02.
-
Monthly Hask Anything (January 2023)
fp-course ?
-
How was your study routine to become good at haskell?
Fp-course exercise
-
Why is Learning Functional Programming So Damned Hard?
there is the fp-course https://github.com/tonymorris/fp-course - I think this was forked a lot - maybe a bit more involved
-
Code review request for fp-course (List, Functor, Applicative, Monad)
You could always compare your solutions to the solution repo: https://github.com/tonymorris/fp-course
-
Are there any interesting programming languages based on particular data structures?
Right, so this deserves a little bit of elaboration if you're not already familiar with Haskell. Haskell source code satisfies a substitution property that source code in other languages doesn't. In Haskell, you can take any common snippet, refactor that out to a name, and invoke the name instead, and this doesn't changes the meaning of the program. Similarly, you can inline any named snippet at its invocation site without changing the meaning of the program. (Here's a good explanation of the substitution property I'm talking about, along with a demonstration of how Python, for example, does not satisfy the same substitution property: https://github.com/tonymorris/fp-course#demonstrate-io-maintains-referential-transparency.)
What are some alternatives?
When comparing sdl-gpu-hs and fp-course you can also consider the following projects:
agda2hs - Compiling Agda code to readable Haskell
fp-course - Functional Programming Course
really-small-backpack-example - A really small example of the Backpack module system for Haskell
Kind2 - A next-gen functional language [Moved to: https://github.com/Kindelia/Kind]
libspng - Haskell bindings for libspng
macaroni.nix
cute-c2-hs
ghc-proposals - Proposed compiler and language changes for GHC and GHC/Haskell
multicurryable
gl - Complete raw OpenGL bindings for Haskell
LearnOpenGL.hs - LearnOpenGL.com examples ported to Haskell
cute-sound-hs
sdl-gpu-hs vs agda2hs
fp-course vs fp-course
sdl-gpu-hs vs really-small-backpack-example
sdl-gpu-hs vs Kind2
sdl-gpu-hs vs libspng
sdl-gpu-hs vs macaroni.nix
sdl-gpu-hs vs cute-c2-hs
sdl-gpu-hs vs ghc-proposals
sdl-gpu-hs vs multicurryable
sdl-gpu-hs vs gl
sdl-gpu-hs vs LearnOpenGL.hs
sdl-gpu-hs vs cute-sound-hs