defect-process
Fable: F# |> BABEL
defect-process | Fable: F# |> BABEL | |
---|---|---|
19 | 60 | |
204 | 2,829 | |
- | 0.9% | |
3.5 | 9.7 | |
10 months ago | 24 days ago | |
Haskell | F# | |
BSD 3-clause "New" or "Revised" License | MIT License |
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.
defect-process
-
Is it possible to write games like Pac-Man in a functional language?
Totally possible. Here’s a link to a game recently released on Steam that is written in Haskell and whose source is open: https://github.com/incoherentsoftware/defect-process
I recently hacked together an asteroids clone in Haskell with SDL2 and not much else. It’s not super pretty but it works.
I’ve talked to folks who’ve been using the newer effects libraries taking advantage of the new delimited continuation primops in GHC 9.6 for their game dev. Even with very high level libraries their reporting acceptable performance.
With enough dedication I’m certain anyone could make whatever game they wanted in an FP language.
-
Genuine question: how do you all use Haskell IRL?
And the full code (w/o assets) is available too https://github.com/incoherentsoftware/defect-process
- [FOR HIRE] Illustrator / Animator / UI / Background Artist.
-
Why the gc?
Or as mentioned recently... a game written in Haskell, published on steam: https://incoherentsoftware.com/defect-process/docs/ https://store.steampowered.com/app/1136730/Defect_Process/
-
Defect Process - Incoherent Software LLC - 2d character action game / spectacle fighter
Steam | YouTube
-
Defect Process full haskell source (~62k LOC | action game on Steam)
Hi I added the full source code for Defect Process to coincide with the full game release on Steam. See the brief overview docs for a high level tour of the code design.
-
Is there anyone here using Haskell for anything other than web development?
A haskell game on steam: https://store.steampowered.com/app/1136730/Defect_Process/
-
The Source Code of Defect Process
Over the Christmas break I took some time to study the source code of Defect Process (https://github.com/incoherentsoftware/defect-process) to better understand industry-strength software architecture in Haskell and Game Engines. I have written a longer article about my analysis: https://www.lambdabytes.io/articles/defectprocess/
-
Defect Process - 2d hack n' slash game (Steam + GitHub)
Thanks, good to hear that learning haskell has been rewarding so far! For code questions later on, feel free to open a github discussion if this reddit thread is inactive at that point.
Fable: F# |> BABEL
-
Dada, an Experiement by the Creators of Rust
This conversation could be referring to https://fable.io/
Other than that, the question is indeed strange and I agree with your statements.
-
Exploring a foreign F# codebase
NOTE: For larger codebases with more history it is likely that the Program.fs file will have a lot of orchestration and logic as well. given that it is often where everything clashes and starts, for example the Fable Entrypoint is in Entry.fs and it contains a lot of code. The best you can do always is to start at the bottom of the file and work your way up. Remember: Everything at the bottom uses what has already been defined at the top so there are no circular dependencies or random functions/types at the bottom that can trip you off, everything comes from the top!
-
Revisiting WASM for F#
I am a big fan of going with web components + plain (build-less) javascript whenever possible, so it is not surprising that I often favor things like the Fable Compiler, where I can target my F# code directly to javascript and be as close to the native JS experience as possible, both for interop concerns and for ecosystem integration.
-
A new F# compiler feature: graph-based type-checking
Fable compiler - https://fable.io/
The F# community is very friendly (these sub-communities as well), and they have plenty of good issues/opportunities to contribute OSS work to across any skill level.
Phosphor isn't hiring right now, but we expect to begin a search for FE/interface engineers over the next few month. Email [email protected] for anyone interested.
-
Building React Components Using Unions in TypeScript
Naturally I’d recommend using a better language such as ReScript or Elm or PureScript or F#‘s Fable + Elmish, but “React” is the king right now and people perceive TypeScript as “less risky” for jobs/hiring, so here we are.
- Fable: an F# to Dart compiler
-
Dart 3.1 and a retrospective on functional style programming in Dart
Stuff like this: https://github.com/fable-compiler/Fable/issues/1822
It just seems like an incredibly ambitious project that appears to have very little equal but is mainly worked on by a handful of people but no corporate backing. I get the feeling that if you want to use it, you'll either be the only one doing what you're doing or among just a few people. I already use F# and feel this way about the core language itself.
-
Elixir – Why the dot (when calling anonymous functions)?
F# is also part of the OCaml family, has a great to-JS transpiler (https://fable.io/) and F# code can also be used in .NET projects.
- Is it possible to write games like Pac-Man in a functional language?
-
URGENT HELP NEEDED! Should I learn C#, ASP.NET and the new MAUI framework?
I have heard many good things about https://fable.io/ Fable converts F# code to JavaScript. There are currently 407 packages available for interacting with existing JavaScript packages and frameworks.
What are some alternatives?
Tidal - Pattern language
rescript-compiler - The compiler for ReScript.
chips - A clone of Chips Challenge in Haskell
Sutil - Lightweight front-end framework for F# / Fable. No dependencies.
fmod - dump of minimal haskell FMOD bindings, this is not a proper library
ClojureCLR - A port of Clojure to the CLR, part of the Clojure project
Okasaki - Code from the book "Purely Functional Data Structures" by Chris Okasaki (both original and my own solutions to the exercises, in Haskell)
Roslyn - The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
zazengine - Automatically exported from code.google.com/p/zazengine
Feliz - A fresh retake of the React API in Fable and a collection of high-quality components to build React applications in F#, optimized for happiness
quantum-chemistry
haxe - Haxe - The Cross-Platform Toolkit