On Nov 25, 10:39 am, Pat LeSmithe <qed...@gmail.com> wrote:
> An open-ended query, naive in several ways:
>
> Is it possible to generalize Cython
>
> http://www.cython.org/http://en.wikipedia.org/wiki/Cython
>
> to Cilk / Cilk++

According to Cilk's description, Cilk is simply "C" plus some extra
keywords. What you need is a way to inject keywords into
the code. You can partially do that using

extern fun "spawn fun" (...)

getting your "sync" in  could go via

extern sync "sync empty_macro" ()
where you have a declaration "#define empty_macro() {}" included
elsewhere.

So you might already be able to hack your way to partial support.

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to