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
Unleashing Algebraic Metaprogramming in Julia with Metatheory.jlThe Julia Programming Language via YouTube COSC250 - Functional and Reactive Programming
Independent Free as in Monads - Understanding and Applying Free Monads - Lecture 44
ChariotSolutions via YouTube Generalised Integrated Information Theories
Models of Consciousness Conferences via YouTube Reasoning About Conscious Experience With Axiomatic and Graphical Mathematics
Models of Consciousness Conferences via YouTube