tvm-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Hynes <notificati...@github.com>
Subject Re: [dmlc/tvm] [RFC] MISRA-C/C++ Compliant Runtime (#3159)
Date Thu, 16 May 2019 01:42:14 GMT
> minimal Rust runtime which might be useful as well here?

For sure. The Rust runtime has all of the features required for running syslib modules, but
it makes use of `alloc` and some tasteful unsafety, which are disallowed by MISRA. If we really
wanted to have an ultra-safe runtime, we could do a bit better there. Rust is probably closer
to complete safety than rewriting the C++ runtime, though.

Of course, as @Ravenwater has oft mentioned, adopting Rust for existing projects is something
of a nonstarter. Perhaps if we could enumerate which platforms (and users) would want a Safe
runtime, we could determine whether C++ is truly necessary or just the first thing that comes
to mind.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dmlc/tvm/issues/3159#issuecomment-492883850
Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message