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 :-)
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With