Should I abandon using haskell for my compiler?

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
  • llvm-hs

    Haskell bindings for LLVM

  • 2 days later and I'm still failing to get a project to build with the LLVM bindings. The repository seems fairly inactive, and is several versions behind modern LLVM. This seems like a very basic package for a language that is supposed to be well suited to writing compilers. Even flipping Python seemingly has more up to date LLVM bindings.

  • eclair-lang

    A minimal, fast Datalog implementation in Haskell that compiles to LLVM IR

  • /u/ltielen's Éclair language targets LLVM and is actively maintained, so I'd look at that implementation's LLVM setup.

  • 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
  • llvm-codegen

    LLVM code generation in Haskell

  • It looks like /u/ltielen decided to write his own LLVM library targeting the latest LLVM, so I guess he saw the same issues you are seeing with the llvm-hs bindings and decided to create his own.

  • kaleidoscope

    Haskell LLVM JIT Compiler Tutorial

  • Comparing the haskell and cpp implementations of the LLVM tutorial lead me to believe it might be faster to learn haskell and implement the compiler in haskell than to implement it in cpp.

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