Re:A Google Reader Replacement written in Haskell and Ur
by yfefyf on Saturday June 29, 2013 @11:22AM
(#5962641)
Seems that these problems are Clojure's selling points.
Re:A Google Reader Replacement written in Haskell and Ur
by chrisdone on Saturday June 29, 2013 @01:36PM
(#5963144)
Maybe so, but Closure and Ur/Web are apples and oranges. The selling points of Ur/Web are not present in Clojure.
The FFI of Ur/Web is low level and easy to use. This made interfacing with existing C routines easy. When I couldn't work out how to do something in Ur, I just wrote it in C (well, actually I wrote it in ATS which compiles to C) and called it from Ur.
I did have some interesting issues in an application that had fairly heavy load. If one transaction is in process and it relies on data that gets changed in another transaction then one of them is rolled back and retried once the other has succeeded. Under very heavy load, where transactions required some semi-global state in the database, and all those transactions modified that state then these rollbacks would happen a lot and cause performance issues. Fixed with better data design in the app of course to avoid the contention on the global state.
All in all though Ur/Web has held up very well for me and makes it pretty quick to put things together.