While reading HN I ended up watching this presentation from Herb Sutter at CppCon 2022. It is about a frontend for the C++ language called cppfront aimed to make C++ simpler and safer.
https://youtu.be/ELeZAKCN4tY?feature=shared
I was kinda curious if Nim can be as appealing as cppfront for C++ developers.
Any C++ developer willing to compare cppfront with Nim?
cppfront is supposed to be used as easily with C++ as it is to use C code in C++. So it has a lower barrier to reuse existing C++ code than Nim. For example, while it seems to be far from trivial to write a libtorch wrapper for Nim, with cppfront you could use libtorch just like you would with native C++.
Additionally, cppfront will transpile to idiomatic human-readable C++ code, making it's adoption a low-risk decision.