问题描述
我不知道为什么这个问题是欺骗我,但时不时的我回到思想 - 为什么不使用C ++网站?到目前为止,我知道没有(除了谣言雅虎)。大多数使用PHP,Java或ASP.NET。一些是基于Ruby或Python构建的,但即使是少数的。
I don't know why this question is bugging me, but time after time I come back to the thought - why not make websites in C++? So far I know of none (except a rumor about Yahoo). Most use PHP, Java or ASP.NET. Some are built on Ruby or Python, but even those are minorities.
同时,看看StackOverflow,看起来C ++仍然是一种非常流行的语言,项目写在它。为什么不是为网页?
At the same time, looking at StackOverflow, it seems that C++ is still a very popular language with many projects written in it. Why not for webpages?
那么 - 你对这个问题知道些什么?有没有用C ++写的网站?是否有任何框架/库帮助这样做?你有没有做过?
So - what do you know about this subject? Are there any websites written in C++? Are there any frameworks/libraries that help doing this? Have YOU ever done it? If yes, did you run into any fundamental problems and would you recommend this to others?
推荐答案
我主要是一个C ++程序员,所以我不打算把它作为一个关于C + +当我说C#和Java是更多的现代语言,更适合99%的应用程序开发你想做的。 C#/ Java / etc的缺点。是用户需要在他们的电脑上安装大型运行时,如果你的用户没有他们,他们将不得不安装他们。因此,通常最好在C ++中编写消费者应用程序,在这种情况下,依赖性很少,而且Grandma不必弄清楚如何安装.NET framework 3.0。
I am primarily a C++ programmer, so I don't intend it as a slam on C++ when I say C# and Java are much more modern languages, better suited for 99% of application development you want to do. The downside of C#/Java/etc. is that the users need big bulky runtimes installed on their PCs, and if your users don't have them then they will have to install them. So it is usually better to write consumer apps in C++, where there will be few dependencies and Grandma won't have to figure out how to install .NET framework 3.0.
对于Web应用程序,您的用户将只使用Web浏览器,因此您可以在任何语言平台上编写。那么为什么不写一个现代的,更好的语言?
For web applications, your user will just be using a web browser so you can write in whatever language platform you want. So why not write in a modern, better language?
(再次,在C ++程序员跳过我之前,让我说我一直主要是C ++程序员15 +年。忽略现代语言对于大多数应用程序开发都更容易和更好。)
(again, before C++ programmers jump all over me, let me say that I have been a primarily C++ programmer for 15+ years. It'd be silly to ignore that modern languages are far easier and better for most application development.)
这篇关于C ++如何流行的网站/网络应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!