有编译语言如C ++的任何Web框架吗? [英] Are there any web frameworks for compiled languages like C++?

查看:146
本文介绍了有编译语言如C ++的任何Web框架吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们的嵌入式设备上,我们目前使用PHP作为其网络界面,不幸的是它很慢。我们一直在试验Python,但似乎(至少在FPU-less的ARM架构上)比PHP慢。



因此,我们正在考虑实现网络界面在一些编译语言,如C + +,但到目前为止我们唯一发现是 Wt ,它看起来更像桌面web框架和它的文档是一个相当复杂的初学者。



所以我的问题是:你知道任何良好的Web框架的C / C ++?什么会让我完全快乐会像C ++ Django,但我怀疑这样的事情存在: - )

解决方案

您,我会尝试 Wt 。我不认为你会发现另一个解决方案作为完整和容易使用作为Wt具有类似的性能。邮件列表是活动的,并有定期发布的人在嵌入式设备上使用它。该项目的维基(此处)提到了ARM上的嵌入式部署和性能的一些数字。 / p>

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 :-)

解决方案

If I were you, I would give Wt a try. I don't think you will find another solution as complete and easy to use as Wt with similar performance. The mailinglist are active, and has regular posts of people who use it on embedded devices. The Wiki (here) of the project mentions some numbers for embedded deployment and performance on ARM.

这篇关于有编译语言如C ++的任何Web框架吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆