Scripts in applications: how and why to let users write code?
summary
Covers enabling users to write and run scripts inside applications, with examples like nginx plugins in Lua and Traefik plugins in Go. Explains why embedded scripting is useful for product extensibility and discusses approaches to safely integrate user-written code into high-load systems.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:48Why let users write code
- 7:27Quick start: libraries
- 10:20When to write your own
- 14:34Creating a DSL: School Language
- 21:27Lexical analysis and tokens
- 24:37Parser generation with Yacc
- 31:07Executing AST
- 34:01Summary
- 36:13Q&A
related talks
27mBeyond the Basics: Securing JavaScript Applications
26mBeyond the Basics: Securing JS Applications
35mnpm Scripts and Security
31mAn introduction to Nuxt Scripts
38mSecurity And Modern Software Deployment
51mSure, Let Business Users Build Their Own. What Could Go Wrong?
47mThe linguist programmer
26mScripting in the 3rd Party True Tales of Horror and Hope
