Hey all, 2010/3/23 OvermindDL1 <[email protected]>: > On Mon, Mar 22, 2010 at 11:57 AM, Zoran Angelov <[email protected]> wrote: >> Hi to all, >> Have anyone considered using boost.proto library to develop DSEL ( c++ >> expressions can be translated to JScript transparently ) for JScript part of >> Wt? >> It would be useful for WebGL too. >> This is just a suggestion, i saw Wt and WebGL conversation and i think that >> boost.proto might be a good choice, but it can be used in general for >> JScript code generation? >> Best Regards. > > Heh, read my mind. Boost.Proto is definitely useful for such things, > and certainly could simplify a lot of Wt code if they wanted to go > that route, but the cost for simplifying the code would be to increase > compile-times (although on GCC 4.5+ it does a *lot* better on). A lot
Although I really like spirit, I am not totally convinced that it would *simplify* Wt code, although it could probably help to avoid JavaScript bugs ? We did think about it, especially to be able to relax the constraints for "stateless slots": then you would be able to implement there basic loops and conditions, which would render both valid C++ code (server-side), manipulating widgets, and client-side JavaScript, manipulating the DOM. I would need some example code first to convince myself that this is really feasible and worth-wile... Regards, koen ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
