carp-lang / carp-lang/Carp

Profiling the compiler

Open
#778 4 comments 0 reactions 0 assignees View on GitHub
haskell under discussion
Dominant language
Haskell
Stars
6k
Forks
187
Avg merge
8d 22h
Merged PRs (30d)
4

Description

So far very little work has gone into making the compiler fast. For the most parts I thinks it's "fast enough", but since there presumably are no big projects written in Carp this is hard to know for sure. I think that profiling the compiler to at least know what parts are slow could be an interesting and worthwhile endeavour. This issue can be a good place for reporting the results and discussing possible improvements.

Contributor guide

Open the contributing guide

Research direction

Start by identifying the Carp compiler entry point and running a profiler against a representative compilation workload. The issue names no files, tests, workload, or profiling method, so those need to be established before work can be scoped. Done would include recorded profiling results and a documented discussion of the slow areas and possible improvements.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
compilers, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.