Hero - A faster ECS library for Haskell

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/haskell

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
  • hero

    Haskell ECS using sparse sets (by Simre1)

    I wanted to use an ECS system in Haskell and I have found apecs and ecstasy. However, both seem to use IntMap for storing component data, so I figured that performance could not be all that great. That's why I created a new library, hero, which uses sparse sets for storing component data. Basic benchmarks seem to suggest that hero is roughly 40 times faster than apecs at iterating over components. The interface for hero is inspired by apecs, but there are some significant differences. The library is still rough around the edges, but you can already find it on https://github.com/Simre1/hero. I have also started work on an sdl2 binding which is in the same repository.

  • apecs

    a fast, type driven, extensible ECS for game development (by dpwiz)

    Sure. The hero-side bench is basically a copypasta, GStorable and stuff from hero using apecs-wrapped SparseSet.Storable instead.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts