user-documentation
Boston-PHP-Meetup-Examples
Our great sponsors
user-documentation | Boston-PHP-Meetup-Examples | |
---|---|---|
3 | 1 | |
129 | 1 | |
1.6% | - | |
7.2 | 10.0 | |
25 days ago | almost 10 years ago | |
Hack | Ruby | |
GNU General Public License v3.0 or later | - |
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.
user-documentation
-
RFC: Sealed classes
I think there are thousands of other things to apply to PHP, rather than this, but if that's the way to go, well, the worse is nothing. Also just look at what https://docs.hhvm.com/ has and PHP doesn't, or go through LOLPHP.
-
Ask HN: State of PHP at Facebook
> Are there any large Hack codebases I can explore?
depends what you mean by 'large' - perhaps https://github.com/hhvm/user-documentation ?
> Does anyone know if FB tracks changes to PHP so Hack is "up to date"?
No, for the most part, Hack no longer considers PHP 'upstream'. Exceptions are things like security fixes to extension functions, if that particular extension function was derived from PHP.
-
PHP in 2021
> With Hack's extensive static type checking and even contexts / coeffects
Have you used contexts/coeffects?
My understanding is that it's still yet to be fully rolled out to WWW, and nobody outside FB has yet played around with it. IMO it still has some DX issues (https://github.com/facebook/hhvm/issues/8828) and the examples given in documentation don't actually work in real life (https://github.com/hhvm/user-documentation/issues/1016).
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?
HHVM - A virtual machine for executing programs written in Hack.
discourse_docker - A Docker image for Discourse
xhp-js - Easily create JS controllers for XHP elements, and XHP wrappers for React elements
z-engine - :zap: PHP Engine Direct API
hack-codegen - Library to programatically generate Hack code and write it to signed files
http-message - The purpose of this PSR is to provide a set of common interfaces for HTTP messages as described in RFC 7230 and RFC 7231
ent - An entity framework for Go
ex_twilio - Twilio API client for Elixir
bref - Serverless PHP on AWS Lambda
PHP OAuth 2.0 Server - A spec compliant, secure by default PHP OAuth 2.0 Server