Backend spike: Cranelift vs LLVM vs C transpilation

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
compilers, rust
Domain
compilers

Research direction

Read ADR-0002 and locate the KIR VM, the example suite, and the fib.kin example. Build throwaway spikes for Cranelift, LLVM, and C transpilation, then benchmark each against the VM. Done means the ADR contains comparison numbers, records the backend choice, and the chosen backend compiles the example suite.

Written by the indexing model from the issue text.

Description

compiler runtime

ADR-0002 decision milestone. Build three throwaway spikes that compile fib.kin to native and benchmark against the KIR VM; write the decision ADR; pick one for production.

Acceptance: comparison numbers in the ADR; chosen backend compiles the example suite.

Dominant language
Rust
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from kokernk-ctrl/KINN

All issues in kokernk-ctrl/KINN

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.