暂时忽略将 C++ 用于 SSS 的可取性,您的首选可能是Wt。与其他一些答案的含义相反,没有开发时间不可能增加 10 倍(或接近它的任何地方)。不,您也不会错过 PHP、Perl 或 Python 等所有优秀的基础设施功能。
事实上,我自己的经验恰恰相反:虽然(例如)PHP 可以很容易地让网站快速启动和运行,但生成一个真正稳定、安全和响应迅速的网站是完全不同的故事。对于 Wt,情况似乎恰恰相反(至少在我承认有限的经验中)。启动和运行初始站点可能需要更长的时间——但只要它看起来、行为和感觉都符合您的要求,它可能只需要相当小的调整即可供公众使用。
Getting back to the advisability question: developing in C++ may be a bit more complex than in some languages that are more common in the SSS market -- but it's still a piece of cake compared to doing security well. If somebody has even the slightest difficulty writing C++ (e.g., tracking and freeing memory when it's no longer needed), I definitely don't want them getting close to the code for my web site.