Get Advice Icon

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

F#
F#

223
233
+ 1
254
Hack
Hack

80
58
+ 1
27
Add tool

F# vs Hack: What are the differences?

Developers describe F# as "Strongly-typed, functional-first programming language for writing simple code to solve complex problems". F# is a mature, open source, cross-platform, functional-first programming language. It empowers users and organizations to tackle complex computing problems with simple, maintainable and robust code. On the other hand, Hack is detailed as "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.

F# and Hack can be primarily classified as "Languages" tools.

"Pattern-matching" is the primary reason why developers consider F# over the competitors, whereas "Interoperates seamlessly with php" was stated as the key factor in picking Hack.

F# is an open source tool with 2.09K GitHub stars and 341 GitHub forks. Here's a link to F#'s open source repository on GitHub.

According to the StackShare community, F# has a broader approval, being mentioned in 19 company stacks & 16 developers stacks; compared to Hack, which is listed in 8 company stacks and 3 developer stacks.

- No public GitHub repository available -

What is F#?

F# is a mature, open source, cross-platform, functional-first programming language. It empowers users and organizations to tackle complex computing problems with simple, maintainable and robust code.

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.
Get Advice Icon

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

Why do developers choose F#?
Why do developers choose Hack?

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

    Be the first to leave a con
      Be the first to leave a con
      What companies use F#?
      What companies use Hack?

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

      What tools integrate with F#?
      What tools integrate with Hack?

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

      What are some alternatives to F# and Hack?
      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.
      PHP
      Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
      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.
      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!
      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
      Decisions about F# and Hack
      StackShare Editors
      StackShare Editors
      PHP
      PHP
      Hack
      Hack
      HHVM (HipHop Virtual Machine)
      HHVM (HipHop Virtual Machine)

      Throughout 2016, Slack began migrating from PHP5 to Hack. They cite several well-known challenges inherent to PHP, including surprise type conversions, inconsistency around reference semantics, inconsistencies in the standard library, and the fact that “PHP tries very, very hard to keep the request running, even if it has done something deeply strange.”

      To overcome these challenges while maintaining the unique values of PHP, Slack turned to Hack, a gradual typing system for PHP. Hack runs on the HipHop Virtual Machine, or HHVM, an open source just-in-time (JIT) environment for PHP.

      See more
      Yshay Yaacobi
      Yshay Yaacobi
      Software Engineer · | 30 upvotes · 663.3K views
      atSolutoSoluto
      Docker Swarm
      Docker Swarm
      .NET
      .NET
      F#
      F#
      C#
      C#
      JavaScript
      JavaScript
      TypeScript
      TypeScript
      Go
      Go
      Visual Studio Code
      Visual Studio Code
      Kubernetes
      Kubernetes

      Our first experience with .NET core was when we developed our OSS feature management platform - Tweek (https://github.com/soluto/tweek). We wanted to create a solution that is able to run anywhere (super important for OSS), has excellent performance characteristics and can fit in a multi-container architecture. We decided to implement our rule engine processor in F# , our main service was implemented in C# and other components were built using JavaScript / TypeScript and Go.

      Visual Studio Code worked really well for us as well, it worked well with all our polyglot services and the .Net core integration had great cross-platform developer experience (to be fair, F# was a bit trickier) - actually, each of our team members used a different OS (Ubuntu, macos, windows). Our production deployment ran for a time on Docker Swarm until we've decided to adopt Kubernetes with almost seamless migration process.

      After our positive experience of running .Net core workloads in containers and developing Tweek's .Net services on non-windows machines, C# had gained back some of its popularity (originally lost to Node.js), and other teams have been using it for developing microservices, k8s sidecars (like https://github.com/Soluto/airbag), cli tools, serverless functions and other projects...

      See more
      .NET
      .NET
      F#
      F#
      C#
      C#
      Docker
      Docker
      Kubernetes
      Kubernetes

      I've used .NET for many years, but only in recent years, after Microsoft introduced .NET Core, I've found a new love and excitement for the technology again. The main driver for us using .NET Core is not that it is cross platform compatible, open source or blazingly fast (which it is!), but the fact that we can use (what we consider) the best programming languages (mainly F# and C#) to carry out our jobs without sacrificing the other benefits.

      Today we run most of our web infrastructure on .NET Core in Docker containers, deployed into a Kubernetes cluster which spans across multiple time zones in the Google Cloud and we couldn't be happier. Due to the portability of the .NET Core platform we are even able to develop many new services as serverless functions with F# which has become an absolute game changer.

      See more
      StackShare Editors
      StackShare Editors
      Prometheus
      Prometheus
      Chef
      Chef
      Consul
      Consul
      Memcached
      Memcached
      Hack
      Hack
      Swift
      Swift
      Hadoop
      Hadoop
      Terraform
      Terraform
      Airflow
      Airflow
      Apache Spark
      Apache Spark
      Kubernetes
      Kubernetes
      gRPC
      gRPC
      HHVM (HipHop Virtual Machine)
      HHVM (HipHop Virtual Machine)
      Presto
      Presto
      Kotlin
      Kotlin
      Apache Thrift
      Apache Thrift

      Since the beginning, Cal Henderson has been the CTO of Slack. Earlier this year, he commented on a Quora question summarizing their current stack.

      Apps
      • Web: a mix of JavaScript/ES6 and React.
      • Desktop: And Electron to ship it as a desktop application.
      • Android: a mix of Java and Kotlin.
      • iOS: written in a mix of Objective C and Swift.
      Backend
      • The core application and the API written in PHP/Hack that runs on HHVM.
      • The data is stored in MySQL using Vitess.
      • Caching is done using Memcached and MCRouter.
      • The search service takes help from SolrCloud, with various Java services.
      • The messaging system uses WebSockets with many services in Java and Go.
      • Load balancing is done using HAproxy with Consul for configuration.
      • Most services talk to each other over gRPC,
      • Some Thrift and JSON-over-HTTP
      • Voice and video calling service was built in Elixir.
      Data warehouse
      • Built using open source tools including Presto, Spark, Airflow, Hadoop and Kafka.
      Etc
      See more
      Interest over time
      Reviews of F# and Hack
      No reviews found
      How developers use F# and Hack
      Avatar of Tuomas Hietanen
      Tuomas Hietanen uses F#F#

      Backend programming language.

      Avatar of Tuomas Hietanen
      Tuomas Hietanen uses F#F#

      Programming language

      How much does F# cost?
      How much does Hack cost?
      Pricing unavailable
      Pricing unavailable
      News about F#
      More news
      News about Hack
      More news