Live data from Hacker News

Ask HN: Who is using C++ as the main language for new project?

news.ycombinator.com

31–40 of 199 posts

Re: Ask HN: Who is using C++ as the main language for new project?

#31
post #24

Me. On every project that I need to compile for AIX. Not my favorite language by far, but it's pretty nearly the best choice on the platform, if you want cross platform code and don't want to fall into Java.

AIX... you're bringing back bad memories of running xlc on a AIX 4.3.3 system, back in the early 2000's.

Re: Ask HN: Who is using C++ as the main language for new project?

#32
I am not using it, but I ran a C++ shop for 25 years.

We used it for image pipeline implementation. I can't see using any other language for that (except, maybe C). We did try some other languages, over the years, but nothing could hold a candle to C++.

Glad I'm not using it for UI stuff, though. I consider it to be an "advanced engine" tool. Not something that should be used in everyday stuff.

Re: Ask HN: Who is using C++ as the main language for new project?

#34

I've started using C++ for the REST backend for a mobile app recently. I'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 r…

Don't know your use case, but C++ for a REST api seems extreme overkill. Any performance benefits would most likely be nullified by network latency

Re: Ask HN: Who is using C++ as the main language for new project?

#36

I've started using C++ for the REST backend for a mobile app recently. I'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 r…

Are you saying litestream is deprecated or some specific feature? I see its very active https://github.com/benbjohnson/litestream

Re: Ask HN: Who is using C++ as the main language for new project?

#38

We are using c++ mainly because Qt/QML exists. I guess if a Rust gui toolkit exists that is comparable to Qt/QML (looking at you https://slint-ui.com/ ), then future project would have to be re-evaluated.

Demos are down, if anyone from the project is here.

Re: Ask HN: Who is using C++ as the main language for new project?

#40

I've started using C++ for the REST backend for a mobile app recently. I'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 r…

Are you saying litestream is deprecated or some specific feature? I see its very active https://github.com/benbjohnson/litestream

Sorry, I wasn't clear.

The live-replication work has been abandoned and the author is working on this instead: https://github.com/superfly/litefs

Post reply on HN