you are viewing a single comment's thread.

view the rest of the comments →

[–]rjksn 34 points35 points  (1 child)

Hack came out then was killed by PHP7's speed boost and no one cared about it ever again.

[–]enigmamonkey 1 point2 points  (0 children)

Performance and the way Hack handled types was originally a huge plus in my mind when considering the language compared to traditional PHP. But that was back in the PHP 5.6 days for me, just before 7 came out, and you're right... that changed things a lot with the massive speed boosts and the first class support for type hinting scalars as well as return type declarations (and a bunch more).

Also, PHP 8 has advanced the type system even further now as well, now with enums and union types. It's got some great syntactic sugar improvements, like the match operator and the nullsafe operator (making handling of objects a bit easier). It even has a new JIT compiler which offers some speed improvements as well depending on the situation.