Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why would you want C++20? C++ is generally backwards compatible, so a modern C++ compiler will still compile C++11


c++20 provides quite a list of features on top of c++11 that I use daily these days, would like to know nim keeps up with those new syntax/features as well, seems not yet.


Nim uses C/C++/Obj-C as a sort of abstracted assembly. While it's possible to follow the generated code with some formatting and effort, it's made to be optimally machine-parsable and optimizable. I suggest giving Nim a try and checking out the generated sources to see for yourself.


If those features exist in Nim, you can just use Nim. FFI should probably work on newer libraries too.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: