Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Haskell
Haskell

473
421
+ 1
408
Java
Java

26K
15.7K
+ 1
3.2K
Add tool

Haskell vs Java: What are the differences?

What is Haskell? An advanced purely-functional programming language. .

What is Java? A concurrent, class-based, object-oriented, language specifically designed to have as few implementation dependencies as possible. Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!.

Haskell and Java can be primarily classified as "Languages" tools.

"Purely-functional programming " is the primary reason why developers consider Haskell over the competitors, whereas "Great libraries" was stated as the key factor in picking Java.

Airbnb, Uber Technologies, and Spotify are some of the popular companies that use Java, whereas Haskell is used by thoughtbot, DoxIQ, and Wagon. Java has a broader approval, being mentioned in 2399 company stacks & 2723 developers stacks; compared to Haskell, which is listed in 33 company stacks and 47 developer stacks.

- No public GitHub repository available -
- No public GitHub repository available -

What is Haskell?

What is Java?

Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Haskell?
Why do developers choose Java?

Sign up to add, upvote and see more prosMake informed product decisions

What are the cons of using Haskell?
What are the cons of using Java?

Sign up to add, upvote and see more consMake informed product decisions

What companies use Haskell?
What companies use Java?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Haskell?
What tools integrate with Java?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Haskell and Java?
Scala
Scala is an acronym for “Scalable Language”. This means that Scala grows with you. You can play with it by typing one-line expressions and observing the results. But you can also rely on it for large mission critical systems, as many companies, including Twitter, LinkedIn, or Intel do. To some, Scala feels like a scripting language. Its syntax is concise and low ceremony; its types get out of the way because the compiler can infer them.
Clojure
Clojure is designed to be a general-purpose language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming. Clojure is a compiled language - it compiles directly to JVM bytecode, yet remains completely dynamic. Clojure is a dialect of Lisp, and shares with Lisp the code-as-data philosophy and a powerful macro system.
Erlang
Some of Erlang's uses are in telecoms, banking, e-commerce, computer telephony and instant messaging. Erlang's runtime system has built-in support for concurrency, distribution and fault tolerance. OTP is set of Erlang libraries and design principles providing middle-ware to develop these systems.
Rust
Rust is a systems programming language that combines strong compile-time correctness guarantees with fast performance. It improves upon the ideas of other systems languages like C++ by providing guaranteed memory safety (no crashes, no data races) and complete control over the lifecycle of memory.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
See all alternatives
Decisions about Haskell and Java
No stack decisions found
Interest over time
Reviews of Haskell and Java
No reviews found
How developers use Haskell and Java
Avatar of Brian Fults
Brian Fults uses JavaJava

Pretty much everything - Java is reasonably fast, reasonably safe, and reasonably expressive. I wouldn't call it the best at any of those things. The real advantage to me is that the virtual machine is ubiquitous and many people can understand it. Since I have the most experience in this language, it's my tool of choice for most projects.

I've also been learning JavaFx so that I can build user interfaces without the web. I've started several single-page-application projects that worked, but felt like workarounds or hacks and would be better-served as self-contained applications.

Avatar of denkbar.io
denkbar.io uses JavaJava

Do I really need to explain? Well to me, the most appealing factor in Java besides the unbelievable community and vast array of available libraries, is just the amount of effort that has been put in the modern JVM. Decades of optimization and improvements have lead to a terrific piece of technology. I admire the people contributed to that.

Avatar of Scrayos UG (haftungsbeschränkt)
Scrayos UG (haftungsbeschränkt) uses JavaJava

Shouldn't surprise anyone, as minecraft is also java-based. Java is used for much more than just the plugins though. JCVortex (our API) is also served with vert.x (Java) and many of our team-internal tools also originated from java or are still java-applications.

Avatar of Web Dreams
Web Dreams uses JavaJava

The most popular language in the world, definitely every programmer would use the Java language at some point. Frankly, I only use java when it’s a must. I find the language to be a little bit tedious when working with it.

Avatar of brenoinojosa
brenoinojosa uses JavaJava

bytelore.com makes extensive use of Java in its applications. We use Java due to its performance, community and the number of other projects built in the language. We have many projects and libraries built in Java.

Avatar of Vagner Oliveira
Vagner Oliveira uses HaskellHaskell
Avatar of Tinkhaven
Tinkhaven uses HaskellHaskell

Backend logic (REST, Auth0, Redis, Postgres, functional graph library (fgl), ...)

Avatar of RELEX Solutions
RELEX Solutions uses HaskellHaskell

Our internal deployment tool, called Mordor, is written in Haskell.

Avatar of Zetaops
Zetaops uses HaskellHaskell

Still experimental work for multikernel OS.

Avatar of Metrix Financial Reporting Solutions UG
Metrix Financial Reporting Solutions UG uses HaskellHaskell

Don't worry, be type-safe.

How much does Haskell cost?
How much does Java cost?
Pricing unavailable
Pricing unavailable
News about Haskell
More news