ByteDance Web Infra
Author

ByteDance Web Infra

ByteDance Web Infra team, focused on delivering excellent technical solutions, building an open tech ecosystem, and advancing front-end technology within the company and the industry | The best way to predict the future is to create it

97
Articles
0
Likes
454
Views
0
Comments
Recent Articles

Latest from ByteDance Web Infra

97 recent articles
ByteDance Web Infra
ByteDance Web Infra
Mar 28, 2023 · Cloud Native

WebAssembly (WASM) Usage Scenarios and Future Trends

This article surveys the diverse scenarios where WebAssembly is applied—from accelerating web applications and providing sandboxed plugins to powering cloud‑native workloads, edge computing, serverless functions, mobile/IoT devices, and blockchain—while also outlining current challenges and future development directions.

BrowserCloud NativeEdge Computing
0 likes · 33 min read
WebAssembly (WASM) Usage Scenarios and Future Trends
ByteDance Web Infra
ByteDance Web Infra
Mar 10, 2023 · Frontend Development

Rspack: A High‑Performance Rust‑Based Web Build Tool – Announcement and Roadmap

Rspack, a Rust‑written web bundler from ByteDance, is officially released as an open‑source project offering dramatically faster dev and build times, strong Webpack compatibility, flexible configuration, and a roadmap that includes richer loader support, advanced caching, plugin APIs, and quality‑assurance measures.

Open SourceRspackWeb Build Tool
0 likes · 9 min read
Rspack: A High‑Performance Rust‑Based Web Build Tool – Announcement and Roadmap
ByteDance Web Infra
ByteDance Web Infra
Feb 17, 2023 · Backend Development

Understanding Rust Build Scripts, FFI, and Sys Crates for NAPI Integration

This article provides a comprehensive guide on Rust build scripts, the role of sys crates, foreign function interfaces, and cross‑compilation techniques, illustrating how to create and use NAPI‑sys and libsodium‑sys crates, manage Cargo instructions, and leverage tools like Zig for seamless multi‑platform builds.

Build ScriptFFINAPI
0 likes · 21 min read
Understanding Rust Build Scripts, FFI, and Sys Crates for NAPI Integration
ByteDance Web Infra
ByteDance Web Infra
Dec 16, 2022 · Frontend Development

Understanding React 18 Streaming SSR and Selective Hydration

React 18 introduces Streaming SSR, allowing the server to send HTML in chunks and perform selective hydration, which improves performance by rendering ready sections early and handling asynchronous components via Suspense, with detailed examples of code implementation, error handling, and JS/CSS integration.

Code SplittingReActSelective Hydration
0 likes · 25 min read
Understanding React 18 Streaming SSR and Selective Hydration
ByteDance Web Infra
ByteDance Web Infra
Oct 20, 2022 · Frontend Development

Optimizing ByteDance Frontend Monitoring SDK: Size Reduction, Benchmarking, and Real‑World Performance Analysis

This article explains how ByteDance’s frontend monitoring SDK is continuously optimized for bundle size and runtime performance through micro‑ and macro‑level code refactoring, benchmark testing with Benny and Puppeteer, and real‑world analysis using Perfsee Lab, ultimately achieving minimal impact on page load metrics.

FrontendPuppeteerSDK
0 likes · 18 min read
Optimizing ByteDance Frontend Monitoring SDK: Size Reduction, Benchmarking, and Real‑World Performance Analysis
ByteDance Web Infra
ByteDance Web Infra
Sep 8, 2022 · Frontend Development

Understanding Incremental Compilation in TypeScript

TypeScript’s incremental compilation, introduced in version 3.4, speeds up build times by reusing previous build information stored in a tsBuildInfoFile, and this article explains the entry points, how old and current programs are created, change detection rules, and configuration of the buildInfo file.

BuildInfoCompilation OptimizationTypeScript
0 likes · 9 min read
Understanding Incremental Compilation in TypeScript
ByteDance Web Infra
ByteDance Web Infra
Aug 26, 2022 · Frontend Development

Measuring and Optimizing Site Performance: Metrics, Collection Methods, and Evaluation

This article explains how ByteDance measures website performance, introduces key front‑end performance metrics such as FP, FCP, LCP, TTI, TBT, FID, and MPFID, describes the APIs and code needed to collect them, and discusses how to evaluate and improve overall site performance using these indicators.

FrontendPerformance Metricsoptimization
0 likes · 16 min read
Measuring and Optimizing Site Performance: Metrics, Collection Methods, and Evaluation