Главная
Study mode:
on
1
Introduction
2
Overview
3
What is Hack
4
PHP
5
PHP Code
6
Pragmatism
7
Who are we
8
The hack type system
9
Things to keep in mind
10
Unresolved types
11
Fake locals
12
Integration
13
Chaining
14
Feature Loop
15
Example Code
16
Intersection Types
17
Error Messages
18
Type Error
19
Invalid Return Type
20
Scaling
21
Multithreading
22
Shared Memory Region
23
Invariants
24
Clientserver model
25
Tracking dependencies
26
Rechecking dependencies
27
Conclusion
Description:
Explore the technical intricacies of Hack, Facebook's dialect of PHP, in this comprehensive conference talk. Delve into the implementation of a strong, static type system onto a dynamic, untyped language like PHP. Gain insights into the type system's design and the static typechecker that enforces it, with a focus on maintaining PHP's productivity advantages. Learn about unresolved types, fake locals, integration techniques, and chaining. Examine practical examples, including intersection types and error handling. Discover how Hack addresses scaling challenges through multithreading, shared memory regions, and a client-server model for dependency tracking and rechecking. Enhance your understanding of modern PHP development and type system integration in this in-depth technical presentation.

Combining Type Systems with PHP: Hack's Approach

Meta
Add to list