News for hackers. Stuff that matters.
Re:Wt – C++ Web Toolkit by zelly on Sunday July 12, 2020 @02:08PM (#23813359)
C++ people don't do CRUD webshit. C++ is for compilers, HFT, machine learning, browsers, search engines, robotics. When C++ touches "the web" it's in the form of something like Envoy or HAProxy, not exactly application layer. For CRUD webshit, there are literally hundreds of options out there that largely automate the entire process (Rails/Django/Spring). There is no reason to use C++ for it not just because of the timesink but because the lack of safety makes it an aggressively bad idea. You would get all kinds of "I thought that wasn't a problem in the 21st century anymore" type of problems.
Re:Wt – C++ Web Toolkit by fbmac on Sunday July 12, 2020 @02:49PM (#23813718)
That's the illusion that got me into C. Reality I found is, where I live at least, C is for legacy code and code that runs in very bad hardware.
Re:Wt – C++ Web Toolkit by zelly on Sunday July 12, 2020 @04:22PM (#23814446)
What illusion are you talking about?
Re:Wt – C++ Web Toolkit by smt1 on Sunday July 12, 2020 @02:55PM (#23813769)
People do need to write UIs in C++ though (sometimes as frontends for some of the purposes you mentioned), and Qt is probably the most used UI toolkit for C++.

Wt is basically Qt for the web. I've used a lot of UI toolkits across many languages, and Qt with modern-ish C++ is fairly productive, doubly so if you're slapping something together for an existing C++ codebase you have.

Re:Wt – C++ Web Toolkit by roywiggins on Sunday July 12, 2020 @03:02PM (#23813821)
This is the exact use-case where I've used Wt. Existing C++ codebase, needs an admin interface, needs to be accessible over the corporate intranet. Wt is perfect for that.
Re:Wt – C++ Web Toolkit by codr7 on Sunday July 12, 2020 @03:46PM (#23814207)
I've written several applications using this approach lately, administrative systems.

None in C++ yet, but Java & Go.

Integrating the UI tightly with the backend has a lot of advantages and I strongly prefer working in a sane language to both template engines and JSON APIs.

Re:Wt – C++ Web Toolkit by giancarlostoro on Sunday July 12, 2020 @02:32PM (#23813556)
You are better served using D and Vibe.d or other D web frameworks if you really want a compiled web stack. Also the other obvious choice is Go and probably Rust but I havent found a web framework for Rust that doesnt annoy me to no end yet.
Re:Wt – C++ Web Toolkit by guruz on Sunday July 12, 2020 @03:20PM (#23813980)
It's all possible :-)

I can recommend the "app server" POCOPRO https://pocoproject.org/pocopro.html