[serene] Re: Update on platform and libraries

  • From: "lxsameer" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "lxsameer" for DMARC)
  • To: "serene@xxxxxxxxxxxxx" <serene@xxxxxxxxxxxxx>
  • Date: Mon, 07 Sep 2020 19:37:33 +0000

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:


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


--


Many thanks.

Attachment: publickey - lxsameer@pm.me - 0x3C028A14.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Other related posts: