YoVDO

Combining Type Systems with PHP: Hack's Approach

Offered By: Meta via YouTube

Tags

PHP Courses Type System Courses Multithreading Courses

Course Description

Overview

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.

Syllabus

Introduction
Overview
What is Hack
PHP
PHP Code
Pragmatism
Who are we
The hack type system
Things to keep in mind
Unresolved types
Fake locals
Integration
Chaining
Feature Loop
Example Code
Intersection Types
Error Messages
Type Error
Invalid Return Type
Scaling
Multithreading
Shared Memory Region
Invariants
Clientserver model
Tracking dependencies
Rechecking dependencies
Conclusion


Taught by

Meta Developers

Related Courses

Distributed Programming in Java
Rice University via Coursera
Основы разработки на C++: красный пояс
Moscow Institute of Physics and Technology via Coursera
Многопоточность
Moscow Institute of Physics and Technology via Coursera
LAFF-On Programming for High Performance
The University of Texas at Austin via edX
Android-разработка: основы, многопоточность, архитектура
Moscow Institute of Physics and Technology via Coursera