The wrapper already exists and apparently doing well, but we might have to wrap
MLIRs C API
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, September 7, 2020 8:33 PM, Hamid <hamidr.dev@xxxxxxxxx> wrote:
Yayyy! Don't worry about C++.
We can write our own wrapper around LLVM.
On Mon, Sep 7, 2020 at 9:12 PM lxsameer <dmarc-noreply@xxxxxxxxxxxxx> wrote:
I have a good news and a bad news.
Bad news first, We might move away from C++ depend on what we decide as a
The good news is, That library that we used to use in the Rust
implementation is getting more attention now and several companies actually
invested on this library and keeping C API of LLVM up to date. So as a
result we might be able to go back to Rust since we have that old branch on
As you might already know we've tried Rust and C++ up until now so we kinda
have a better understanding on the pros and cons of each of them.
So as a quick overview:
1. C++ is the official language of LLVM and obviously MLIR.
2. We have to use the C API of LLVM and MLIR for Rust which might lag
behind the official C++ API
3. Rust is more delightful and productive than C++
4. If we decide to go with Rust again we might have to implement the MLIR's
and some other stuff. I really like to have your take on this. What do you
publickey - firstname.lastname@example.org - 0x3C028A14.asc
Description: OpenPGP digital signature