Posts tagged ‘Haskell’

Only some days ago PHP.net introduced 5.3.0RC1 version, but future features have been known for quite a while. Namespaces and lambda functions (+ closures) are most anticipated, because they’ll increase flexibility and good-looks of code a lot. Today I’m going to try to prove why lambda functions are so useful.
Because of “Functional Programming” course I [...]

Parallel processes in PHP

February 12th, 2009

When I was coding Ray-Tracer project for my Computer Science studies in university, I ran into using Haskell parallel map function (map calls function for all list elements). Ray-Tracer runs reflections, shadows, ray-casts, etc. detection for every single pixel in scene and since everything is mathematical calculations, it’s paralleling is almost trivial.
Parallel map functions does [...]