user-documentation
xhp-js
Our great sponsors
user-documentation | xhp-js | |
---|---|---|
3 | 2 | |
129 | 55 | |
1.6% | - | |
7.4 | 0.0 | |
22 days ago | over 2 years ago | |
Hack | Hack | |
GNU General Public License v3.0 or later | 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.
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).
xhp-js
-
LuaX: A Lua Dialect with JSX
They also made XHP-JS, though it seems inactive.
https://engineering.fb.com/2015/07/09/open-source/announcing...
https://github.com/hhvm/xhp-js
-
Ask HN: State of PHP at Facebook
There is: it's called XHP (https://docs.hhvm.com/hack/XHP/introduction).
That said, I'm not sure how you'd go about server-side rendering React from Hacklang, as it seems that the open-source solution to do so is no longer supported (https://github.com/hhvm/xhp-js).
What are some alternatives?
HHVM - A virtual machine for executing programs written in Hack.
hack-codegen - Library to programatically generate Hack code and write it to signed files
discourse_docker - A Docker image for Discourse
fbshipit - Copy commits between repositories · git → git, git → hg, hg → hg, or hg → git
z-engine - :zap: PHP Engine Direct API
OCRJS - Extracting characters from image using tesseract.js (OCR) Javascript .
Boston-PHP-Meetup-Examples - Boston PHP Meetup examples
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
ex_twilio - Twilio API client for Elixir
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.