[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using Lighning instead of LLVM in Faust
From: |
Stéphane Letz |
Subject: |
Re: Using Lighning instead of LLVM in Faust |
Date: |
Sat, 29 Feb 2020 15:26:51 +0100 |
Good point, I've opened an issue for that on the MIR project:
https://github.com/vnmakarov/mir/issues/55
Stéphane
> Le 29 févr. 2020 à 15:17, Paul Cercueil <address@hidden> a écrit :
>
> One thing I will add - MIR and Lightning have different scopes; MIR is a JIT
> engine tailored for programming languages, while Lightning can be best
> described as a code generator. MIR would be unsuitable for some tasks
> Lightning is good for, e.g. writing dynamic recompilers. On the other hand,
> MIR provides much more support for implementing programming languages.
>
> What would be interesting is a Lightning backend for MIR; then MIR would take
> care of IR optimization and register allocation, and it would run on the wide
> range of archs supported by Lightning.
>