Why can't we use C++ for web development?. I have been asking this question for a long time but i can't figure out the reason.
Asked
Active
Viewed 630 times
-1
-
16You **can** use C++ for web development. – Oliver Charlesworth Dec 17 '11 at 15:53
-
1You can! See my answer at http://stackoverflow.com/questions/1737324/experiences-using-wt-c-framework/1756686#1756686 – ravenspoint Dec 17 '11 at 15:53
-
in visual studio you can only use VB or C# with asp.net @OliCharlesworth – Paula Shenouda Dec 17 '11 at 15:54
-
2Don't use Visual Studio, then. – ibid Dec 17 '11 at 15:55
-
2@Paula: But ASP.NET is not the only framework for web development. If you meant "Why can't C++ be used with ASP.NET?", then you should have asked that. But use the search function, that question is already covered. – Ben Voigt Dec 17 '11 at 15:56
-
1@PaulaShenouda Who told you that you can only use Visual Studio for web development. – Ankit Dec 17 '11 at 15:56
-
4You **can use C++** with http://www.webtoolkit.eu/wt toolkit (for Web). And you can also use Ocaml with http://ocsigen.org/ and you can also use http://opalang.org/ and FastCgi web applications can be coded in C++, Ocaml, Haskell, C, etc.... – Basile Starynkevitch Dec 17 '11 at 16:04
-
1If you want an answer to this question then I'd suggest you avoid using the [c++] tag and rephrase it to something like "Why isn't C++ commonly used". C++ programmers are understandably a bit allergic to why-cant-it-do-that questions. – Hans Passant Dec 17 '11 at 16:25
1 Answers
0
You can! There just isn't as many web based frameworks. Facebook is one example of using C++ on a website.

James Hull
- 3,669
- 2
- 27
- 36