Get Advice Icon

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

Hack
Hack

78
51
+ 1
27
HTML5
HTML5

26.2K
20.2K
+ 1
2.2K
Add tool

Hack vs HTML5: What are the differences?

Developers describe Hack 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. On the other hand, HTML5 is detailed as "5th major revision of the core language of the World Wide Web". 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.

Hack and HTML5 can be categorized as "Languages" tools.

"Interoperates seamlessly with php" is the primary reason why developers consider Hack over the competitors, whereas "New doctype" was stated as the key factor in picking HTML5.

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

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

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

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

Why do developers choose Hack?
Why do developers choose HTML5?

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 Hack?
      What companies use HTML5?

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

      What tools integrate with Hack?
      What tools integrate with HTML5?

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

      What are some alternatives to Hack and HTML5?
      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.
      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!
      ASP.NET
      .NET is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.
      See all alternatives
      Decisions about Hack and HTML5
      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
      Jonathan Pugh
      Jonathan Pugh
      Software Engineer / Project Manager / Technical Architect · | 19 upvotes · 250.9K views
      Framework7
      Framework7
      JavaScript
      JavaScript
      TypeScript
      TypeScript
      Figma
      Figma
      Visual Studio Code
      Visual Studio Code
      Webpack
      Webpack
      Babel
      Babel
      Ruby
      Ruby
      HTML5
      HTML5
      CouchDB
      CouchDB
      Pouchdb
      Pouchdb
      Font Awesome
      Font Awesome
      Apache Cordova
      Apache Cordova
      CSS 3
      CSS 3
      PhoneGap
      PhoneGap
      #Css
      #CSS3
      #SCSS
      #Sass
      #Less
      #Electron
      #HandleBars
      #Template7
      #Sketch
      #GraphQL
      #HTML5
      #GraphCool

      I needed to choose a full stack of tools for cross platform mobile application design & development. After much research and trying different tools, these are what I came up with that work for me today:

      For the client coding I chose Framework7 because of its performance, easy learning curve, and very well designed, beautiful UI widgets. I think it's perfect for solo development or small teams. I didn't like React Native. It felt heavy to me and rigid. Framework7 allows the use of #CSS3, which I think is the best technology to come out of the #WWW movement. No other tech has been able to allow designers and developers to develop such flexible, high performance, customisable user interface elements that are highly responsive and hardware accelerated before. Now #CSS3 includes variables and flexboxes it is truly a powerful language and there is no longer a need for preprocessors such as #SCSS / #Sass / #less. React Native contains a very limited interpretation of #CSS3 which I found very frustrating after using #CSS3 for some years already and knowing its powerful features. The other very nice feature of Framework7 is that you can even build for the browser if you want your app to be available for desktop web browsers. The latest release also includes the ability to build for #Electron so you can have MacOS, Windows and Linux desktop apps. This is not possible with React Native yet.

      Framework7 runs on top of Apache Cordova. Cordova and webviews have been slated as being slow in the past. Having a game developer background I found the tweeks to make it run as smooth as silk. One of those tweeks is to use WKWebView. Another important one was using srcset on images.

      I use #Template7 for the for the templating system which is a no-nonsense mobile-centric #HandleBars style extensible templating system. It's easy to write custom helpers for, is fast and has a small footprint. I'm not forced into a new paradigm or learning some new syntax. It operates with standard JavaScript, HTML5 and CSS 3. It's written by the developer of Framework7 and so dovetails with it as expected.

      I configured TypeScript to work with the latest version of Framework7. I consider TypeScript to be one of the best creations to come out of Microsoft in some time. They must have an amazing team working on it. It's very powerful and flexible. It helps you catch a lot of bugs and also provides code completion in supporting IDEs. So for my IDE I use Visual Studio Code which is a blazingly fast and silky smooth editor that integrates seamlessly with TypeScript for the ultimate type checking setup (both products are produced by Microsoft).

      I use Webpack and Babel to compile the JavaScript. TypeScript can compile to JavaScript directly but Babel offers a few more options and polyfills so you can use the latest (and even prerelease) JavaScript features today and compile to be backwards compatible with virtually any browser. My favorite recent addition is "optional chaining" which greatly simplifies and increases readability of a number of sections of my code dealing with getting and setting data in nested objects.

      I use some Ruby scripts to process images with ImageMagick and pngquant to optimise for size and even auto insert responsive image code into the HTML5. Ruby is the ultimate cross platform scripting language. Even as your scripts become large, Ruby allows you to refactor your code easily and make it Object Oriented if necessary. I find it the quickest and easiest way to maintain certain aspects of my build process.

      For the user interface design and prototyping I use Figma. Figma has an almost identical user interface to #Sketch but has the added advantage of being cross platform (MacOS and Windows). Its real-time collaboration features are outstanding and I use them a often as I work mostly on remote projects. Clients can collaborate in real-time and see changes I make as I make them. The clickable prototyping features in Figma are also very well designed and mean I can send clickable prototypes to clients to try user interface updates as they are made and get immediate feedback. I'm currently also evaluating the latest version of #AdobeXD as an alternative to Figma as it has the very cool auto-animate feature. It doesn't have real-time collaboration yet, but I heard it is proposed for 2019.

      For the UI icons I use Font Awesome Pro. They have the largest selection and best looking icons you can find on the internet with several variations in styles so you can find most of the icons you want for standard projects.

      For the backend I was using the #GraphCool Framework. As I later found out, #GraphQL still has some way to go in order to provide the full power of a mature graph query language so later in my project I ripped out #GraphCool and replaced it with CouchDB and Pouchdb. Primarily so I could provide good offline app support. CouchDB with Pouchdb is very flexible and efficient combination and overcomes some of the restrictions I found in #GraphQL and hence #GraphCool also. The most impressive and important feature of CouchDB is its replication. You can configure it in various ways for backups, fault tolerance, caching or conditional merging of databases. CouchDB and Pouchdb even supports storing, retrieving and serving binary or image data or other mime types. This removes a level of complexity usually present in database implementations where binary or image data is usually referenced through an #HTML5 link. With CouchDB and Pouchdb apps can operate offline and sync later, very efficiently, when the network connection is good.

      I use PhoneGap when testing the app. It auto-reloads your app when its code is changed and you can also install it on Android phones to preview your app instantly. iOS is a bit more tricky cause of Apple's policies so it's not available on the App Store, but you can build it and install it yourself to your device.

      So that's my latest mobile stack. What tools do you use? Have you tried these ones?

      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
      Jeyabalaji Subramanian
      Jeyabalaji Subramanian
      CTO at FundsCorner · | 21 upvotes · 115K views
      atFundsCornerFundsCorner
      JavaScript
      JavaScript
      HTML5
      HTML5
      Vue.js
      Vue.js
      Vuetify
      Vuetify
      Amazon Cognito
      Amazon Cognito

      At FundsCorner, when we set out to pick up the front-end tech stack (around Dec 2017), we drove our decision based on the following considerations:

      (1) We were clear that we will NOT have a hybrid app. We will start with Responsive Web & once there is traction, we will rollout our Android App. However, we wanted to ensure that the users have a consistent experience on both the Web & the App. So, the front-end framework must also have a material design component library which we can choose from.

      (2) Before joining FundsCorner as a CTO, I had already worked with Angular. I enjoyed working with Angular, but I felt that I must choose something that will provide us with the fastest time from Concept to Reality.

      (3) I am strong proponent of segregating HTML & JavaScript. I.e. I was not for writing or generating HTML through JavaScript. Because, this will mean that the Front-end developers I have to hire will always be very strong on JavaScript alongside HTML5 & CSS. I was looking for a Framework that was on JavaScript but not HEAVY on JavaScript.

      (3) The first iteration of the web app was to be done by myself. But I was clear that when someone takes up the mantle, they will be able to come up the curve fast.

      In the end, Vue.js and Vuetify satisfied all the above criteria with aplomb! When I did our first POC on Vue.js I could not believe that front-end development could be this fast. The documentation was par excellence and all the required essentials that come along with the Framework (viz. Routing, Store, Validations) etc. were available from the same community! It was also a breeze to integrate with other JavaScript libraries (such as Amazon Cognito).

      By picking Vuetify, we were able to provide a consistent UI experience between our Web App and Native App, besides making the UI development ultra blazing fast!

      In the end, we were able to rollout our Web App in record 6 weeks (that included the end to end Loan Origination flow, Loans management system & Customer engagement module). www.jeyabalaji.com

      See more
      Omid Farhang
      Omid Farhang
      Sr. Full Stack Developer · | 11 upvotes · 67K views
      HTML5
      HTML5
      Bootstrap
      Bootstrap
      gulp
      gulp
      GitHub Pages
      GitHub Pages
      GitHub
      GitHub
      JavaScript
      JavaScript
      Google Analytics
      Google Analytics

      Developing static sites like a landing page for mobile app or just a personal resume using HTML5 and Bootstrap is a lot fun when you are using build tools like gulp . I made a personal resume using above tools and published them on GitHub Pages. It was fast and easy, Thanks to GitHub for the free service. All the JavaScript codes worked perfectly after being concat and minified and uglified by gulp and running perfectly on GitHub Pages. gulp created sitemap and inserted Google Analytics code into all pages and saved about 30% of images size by compressing them during build.

      See more
      Epistol
      Epistol
      Laravel
      Laravel
      PhpStorm
      PhpStorm
      Google Analytics
      Google Analytics
      Sass
      Sass
      HTML5
      HTML5
      JavaScript
      JavaScript
      Vue.js
      Vue.js
      Webpack
      Webpack
      Buddy
      Buddy
      nginx
      nginx
      Ubuntu
      Ubuntu
      GitHub
      GitHub
      Git
      Git
      Deployer
      Deployer
      CloudFlare
      CloudFlare
      Let's Encrypt
      Let's Encrypt
      Stripe
      Stripe
      Asana
      Asana
      Bulma
      Bulma
      PHP
      PHP
      #CDG
      CDG

      I use Laravel because it's the most advances PHP framework out there, easy to maintain, easy to upgrade and most of all : easy to get a handle on, and to follow every new technology ! PhpStorm is our main software to code, as of simplicity and full range of tools for a modern application.

      Google Analytics Analytics of course for a tailored analytics, Bulma as an innovative CSS framework, coupled with our Sass (Scss) pre-processor.

      As of more basic stuff, we use HTML5, JavaScript (but with Vue.js too) and Webpack to handle the generation of all this.

      To deploy, we set up Buddy to easily send the updates on our nginx / Ubuntu server, where it will connect to our GitHub Git private repository, pull and do all the operations needed with Deployer .

      CloudFlare ensure the rapidity of distribution of our content, and Let's Encrypt the https certificate that is more than necessary when we'll want to sell some products with our Stripe api calls.

      Asana is here to let us list all the functionalities, possibilities and ideas we want to implement.

      See more
      HTML5
      HTML5
      CSS 3
      CSS 3
      JavaScript
      JavaScript

      I use HTML5 because it's mandatory. Everyone who isn't a programmer should learn this as their first language because you can instantly get visual feedback for what you did. It's also one of the easiest languages to learn as it's just a markup language to display content. Learning this and then CSS 3 and then JavaScript should be the future of what everyone has to learn.

      See more
      React
      React
      Redux
      Redux
      FeathersJS
      FeathersJS
      HTML5
      HTML5
      JavaScript
      JavaScript
      MongoDB
      MongoDB
      Redis
      Redis
      Socket.IO
      Socket.IO
      ES6
      ES6

      I have always been interested in building a real-time multiplayer game engine that could be massively scalable, and recently I decided to start working on a MMO version of the classic "snake" game. I wanted the entire #Stack to be based on ES6 JavaScript so for the #Backend I chose to use FeathersJS with MongoDB for game/user data storage, Redis for distributed mutex and pub/sub, and Socket.IO for real-time communication. For the #Frontend I used React with Redux.js, the FeathersJS client as well as HTML5 canvas to render the view.

      See more
      Tom Klein
      Tom Klein
      CEO at Gentlent · | 4 upvotes · 33.8K views
      atGentlentGentlent
      JavaScript
      JavaScript
      Node.js
      Node.js
      PHP
      PHP
      HTML5
      HTML5
      Sass
      Sass
      nginx
      nginx
      React
      React
      PostgreSQL
      PostgreSQL
      Ubuntu
      Ubuntu
      ES6
      ES6
      TypeScript
      TypeScript
      Google Compute Engine
      Google Compute Engine
      Socket.IO
      Socket.IO
      Electron
      Electron
      Python
      Python

      Our most used programming languages are JavaScript / Node.js for it's lightweight and fast use, PHP because everyone knows it, HTML5 because you can't live without it and Sass to write great CSS. Occasionally, we use nginx as a web server and proxy, React for our UX, PostgreSQL as fast relational database, Ubuntu as server OS, ES6 and TypeScript for Node, Google Compute Engine for our infrastructure, and Socket.IO and Electron for specific use cases. We also use Python for some of our backends.

      See more
      Nicolas Theck
      Nicolas Theck
      Student at RocketPlay · | 3 upvotes · 28.3K views
      atRocketPlayRocketPlay
      HTML5
      HTML5
      JavaScript
      JavaScript
      Vue.js
      Vue.js
      Webpack
      Webpack
      GitLab
      GitLab
      GitLab CI
      GitLab CI
      Ubuntu
      Ubuntu
      npm
      npm
      nginx
      nginx
      CloudFlare
      CloudFlare
      ExpressJS
      ExpressJS
      Sequelize
      Sequelize
      PostgreSQL
      PostgreSQL
      JSON Web Token
      JSON Web Token
      PM2
      PM2
      OVH
      OVH
      Node.js
      Node.js
      Twilio SendGrid
      Twilio SendGrid
      #Frontend
      #Backend
      #Pulsejs
      #Passport
      #Ns

      We use JavaScript in both our #Frontend and #Backend. Front-End wise, we're using tools like Vue.js , Webpack (for dev & building), pulsejs . For delivering the content, we push to GitLab & use GitLab CI (running on our own Ubuntu machine) to install (with npm) our packages, build the app trough Webpack and finally push it to our nginx server via a folder. From there, use accessing the website will get cached content thanks to CloudFlare. Back-End wise, we again use JavaScript with tools such as ExpressJS (http server), Sequelize (database, server running on PostgreSQL ) but also JSON Web Token with passport to authenticate our users. Same process used in front-end is used for back-end, we just copy files to a dist where PM2 watches for any change made to the Node.js app. Traffic doesn't go trough CloudFlare for upload process reasons but our nginx reverse proxy handles the request (which do go trough CloudFlare SSL-wise, since we're using their ns servers with our OVH domain.) Other utils we use are SendGrid for email sending & obviously HTML5 for the base Vue.js app. I hope this article will tell you more about the Tech we use here at RocketPlay :p

      See more
      Labinator Team
      Labinator Team
      at Labinator · | 13 upvotes · 87.6K views
      atLabinatorLabinator
      HTML5
      HTML5
      CSS 3
      CSS 3
      Sass
      Sass
      Vanilla.JS
      Vanilla.JS
      PHP
      PHP
      WordPress
      WordPress
      Sublime Text
      Sublime Text
      Visual Studio Code
      Visual Studio Code
      Manjaro
      Manjaro
      Debian
      Debian

      At labinator.com, we use HTML5, CSS 3, Sass, Vanilla.JS and PHP when building our premium WordPress themes and plugins. When writing our codes, we use Sublime Text and Visual Studio Code depending on the project. We run Manjaro and Debian operating systems in our office. Manjaro is a great desktop operating system for all range of tasks while Debian is a solid choice for servers.

      WordPress became a very popular choice when it comes to content management systems and building websites. It is easy to learn and has a great community behind it. The high number of plugins as well that are available for WordPress allows any user to customize it depending on his/her needs.

      For development, HTML5 with Sass is our go-to choice when building our themes.

      Main Advantages Of Sass:

      • It's CSS syntax friendly
      • It offers variables
      • It uses a nested syntax
      • It includes mixins
      • Great community and online support.
      • Great documentation that is easy to read and follow.

      As for PHP, we always thrive to use PHP 7.3+. After the introduction of PHP 7, the WordPress development process became more stable and reliable than before. If you a developer considering PHP 7.3+ for your project, it would be good to note the following benefits.

      The Benefits Of Using PHP:

      • Open Source.
      • Highly Extendible.
      • Easy to learn and read.
      • Platform independent.
      • Compatible with APACHE.
      • Low development and maintenance cost.
      • Great community and support.
      • Detailed documentation that has everything you need!

      Why PHP 7.3+?

      • Flexible Heredoc & Nowdoc Syntaxes - Two key methods for defining strings within PHP. They also became easier to read and more reliable.
      • A good boost in performance speed which is extremely important when it comes to WordPress development.
      See more
      Tassanai Singprom
      Tassanai Singprom
      JavaScript
      JavaScript
      PHP
      PHP
      HTML5
      HTML5
      jQuery
      jQuery
      Redis
      Redis
      Amazon EC2
      Amazon EC2
      Ubuntu
      Ubuntu
      Sass
      Sass
      Vue.js
      Vue.js
      Firebase
      Firebase
      Laravel
      Laravel
      Lumen
      Lumen
      Amazon RDS
      Amazon RDS
      GraphQL
      GraphQL
      MariaDB
      MariaDB
      Google Analytics
      Google Analytics
      Postman
      Postman
      Elasticsearch
      Elasticsearch
      Git
      Git
      GitHub
      GitHub
      GitLab
      GitLab
      npm
      npm
      Visual Studio Code
      Visual Studio Code
      Kibana
      Kibana
      Sentry
      Sentry
      BrowserStack
      BrowserStack
      Slack
      Slack

      This is my stack in Application & Data

      JavaScript PHP HTML5 jQuery Redis Amazon EC2 Ubuntu Sass Vue.js Firebase Laravel Lumen Amazon RDS GraphQL MariaDB

      My Utilities Tools

      Google Analytics Postman Elasticsearch

      My Devops Tools

      Git GitHub GitLab npm Visual Studio Code Kibana Sentry BrowserStack

      My Business Tools

      Slack

      See more
      Interest over time
      Reviews of Hack and HTML5
      No reviews found
      How developers use Hack and HTML5
      Avatar of OutSystems
      OutSystems uses HTML5HTML5

      Read more on how to extend the OutSystems UI with HTML here.

      At the user interface level, the platform provides a rich visual editor that allows web interfaces to be composed by dragging and dropping. Instead of purely writing HTML, developers use visual widgets. These widgets are wrapped and are easy to reuse just by dragging and dropping without everyone needing to understand how they are built.

      Avatar of Rajeshkumar T
      Rajeshkumar T uses HTML5HTML5
      • Its used for "Food Ordering System" with Mobile Responsive theme.

      • Custom email template ( Static and dynamic updates)

      • Cart and checkout modules.

      • Banners and ads management.

      • Restaurant listing and website ordering.

      • It support all the mobile browser compatibility.

      Avatar of Andrew Gatenby
      Andrew Gatenby uses HTML5HTML5

      All of our responsive wireframes that are used to build the front end of our clients' sites are built with HTML 5, so we can ensure the most efficient and up to date experience for their customers.

      Avatar of Eliana Abraham
      Eliana Abraham uses HTML5HTML5

      I mostly just use it when I need to customize something from Bootstrap or *SemanticUI *and when I need to tweak tiny details or get around the limitations of Javascript.

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

      We exclusively use HTML5 instead of XHTML (or even older) HTML-versions. We like the new unity that HTML5 offers and try to keep our code according to the conventions.

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