Faster JavaScript with Category Theory
Offered By: JSConf via YouTube
Course Description
Overview
Explore how category theory can be applied to JavaScript to improve performance in this JSConf talk. Discover how building two categories and satisfying Functor laws can suggest a new architecture for jQuery, potentially speeding up client-side DOM manipulation. Learn about jQuery internals, category theory concepts like identity and composition laws, and their application to HTML and jQuery. Understand the performance benefits of this approach, including rewrapping, fusion, and simplified manipulation. No prior math knowledge is required to grasp the concepts presented. Find out about potential caveats, escape hatches, and the implications for modular development and minification in jQuery.
Syllabus
Intro
Personal Information
John Bender
Motivation
Performance
What is jQuery
jQuery Internals
jQuery Methods
Category Theory
Identity Law
Composition Law
HTML
Identity
Compose
Category jQuery
How does this work
Example
Functor
Objects
WHA
Why you care
Rewrapping
Fusion
Remove Attribute
Simplify Manipulation
Performance Benefit
Caveat
Escape Hatch
GitHub
Modular
Radical modularity
minification
Category Theory jQuery
Taught by
JSConf
Related Courses
Programming LanguagesUniversity of Virginia via Udacity Building a Basic Website
University of Massachusetts Amherst via Independent iDESWEB, Introducción al desarrollo web
MirÃadax Web Engineering II: Developing Mobile HTML5 Apps
Technische Hochschule Mittelhessen via iversity Web Application Architectures
University of New Mexico via Coursera