Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I use functional programming in the real world? [closed]

Functional languages are good because they avoid bugs by eliminating state, but also because they can be easily parallelized automatically for you, without you having to worry about the thread count.

As a Win32 developer though, can I use Haskell for some dlls of my application? And if I do, is there a real advantage that would be taken automatically for me? If so what gives me this advantage, the compiler?

Does F# parallelize functions you write across multiple cores and cpu's automatically for you? Would you ever see the thread count in task manager increase?

Basically my question is, how can I start using Haskell in a practical way, and will I really see some benefits if I do?

like image 754
Brian R. Bondy Avatar asked Sep 27 '08 04:09

Brian R. Bondy


People also ask

What can functional programming language be used for?

Functional Programming is used in situations where we have to perform lots of different operations on the same set of data. Lisp is used for artificial intelligence applications like Machine learning, language processing, Modeling of speech and vision, etc.

What is a functional programming closure?

In programming languages, a closure, also lexical closure or function closure, is a technique for implementing lexically scoped name binding in a language with first-class functions. Operationally, a closure is a record storing a function together with an environment.

Does functional programming have a future?

Still, "functional programming is unmistakably the future," says Felix. "It can help make a large proportion of the current problems we have in software development disappear.” And it can even be used within established Java ecosystems.

Is functional programming still used?

Functional programming has been in existence for the last six decades, but so far, it hasn't ceased to overcome the general use of object oriented programming.


1 Answers

It seems like the book Real World Haskell is just what you're looking for. You can read it free online:

http://book.realworldhaskell.org/

like image 120
Apocalisp Avatar answered Nov 02 '22 16:11

Apocalisp