[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] c++11 in sc



>>> i have been using c++11-structures for quite some time and got a
>>> huge fan of it, as it addresses a lot of cross-platform issues,
>>> not to mention lambda functions, futures, type inference and the
>>> like. it actually feels like a new language. i'd therefore
>>> suggest to introduce some c++11 features in to the sc codebase.
> Probably not related to c++11 specifically but I found it quite
> surprising that apparently c++  template metaprogramming can be used
> as a functional language, actually I found a blog posts where the
> author asks you "to think of TMP as maximally obfuscated (subset of)
> Haskell”.  So, yeah, that is quite a new language indeed !

TMP is very nice for compile-time programming ... though it is difficult
to keep compile times under control and the code readable ... however
nova.simd uses TMP for loop unrolling, which in a way is quite elegant
and results in highly efficient code ...

cheers, tim

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/