Ask HN: Who is using C++ as the main language for new project?
11–20 of 199 posts
Re: Ask HN: Who is using C++ as the main language for new project?
#12Also, all the performance critical stuff on my production servers is C++ with JNI or pybind wrappers.
Re: Ask HN: Who is using C++ as the main language for new project?
#13I 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?
#14I'm using restinio for the REST layer (sadly deprecated a couple of months ago, but it still seemed like the best option in terms of clean interface) and sqlite for the DB layer.
I've architected it all so I have a purely insert-only and order-independent DB on the write-side, so litestream was seeming like a good fit for single-writer, multiple readers, but now that's been abandoned, I'll wait until litefs stabilises, or roll my own to do what I need.
I originally started the REST side in dart so I could share code with the flutter client app, but I soon realised that performance wasn't where I wanted it to be and that the backend queries were all very different to client side anyway, so it seemed easier just to create the REST side in C++. I should add that my normal work has been predominantly C++ for many years so it's more familiar to me than learning something else and also being able to hit the sqlite layer directly without another abstraction layer seems beneficial.
I was planning to use litestream to distribute the sqlite DB to multiple readers, but now that's deprecated, I'll probably look into doing my own in C++ later on if his new focus on litefs doesn't work out for me.
Re: Ask HN: Who is using C++ as the main language for new project?
#15https://github.com/0xf00ff00f/windmap
Uses CMake, Qt6, CUDA and OpenGL. Here's a short video showing how it currently looks like:
Re: Ask HN: Who is using C++ as the main language for new project?
#16Re: Ask HN: Who is using C++ as the main language for new project?
#17Re: Ask HN: Who is using C++ as the main language for new project?
#18Re: Ask HN: Who is using C++ as the main language for new project?
#19Not sure yet what to use for local data storage, sqlite seems like a pretty rigid solution.
Re: Ask HN: Who is using C++ as the main language for new project?
#20can be quite flexible once you tackle C++ intricacies.
If I were to do something that needed speed I might consider this