@ajtulloch the situation is not black and white, at one end of the scale is 
pure 'C' at the other end of the scale is 'C++' using the standard c++ 
libraries and all the language bells and whistles, in the middle is a bunch of 
intermediate restricted subsets of c++ with arbitrary subsets of the  c++ std 
library.  The broadest reach lowest friction to potential users is at the C end 
of the scale.  Aside from the language subset used, other issues are 
availability (and size!) of the std c++ library on a platform. The memory 
management strategy used (at the small end, memory fragmentation kills you, 
hence arbitrary use of the heap is undesirable).   By way of example, last time 
I checked on zephyr rtos their C++ application support capability was broadly:  
no use of new / delete, no rtti, no exceptions, no static global object 
destruction.... (not that new/delete ban has a significant impact on the std 
c++ library available!) Other RTOS environments are richer, others are more 
constrained.

There is a limited cost to the tvm community to provide a 'C' runtime rather 
than a C++ runtime, but doing so broadens tvm's reach.

BTW.... Im really excited so see all the current activity in the uTVM, small 
runtime, embedded space.... ;-)

-- 
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/pull/3567#issuecomment-512987196

Reply via email to