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:
Hey folks,
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
group.
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
the repo.
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 rust binding.
and some other stuff. I really like to have your take on this. What do you
think ?
Cheers
Sameer