Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rsduck/catnip

A library for runtime code generation
https://github.com/rsduck/catnip

jit nim x64

Last synced: about 4 hours ago
JSON representation

A library for runtime code generation

Awesome Lists containing this project

README

        

# Catnip

A nondescriptively named runtime assembler e.g. for JIT recompilers.

**Why not improve the assembler in [laser](https://github.com/numforge/laser)(now found [here](https://github.com/mratsim/photon-jit.git))?**

I thought about doing this, but decided against it, mainly because registers are defined as compile time `static` parameters for some reasons? In any way it makes dynamic register allocation impossible (which is irreplacable for any decent JIT recompiler I can think of).

Though I can't deny that the declarative macro for defining the encodings wasn't inspired by it :D.

## Planned things

- Better tests
- Support more x64
- Support assembling aarch64