While Haskell isn't as fast as C or C++ it is not as slow as most people claim. It's a stereotype that functional languages are generally slow because in the past they were. Modern compilers such as GHC or the OCaml compiler have made alot of progress when it comes to code optimization. We will take a look at manually optimizing Haskell code in a future episode on "Profiling"! There are some synthetic benchmarks ( benchmarksgame-team.pages.debian.net/benchmarksgame/performance/fasta.html ) where Haskell is faster than other languages but generally we have to trade performance with abstraction.
Hi Phillipp. Thanks agitation for this s errors of videos. I’m promoting them! How do you get the coloured type in the shell when you type commands like “ls” so “Foo” and “hw” are coloured?
I met the phrase "Haskell is slow". Is there an example of superfast calculation? (maybe on GPU with parallel computing)
While Haskell isn't as fast as C or C++ it is not as slow as most people claim. It's a stereotype that functional languages are generally slow because in the past they were. Modern compilers such as GHC or the OCaml compiler have made alot of progress when it comes to code optimization. We will take a look at manually optimizing Haskell code in a future episode on "Profiling"!
There are some synthetic benchmarks ( benchmarksgame-team.pages.debian.net/benchmarksgame/performance/fasta.html ) where Haskell is faster than other languages but generally we have to trade performance with abstraction.
Hi Phillipp. Thanks agitation for this s errors of videos. I’m promoting them!
How do you get the coloured type in the shell when you type commands like “ls” so “Foo” and “hw” are coloured?
possibly a different shell, like ZSH, or a bash plugin