News for hackers. Stuff that matters.
Re:Functional programming is finally going mainstream by WkndTriathlete on Tuesday July 12, 2022 @06:44PM (#32076726)
> Copying memory around to enable to facilitate these immutable structures is SLOW.

"Optics". No one writing serious FP code copies memory around willy-nilly.

Re:Functional programming is finally going mainstream by Koshkin on Tuesday July 12, 2022 @07:05PM (#32076931)
No, but the compiler may do it for you.
Re:Functional programming is finally going mainstream by riku_iki on Tuesday July 12, 2022 @09:45PM (#32078094)
why it would copy and not be passing immutable data by reference?