Boost logo

Proto :

Subject: Re: [proto] [phoenix3] New design proposal
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2010-10-19 05:36:38


> I can imagine a lot of usecases that benefit from this feature. Let me
> list a few here:
> - Multi Stage programming: evaluate the phoenix expression to
> another language that can
> be compiled by some external compiler. The prime example i
> imagine for this is that someone
> picks that topic up, and writes a shader DSL based on phoenix
> reusing the already existing
> phoenix constructs.

We already did here using a souped up phoenix like construct. SO being
able to use the real thing(tm) will be even beter

> - Optimiziers: With the help of this Actions parameter, it almost
> gets trivial to write optimization
> passes that work on phoenix expression. I think this is worth
> exploring, because a optimizer working
> on these high level expression has way more information than for
> example the GIMPLE representation
> of GCC.

see nt2 SIMD pack optimization for such use case too.


Proto list run by eric at boostpro.com