Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there web frameworks for Boost::asio?

Tags:

c++

boost

It sounds a bit strange using C++ for web developing, but with node.js becoming popular I think it's reasonable for C++ to do web stuff.

node.js is similar to Boost::asio, they are both asynchronous and having high performance. I think it is natural for C++ have its own web framework based on Boost::asio.

So are there web frameworks for Boost::asio, like Express, Geddy? And why if not?

like image 802
fool Avatar asked Oct 10 '22 12:10

fool


2 Answers

There is pion, which is a boost::asio based HTTP server written in C++. You could use that as a starting point for a C++ web framework.

like image 81
acm Avatar answered Oct 13 '22 01:10

acm


They exist, but all the ones I know of are "in-house". Once you're writing C++ using asio, it's not that big a leap to take something like google ctemplates, write a webserver and do a framework.

like image 29
janm Avatar answered Oct 13 '22 01:10

janm