[Barrelfish] [Barrelfish-users] Design question

Timothy Roscoe troscoe at inf.ethz.ch
Mon Feb 15 11:37:30 MET 2010


Filet-o-Fish is an embedding of a subset of C into Haskell; it's heavily 
geared towards generating code from DSLs rather than general-purpose C. 
  As said, I suspect some of our DSLs may converge, but we have no plans 
to abandon C as the main language.

  -- Timothy Roscoe

C K Kashyap wrote:
> Hi Timothy,
> If I understand right FoF is a model for "C" and that one could describe 
> his/her intent in FoF in a concise manner and corresponding "C" could be 
> generated. Could the commonalities under various dirs under arch  have 
> been abstracted into a DSL?
> 
> Can we not have all the source code in DSL's alone?
> 
> Regards,
> Kashyap
> 
> On Thu, Feb 11, 2010 at 8:02 AM, Timothy Roscoe <troscoe at inf.ethz.ch 
> <mailto:troscoe at inf.ethz.ch>> wrote:
> 
> 
>     Hi Kashyap,
> 
>     I'm not sure what you mean - in general you need to have some general
>     purpose language to glue everything together.  Our use of DSLs is very
>     pragmatic: we generally use one when we think there's a chance it will
>     make our like easier.  There is a chance some will converge (both
>     Mackerel and Hamlet need to specify physical data layout, for
>     example), but we'll always have C.
> 
>      -- Timothy Roscoe
> 
>     At Tue, 9 Feb 2010 15:48:45 +0530, C K Kashyap <ckkashyap at gmail.com
>     <mailto:ckkashyap at gmail.com>> wrote:
>      > Hi folks,
>      >
>      > I was a little surprised to see s o much of C code in the source
>     base. Is the
>      > plan to eventually have code only in DSEL's?
>      >
>      > --
>      > Regards,
>      > Kashyap
> 
> 
> 
> 
> -- 
> Regards,
> Kashyap


More information about the Barrelfish-users mailing list