News for hackers. Stuff that matters.
Re:Zero Cost Abstractions by Manishearth on Wednesday November 30, 2016 @07:06PM (#13075869)
All of the optimizations were done by llvm, so nothing stopping this from working in C++ with closures or C with functions annotated for inlining.

With C the lack of generics means that writing composable iterators is hard, though.

Re:Zero Cost Abstractions by adrianN on Thursday December 01, 2016 @02:22AM (#13077809)
At least it's hard to write composable iterators that don't circumvent the type system completely.