Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Faster JavaScript with Category Theory

JSConf via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
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

Reviews

Start your review of Faster JavaScript with Category Theory

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.