Podcast artwork
CppCast
Timur Doumler & Phil NashNews
Timur Doumler & Phil NashNews
Implememting the use of filesystem real shared memory between processes in Windows, MacOS and Linux with unified semantics. (Linux has many caveats to using file locks)

Episode Summary

Rob and Jason are joined by Sebastian Theophil from think-cell. They first talk discuss a blog post on building a 1 billion LOC project with the Threadripper 3990X and a browser extension for easily searching for C++ reference help. Then they talk to Sebastian about his teams efforts to port their Windows C++ codebase onto MacOS and some of the challenges they dealt with, as well as recent efforts to start porting some of the code into Web Assembly. News Threadripper 3990X: The Quest to Compile 1 Billions lines of C++ on 64 cores Looking for Approachable Open Source Projects to Contribute to C++ Search Extension v0.2 released Links think-cell: Join us as a C++ developer Windows, macOS and the Web: Lessons from cross-platform development at think-cell tcjs library for generating type-safe JavaScript bindings for C++/Emscripten Sponsors Visual Assist
... Show More

  • Initialising function local statics is threadsafe as of C++11.
  • Specifying build settings in the IDE project files is the messy way when looking at cross-compatibility. Visual Studio and XCode both support the better way, which is using a layer of settings files. A way to organize cross-platform code is using a spider-script to take code file name suffixes to create the appropriate build steps in the platform-specific IDE settings files.
  • Implememting the use of filesystem real shared memory between processes in Windows, MacOS and Linux with unified semantics. (Linux has many caveats to using file locks)