on the subject of moving from C++, I'm all in :)))
and I don't think we need to worry about bindings since at least based on
my readings we can write anything we need since one way or another our code
should generate LLVM-IR.
On Tue, Sep 8, 2020 at 12:03 AM 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>
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 rust binding.
and some other stuff. I really like to have your take on this. What do
you think ?