Hero - A faster ECS library for Haskell

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
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