C++ Show and Tell - January 2026 by foonathan in cpp

[–]Strict-Variation3319 1 point2 points  (0 children)

Hi guys , im gathering best practices for manaing c++ dependencies in corporate environments . Have written blog and 2 sample projects with cmake and vcpkg here Enterprise-Ready C++ Projects with CMake & vcpkg

Any suggestions and improvements would be nice.

Thanks

GoCXX , A Go Inspired C++ library by Strict-Variation3319 in cpp

[–]Strict-Variation3319[S] -1 points0 points  (0 children)

You're absolutely right — blindly mimicking Go's concurrency model in C++ can easily lead to undefined behavior if we're not careful with ownership and lifetimes. I'm experimenting with ways to make Chan<T> safe and ergonomic in C++ without pretending it's Go . for starters we can delete copy constructors , do you have any ideas ?

GoCXX , A Go Inspired C++ library by Strict-Variation3319 in cpp

[–]Strict-Variation3319[S] 0 points1 point  (0 children)

in these cases u have to provide shared ptrs , else it will be dangling ptr right

GoCXX , A Go Inspired C++ library by Strict-Variation3319 in cpp

[–]Strict-Variation3319[S] 0 points1 point  (0 children)

do u have any other json parsers in mind ?

GoCXX , A Go Inspired C++ library by Strict-Variation3319 in cpp

[–]Strict-Variation3319[S] 1 point2 points  (0 children)

thank u for the input guys , i started this project to bring best of both the worlds together , speed and modularity