cpp_weekly
cpp_weekly copied to clipboard
The official C++ Weekly Repository. Code samples and notes of future / past episodes will land here at various times. PR's will be accepted in some cases.
**Channel** "C++Weekly" **Topics** How can you run C++ in the browser? Maybe interesting to run the example game project in the browser? **Length** More long form (10-20 minutes), maybe an...
**Channel** C++Weekly **Topics** reinterpret_cast and undefined behaviour. What is allowed and not allowed. i.e. can we cast integer to pointer (e.g. for register access)? any risk doing so? type aliasing....
Not sure whether this is too big for a 'weekly' episode(s) but cover introducing static analysis into an existing code base. Especially where there is a large amount of legacy...
**Channel** Is this a "C++Weekly" or "The [Fill in the Blank] Programmer" episode request? **Topics** What topics are important to cover for this episode? **Length** Should this be bite-sized (5-10...
**Channel** C++Weekly **Topics** Context manager. Similar to `__enter__` and `__exit__` pythons context manager. Useful for: * disabling interrupts on embedded platforms * acquiring locks Two possible [implementations](https://godbolt.org/z/zrzY419cb). **Length** 5-10 minutes
**Channel** This a "C++Weekly" episode request. **Topics** An introduction to C++/CLI (C++ dialect to interop with C#). Some best practices. **Length** More long form (10-20 minutes) or multiple episodes.
**Channel** C++Weekly **Topics** `-ftime-trace` was covered in the last episode (338, #39) and how to analyze the results with Chrome tracing capabilities. But there is a tool, called [ClangBuildAnalyzer](https://github.com/aras-p/ClangBuildAnalyzer), that...
There's currently no good video material of the library for handing back error codes. I would very much appreciate a 10 - 20 minute video explaining how everything works and...
**Channel** Is this a "The [Fill in the Blank] Programmer" episode request **Topics** First look codebase investigations, for various open source software, often times getting from zero to one is...
**Channel** C++Weekly **Topics** What topics are important to cover for this episode? [User-literals](https://en.cppreference.com/w/cpp/language/user_literal) and use-cases for user-literals. Such as [memory-size user-literals](https://wunkolo.github.io/post/2022/02/memory-size-literals/). ```cpp // namespace My::Cool::Library::Literals { constexpr std::size_t operator""_KiB(unsigned long...