Ask HN: Who is using C++ as the main language for new project?
1–10 of 199 posts
And what is that new project where C++ is the main language? And what other languages and tech stack are you using in that project?
Re: Ask HN: Who is using C++ as the main language for new project?
#2Almost every game ever.
A good deal of stuff where I need complicated algorithms and want performance but don’t care too much about integrating with web stacks (which is always a chore in C++).
Re: Ask HN: Who is using C++ as the main language for new project?
#3I am using C++ for sioyek which is a PDF reader designed for reading research papers and textbooks: https://sioyek.info/
Other libraries used:
* MuPDF for PDF rendering
* Qt5 for UI
* sqlite for database
I also recently added a plugin system which is language neutral, but I wrote a python wrapper around it (see and example here: https://sioyek.info/#extensible).
Re: Ask HN: Who is using C++ as the main language for new project?
#4Starting a new side project, no platform-specific functionality needed. Tried out a few relatively "new" languages (more like new to me) and experienced severe frustration from bugs and spotty documentation, lack of proper IDE/debugger support.
So, I figured, better the devil you know. And of course: choice of compilers, choice of FOSS libraries, my own libraries and workarounds to various well-known annoyances and, well, debuggers!
Re: Ask HN: Who is using C++ as the main language for new project?
#5FWIW, CMake and Conan (or vcpkg) together are easing the pain of using C++ as a language for new projects -- lots of libraries can easily be added to the project like it's done in newer toolchains (cargo for rust, pip for python, pub for dart, etc)
Re: Ask HN: Who is using C++ as the main language for new project?
#6Clubhouse and ScyllaDB.
Re: Ask HN: Who is using C++ as the main language for new project?
#7Quant trading system/framework. Other languages - scripting in bash, awk, plotting in gnuplot, optionally python matplotlib, data fetching in sql, kdb.
Re: Ask HN: Who is using C++ as the main language for new project?
#8I'm using C++ for my game engine and games I'm making with it. The biggest pain is the toolchain and build process. With that said, I'm happy with my (modern) CMake + Conan + Ninja setup which took some time to create, but it's good and works for my usage.
Re: Ask HN: Who is using C++ as the main language for new project?
#9I use a flavor of C++ that is even closer to C than Orthodox C++.
Game Engine, Tools and Games.
I am also starting to use Zig.
Tech stack : clang, simple handmade build scripts.
Re: Ask HN: Who is using C++ as the main language for new project?
#10trading systems. things that might be a pain to do in C++ and are not performance critical is offloaded to python or bash. usually no direct calls to DB in C++, preload data ahead of time, or SIGUSR1 to read updated data if needed