hack-codegen
Boston-PHP-Meetup-Examples
Our great sponsors
hack-codegen | Boston-PHP-Meetup-Examples | |
---|---|---|
1 | 1 | |
337 | 1 | |
0.6% | - | |
3.4 | 10.0 | |
10 months ago | almost 10 years ago | |
Hack | Ruby | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hack-codegen
-
Ask HN: State of PHP at Facebook
There's also https://github.com/hhvm/hack-codegen/tree/master/examples/do..., along with the article at https://engineering.fb.com/2015/08/20/open-source/writing-co...
This is modern Hack code, but not representative of the state of the Ent framework nowadays - ent/ent is closer design-wise, but not usable from Hack.
Boston-PHP-Meetup-Examples
-
Ask HN: State of PHP at Facebook
Hack is open source.
My understanding from a talk back in 2014, is hack was developed because of frustrations with PHP evolution. Honestly I think it may have lit a fire under the PHP developers because php7 had significant speed improvements.
Talk:
"Facebook recently introduced and open-sourced Hack (https://code.facebook.com/posts/264544830379293/hack-a-new-p...), a gradually-typed programming language for HHVM that interoperates seamlessly with PHP. Hack builds the bridge between the dynamically and statically-typed worlds – providing code correctness while maintaining a fast feedback loop. Facebook is committed to working with the community to improve and refine the Hack language, to help interested developers convert to Hack (https://code.facebook.com/posts/264544830379293/hack-a-new-p...), and to narrow the HHVM compatibility gap with PHP5 and popular frameworks."
https://www.meetup.com/bostonphp/events/184609542/
Slidedeck on Hack (https://github.com/gabelevi/Boston-PHP-Meetup-Examples/blob/...)
What are some alternatives?
fbshipit - Copy commits between repositories · git → git, git → hg, hg → hg, or hg → git
HHVM - A virtual machine for executing programs written in Hack.
xhp-js - Easily create JS controllers for XHP elements, and XHP wrappers for React elements
user-documentation - Documentation for those that use HHVM and write Hack code.
ent - An entity framework for Go
xhp-lib - Class libraries for XHP. XHP is a Hack feature that augments the syntax of the language such that XML document fragments become valid Hack expressions.