Get Advice Icon

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

Hack

570
168
+ 1
29
JRuby

85
89
+ 1
32
Add tool

Hack vs JRuby: What are the differences?

What is Hack? A programming language for HHVM that interoperates seamlessly with PHP. Hack provides instantaneous type checking via a local server that watches the filesystem. It typically runs in less than 200 milliseconds, making it easy to integrate into your development workflow without introducing a noticeable delay.

What is JRuby? A high performance, stable, fully threaded Java implementation of the Ruby programming language. JRuby is the effort to recreate the Ruby (http://www.ruby-lang.org) interpreter in Java. The Java version is tightly integrated with Java to allow both to script any Java class and to embed the interpreter into any Java application. See the docs directory for more information.

Hack and JRuby can be primarily classified as "Languages" tools.

"Interoperates seamlessly with php" is the top reason why over 5 developers like Hack, while over 7 developers mention "Java" as the leading cause for choosing JRuby.

JRuby is an open source tool with 3.32K GitHub stars and 830 GitHub forks. Here's a link to JRuby's open source repository on GitHub.

Groupon, Soundcloud, and Lookout are some of the popular companies that use JRuby, whereas Hack is used by Facebook, Slack, and Wizters. JRuby has a broader approval, being mentioned in 13 company stacks & 4 developers stacks; compared to Hack, which is listed in 8 company stacks and 3 developer stacks.

Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Hack
Pros of JRuby
  • 6
    Interoperates seamlessly with php
  • 6
    Open source
  • 5
    Backed by facebook
  • 4
    HHVM
  • 2
    PHP like
  • 2
    Great documentation
  • 2
    Generics
  • 1
    Fast
  • 1
    Used by facebook
  • 0
    Great type system
  • 0
    Easy to learn
  • 8
    Java
  • 7
    Faster than Ruby
  • 3
    Threads
  • 3
    JVM
  • 2
    Open source
  • 2
    Supports native Ruby gems out the box
  • 2
    Garbage collection built-in
  • 2
    Built-in Testing
  • 2
    Deploy as executable jay
  • 1
    Great community

Sign up to add or upvote prosMake informed product decisions

26
189
1
1.3K
2.1K
2.8K

What is Hack?

Hack provides instantaneous type checking via a local server that watches the filesystem. It typically runs in less than 200 milliseconds, making it easy to integrate into your development workflow without introducing a noticeable delay.

What is JRuby?

JRuby is the effort to recreate the Ruby (http://www.ruby-lang.org) interpreter in Java. The Java version is tightly integrated with Java to allow both to script any Java class and to embed the interpreter into any Java application. See the docs directory for more information.

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

What companies use Hack?
What companies use JRuby?
Manage your open source components, licenses, and vulnerabilities
Learn More

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

What tools integrate with Hack?
What tools integrate with JRuby?
What are some alternatives to Hack and JRuby?
PHP
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
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.
Node.js
Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
HTML5
HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.
See all alternatives