> De : Pierre Joye [mailto:pierre....@gmail.com] > > More than adding a new layer, I would love to see something similar to > hhvm or Zephir available by default. If C is used, then only the > relevant parts have to be implement by the developers, skipping all > the over complicated data mangling, swapping, exchange, etc between > userland and the engine. It is then relatively easy to end up > generating codes for either php, hhvm or any other platform. Using > builtin script (yes, in this case it could be a nice thing), it could > became a very nice way to develop php&co extensions. > > For what I can imagine (I did not remotely try to implement it yet) is > to find a way to parse, say, a php script which include custom > sections for C (or C++) codes. We could use comments but I do not like > the idea, mainly because it will be tricky to have editors support :)
I am not sure we need a real language here (PHP or other). I would first wait to see if a set of C macros can't do the job. Cheers François -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php