Reply to comment


Oct. 13, 2013, 6:57 a.m. -  Michael

C++ is not only good from a speed point of view, but also in terms of what the language offers: template classes and algorithms, multiple inheritance, reduced memory footprint. In my experience, C++ is one of the best languages available and is suitable for a huge range of purposes - but the two core reasons it is so unpopular for web development is exactly as stated in your article: 1) a lack in "batteries included" frameworks (Wt is very much designed from a GUI perspective); and 2) the need for recompilation for a simple change of output. I actually started work on a C++ web framework many years ago. I think the idea formed in my mind around 2007-ish, but I haven't had the time to develop the framework as much as I would like. In relation to point 2 above, I have implemented a reasonably sophisticated template language to allow the separation of business logic and display logic from C++ code. It's a light-weight programming language called WCTL. It has loosely-typed variables defined and accessed in a JSON-like syntax, conditionals (if/elseif/else), loops (foreach) and user-defined functions. I threw together a video this morning, as one of my friends was asking where it was up to. Check it out if you've got the chance. http://www.youtube.com/watch?v=bsqoTNX71eo&feature=youtu.be Note that in the video above, both PHP and WCTL are used without any caching. http://www.michaelainsworth.id.au/

Post your comment

Your email: we will send you a confirmation link to this address to confirm your identity and to prevent robot posting
Get in touch
»...«
Follow updates

Join our social networks and RSS feed to keep up to date with latest news and publications