Is it possible to build an enterprise application with C/C++? [closed]
So, I heard that facebook used C for their underlying business logic, with PHP as the front end. Now I'm learning C++, and my assignment in 2 weeks is to develop a crossword puzzle game for people to play. I finish the program to produce a crossword puzzle with possibility of highest combination between words. The input is from file uploaded by the user or let them enter. Now I'm doing the frontend, and I'm pretty amazed that I can embed C++ code into my web pages, things which I thought never exists, is totally possible with embedded server like Klo开发者_StackOverflow中文版ne: http://www.koanlogic.com/klone/ and web toolkit for C++ like: http://www.webtoolkit.eu/wt.
I really like C++ because it's a pretty general purpose language. If I can develop business website using C/C++, I can practice C/C++ a lot, and I hope I can perform system call on linux to practice it. After graduating, based on knowledge my university provided, I will be more specialised in web development. The thing is, I still want to program in C/C++, so later I can switch to fields such as game programming or embedded system programming.
So, do you have any opinions, advises and experience on this issue?
As we are sharing ideas:
Let's not forget about Google's Native Client project which -frankly- rocks. It will allow you to run any about any native code in the browser, by compiling it into verifiable object format (much like say verifyable managed code that is the basis for Silverlight, but not tied to any VM).
Video link
I dug up the video link I found most informative when I first found out about NaCl
Answering your question - yes.
But should you? There are many tools that are best for specific tasks. Like PHP for web development. You won't write an OS with PHP, so why write web pages with C++?
精彩评论