Re:GC progress from JDK 8 to JDK 17
by aetherspawn on Wednesday November 24, 2021 @07:00PM
(#29336719)
I don't think that anyone is using Haskell to develop any serious games yet.
The toy demos are quite elegant, although the community is probably lacking a good scene editor ie Godot or Unity.
Edit: godot-haskell exists, but it's still a little edgy.
Re:GC progress from JDK 8 to JDK 17
by mopierotti on Wednesday November 24, 2021 @08:19PM
(#29337240)
For what it's worth I've had a good experience doing gamedev in Scala using LibGDX. (Though not on consoles, and not pure FP)
F# can be used with C#/MonoGame which seems to run well everywhere so that's one route to functional programming gamedev. Another route appears to be to use SDL2 with a functional language that supports ANSI C bytecode runtime fallback. E.g. OCaml has a bytecode compiler and an ocamlrun runtime that can be compiled with an ANSI C compiler. But I don't know what the GC latency guarantees are for the bytecode runtime. OCaml's native low latency GC benefits from Jane Street's contributions because Jane Street uses OCaml for high frequency trading. But bytecode OCaml running on Nintendo Switch isn't the same thing as native Linux OCaml.