C++ 20 introduces modules, a feature that eliminates the problems introduced by traditional header files. The syntax of using a module: import
, is quite similar to modern scripting languages like Python and JavaScript. I’m very curious about how import
works under C++ and what changes does this new feature bring to modern C++. In this article, I’ll try a simple example with modules.
The modules feature is quite new, so we need the latest compilers and tools supporting C++ 20 standards.
Here I’d recommend Clang 10. Just download the pre-built binaries and make sure you could use clang++
tools…
🎉 Dreaming of VS Code editing experience in JupyterLab? Now, it becomes a reality.
Just a few months ago, on February 20th, Project Jupyter published an article JupyterLab is Ready for Users, announcing the next-generation web-based interface for Project Jupyter, which is powerful and have many exciting new features.
Graduate Student at Cornell University | Ex-Intern at Uber, Microsoft |Open Source Enthusiast | GitHub: mtobeiyf