Saturday, January 30, 2021

faster TypeScript

Episode #83: Serverless and TypeScript with Tim Suchanek - Serverless Chats Podcast

an interesting podcast story about TypeScript used for “ORM” Prisma (usually GraphQL)

mentioned “project swc” that is using Rust for making faster TypeScript compiler (20x ?)
as well as using AssemblyScript (subset of TypeScript) and Rust for WASM on CDNs. 

swc-project/swc: swc is a super-fast compiler written in rust; producing widely-supported javascript from modern standards and typescript.

He also mentioned “IOTS” a newer/better way for data validation based on TypeScript during runtime, better than “yup” by skipping for multiple formats of validation metadata.   

Typescript Runtime Validation With io-ts | by Sebastian Walther | The Startup | Medium

gcanti/io-ts: Runtime type system for IO decoding/encoding

Also mentioned “project esbuild”, an alternative for Babel written in Go, apparently 100x faster than JavaScript.

Twitter: @TimSuchanek
LinkedIn: linkedin.com/in/tim-suchanek-08219346
Prisma: https://www.prisma.io/
Prisma Client: https://v1.prisma.io/docs/1.34/prisma-client/
GitHub: https://github.com/prisma
"Generics, Conditional types and Mapped types": https://www.youtube.com/watch?v=PJjeHzvi_VQGitHub: https://github.com/prisma"A Practical Introduction to Database Migrations": https://www.youtube.com/watch?v=xfaps6hgFvI
"How Prisma Solves the N+1 Problem in GraphQL Resolvers": https://www.youtube.com/watch?v=7oMfBGEdwsc
Watch this episode on YouTube: https://youtu.be/Cci65o4IxaU