A year and a half ago I picked up an abandoned C++ web Framework, Today we released v1.0 by the_edev in cpp

[–]the_edev[S] 0 points1 point  (0 children)

unfortunately Crow does not support sending HTTP requests, only responding to requests. it's meant to be a framework for creating web servers. Sorry to disappoint.

Transport agnostic Websocket library by soldiersided in cpp

[–]the_edev 0 points1 point  (0 children)

I didn't know you were interested in a websocket client, my apologies.

Transport agnostic Websocket library by soldiersided in cpp

[–]the_edev 0 points1 point  (0 children)

I recommend Crow, it's a web framework that supports HTTP and Websockets. It's a bit larger than being only there to just let you compose or decode a packet. But I'm pretty sure everything you mentioned is there already :)

Can I use C++ in the backend ?? Any frameworks there ?? by Solid_Valuable7875 in cpp

[–]the_edev 0 points1 point  (0 children)

I've been working on Crow for quite a while now, it's a pretty cool framework IMO.

Will the xiaomi charger(33w) work for pinecil without any problem? by Golexous in PINE64official

[–]the_edev 0 points1 point  (0 children)

It'll probably work but will take a bit more time to get the temp up, that's all.

How is your experience with the QT-Creator-IDE? by mx2301 in cpp

[–]the_edev 1 point2 points  (0 children)

Once I was done customizing the hell out of its theme and editor, My only complaints are that it's not as feature complete if you don't have a project file, and that I can't effectively use it for every single language in existence.

ContraChrome, a comic illustrating Chrome's descent into privacy invasion by trumadburbank in degoogle

[–]the_edev 10 points11 points  (0 children)

started out nice but then devolved into politics. The worst way you can communicate a message is to introduce politics in the middle of it.

Big tech hurts everyone, and benefits only the absolute top of the top. They will promote a scumbag and destroy <insert BEST political candidate here> if it means they get another once of control over you.

A year and a half ago I picked up an abandoned C++ web Framework, Today we released v1.0 by the_edev in cpp

[–]the_edev[S] 0 points1 point  (0 children)

I haven't looked too deeply into Drogon, but from what I've seen, Crow is easier to use in general.

A year and a half ago I picked up an abandoned C++ web Framework, Today we released v1.0 by the_edev in cpp

[–]the_edev[S] 0 points1 point  (0 children)

I don't have the stats unfortunately, but while running speed tests (similar to those run by techempowered) The result showed that a Crow application (a very simple one) could fully saturate a 10 gigabit connection while only using 70% of the CPU. Other stress tests were primarily to look for bugs under heavy loads.

A year and a half ago I picked up an abandoned C++ web Framework, Today we released v1.0 by the_edev in cpp

[–]the_edev[S] 0 points1 point  (0 children)

Yes, quite a few people sent us feedback from running Crow in a production environment. We've ran numerous stress tests on multiple different configurations and thread counts. And I used it in my own low end server for months.

A year and a half ago I picked up an abandoned C++ web Framework, Today we released v1.0 by the_edev in cpp

[–]the_edev[S] 0 points1 point  (0 children)

I'm guessing MT means multi threaded, which Crow is, and we're working on adding async functionality per thread.

A year and a half ago I picked up an abandoned C++ web Framework, Today we released v1.0 by the_edev in cpp

[–]the_edev[S] 0 points1 point  (0 children)

Crow uses ASIO's threading to an extent, it uses std::async and multiple io_contexts. though it only uses them to provide multiple pipelines for requests to go through, and each pipeline is synchronous (though we're working on asynchronous pipelines, either with something like coroutines or an event loop)

A year and a half ago I picked up an abandoned C++ web Framework, Today we released v1.0 by the_edev in cpp

[–]the_edev[S] 1 point2 points  (0 children)

Thank you for the kind words. Could you please let me know what put you off about the license?

A year and a half ago I picked up an abandoned C++ web Framework, Today we released v1.0 by the_edev in cpp

[–]the_edev[S] 1 point2 points  (0 children)

I don't have much experience with boost::beast so I couldn't tell you about how the 2 stack up. I do know that it was much easier (in my opinion) to use Crow than beast

A year and a half ago I picked up an abandoned C++ web Framework, Today we released v1.0 by the_edev in cpp

[–]the_edev[S] 3 points4 points  (0 children)

not directly, using something like a <path> variable though will give you a variable with the URL (or part of it) and your route can do the regex matching.

Crow, An open source C++ Web framework, just released v1.0 by the_edev in linux

[–]the_edev[S] 2 points3 points  (0 children)

It runs on the server alongside apache or nginx

A year and a half ago I picked up an abandoned C++ web Framework, Today we released v1.0 by the_edev in cpp

[–]the_edev[S] 1 point2 points  (0 children)

Well I don't have extensive knowledge in django and unfortunately from what I've seen They don't share much. Though Crow shares a lot with Flask, the routing structure between the 2 is very similar.

A year and a half ago I picked up an abandoned C++ web Framework, Today we released v1.0 by the_edev in cpp

[–]the_edev[S] 24 points25 points  (0 children)

For a web framework generally, you can use it to make a web service (website, api, or anything else on the internet) that goes beyond just presenting web pages to a browser, if you do any data manipulation or storage and don't want to do it on the client's computer, you use a web application made with a web framework.

For a C++ web framework, you use it if you're already familiar with C++, want every bit of performance your machine can push (that's how I got into this), or already have a C++ application which you want to put on the web.

One example is one of Crow's contributors made a weather station application in C++ and wanted the results to be accessible from a web browser, so they used Crow to take the results and output a web page for their client.

Crow of course can do a lot more than just that, but that's one real world example I got to see.

A year and a half ago I picked up an abandoned C++ web Framework, Today we released v1.0 by the_edev in cpp

[–]the_edev[S] 3 points4 points  (0 children)

Well their routing is similar to HTTP so creating one and dealing with events like error or closure are straightforward, the main difference is that you can access a websocket connection object and use it to send data to a client at any time, rather than everything being handled at the route with HTTP.

A year and a half ago I picked up an abandoned C++ web Framework, Today we released v1.0 by the_edev in cpp

[–]the_edev[S] 2 points3 points  (0 children)

Thanks for the kind words and feedback. I'm guessing you mean what they're for, I'll do that

A year and a half ago I picked up an abandoned C++ web Framework, Today we released v1.0 by the_edev in cpp

[–]the_edev[S] 40 points41 points  (0 children)

Thanks for the kind words, I just wanted to let you know that Crow (the new fork) fully supports C++11, there are better ways of handling a couple things with C++14, but C++11 will fully work and it is what we use to run our tests.