Skip to content

Use crainlift to produce native bindings#13

Open
wendigo wants to merge 1 commit into
masterfrom
user/serafin/crainlift
Open

Use crainlift to produce native bindings#13
wendigo wants to merge 1 commit into
masterfrom
user/serafin/crainlift

Conversation

@wendigo
Copy link
Copy Markdown
Contributor

@wendigo wendigo commented Apr 30, 2026

This produces native/per arch bindings that are loaded and used using FFM with optional fallback to Chicory's AOT Java Machine if necessary.

@cla-bot cla-bot Bot added the cla-signed label Apr 30, 2026
@wendigo
Copy link
Copy Markdown
Contributor Author

wendigo commented Apr 30, 2026

@wendigo
Copy link
Copy Markdown
Contributor Author

wendigo commented Apr 30, 2026

Chicory Redline is a near drop-in replacement for Chicory's build-time compiler. Instead of compiling Wasm to JVM bytecode, it uses Cranelift(the same engine used by Wasmtime) to generate native machine code at build time, then executes it at runtime through a foreign function interface.

@wendigo
Copy link
Copy Markdown
Contributor Author

wendigo commented Apr 30, 2026

Depends on improvements from roastedroot/chicory-redline#27 and roastedroot/chicory-redline#26

@andreaTP
Copy link
Copy Markdown

andreaTP commented May 5, 2026

I just released 0.0.4 containing the fixes for tail-call and interrupt, happy to hear how it goes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants