Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any web frameworks for compiled languages like C++? [closed]

On our embedded device, we currently use PHP for its web interface, and unfortunately it's quite slow. We've been experimenting with Python, but is seems (at least on FPU-less ARM architecture) to be as slow as PHP.

Therefore we're thinking about implementing web interface in some compiled language like C++, but so far the only thing we've found is Wt, which looks more like desktop than web framework and it's documentation is rather complicated for a beginner.

So my question is: do you know about any good web frameworks for C/C++? What would make me totally happy would be something like C++ Django, but I doubt such thing exists :-)

like image 283
che Avatar asked Jan 26 '09 15:01

che


People also ask

Which language has most frameworks?

JavaScript. JavaScript is the basis of front-end development and supports object-oriented and functional programming. It is a language that is run by browsers and used to develop and control web pages and is most widely used in the world when it comes to developing web applications like Single Page Application or SPA.

Does every programming language have framework?

Every programming language features a syntax and a particular set of rules, which need to be followed every time the code is written. A software framework is built on top of a programming language. For example, Rails, also known as Ruby on Rails, is a web framework built on top of the Ruby programming language.

What is your preferred language framework for developing applications delivered over the web Why?

PHP. PHP is one of the preferred languages for web application development in 2021. It is a dynamic, server-side scripting language that makes it a smart choice for creating fully functional PHP web development services.


1 Answers

What is the reason your site is slow in PHP? Have you profiled the code to figure out the bottle necks? Replacing the entire codebase with another language is likely to be too large a tool for the job.

Perhaps if some portion is computationally intensive, then maybe you can implement a PHP module in C++ to do the job.

like image 185
spoulson Avatar answered Oct 01 '22 03:10

spoulson