News for hackers. Stuff that matters.
Re:Functional core, imperative shell (2012) by taeric on Friday September 21, 2018 @08:01PM (#18043606)
It is also how your computer does basic addition. It isn't like there is such a thing as immutable numbers when it gets to the silicon. Look at how a barrel shifter is implemented someday, or a comparator.
Re:Functional core, imperative shell (2012) by branislav on Saturday September 22, 2018 @02:08AM (#18044739)
It's also how something like React.js works. Wrapping stateful DOM manipulation in a functional shell, made performant thanks to the Virtual DOM diffing algorithm.