r/programming • u/bosyluke • Oct 23 '26
How close can pure FP get to C?
https://rtfeldman.com/fp-vs-cRoc can achieve excellent performance as a pure FP language, I think people will enjoy reading this post which looks at a pure Roc implementation of libdeflate.
78
Upvotes
6
u/Smallpaul Oct 23 '26
This is very cool and good luck on the next release.
14
u/fiah84 Oct 24 '26
that's an excellent elevator pitch for this language and approach
23
u/youngbull Oct 24 '26
Really cool article and a pleasant writing style. A relief in the current slop economy. I just wanted to add that in rust, c and c++, even just a call stack overflow ends up in a segfault so it's a lot more difficult to write high assurance code than people think. There has also been exploits where std::sort was given a cyclical comparator which causes std::sort to exceed bounds.
-4
u/GoAwayLurkin Oct 23 '26
What Weissman score ?