ByteFE
Author

ByteFE

Cutting‑edge tech, article sharing, and practical insights from the ByteDance frontend team.

343
Articles
0
Likes
894
Views
0
Comments
Recent Articles

Latest from ByteFE

100 recent articles max
ByteFE
ByteFE
Oct 11, 2023 · Artificial Intelligence

CR Copilot: An Open‑Source LLM‑Based Code Review Assistant with Private Knowledge Base

This article describes the design and implementation of a code‑review assistant powered by open‑source large language models and a privately hosted knowledge base, covering background, pain points, system architecture, model selection, vector‑store integration, prompt engineering, diff parsing, and practical reflections.

AIKnowledge BaseLLM
0 likes · 24 min read
CR Copilot: An Open‑Source LLM‑Based Code Review Assistant with Private Knowledge Base
ByteFE
ByteFE
Sep 13, 2023 · Frontend Development

VisActor Animation Implementation Principles

This article explains VisActor's animation system, detailing animation definition, trigger mechanisms, basic units like timeline and timeslice, effect configuration, global morphing via Bezier curves, and demonstrates one-to-one, one-to-many, and many-to-one shape transformations with code examples and demos.

Bezier CurvesVisActorVisualization
0 likes · 16 min read
VisActor Animation Implementation Principles
ByteFE
ByteFE
Aug 30, 2023 · Frontend Development

Understanding Browser and VS Code Web Debugging with the Chrome DevTools Protocol

This article explains the fundamentals of breakpoint debugging for web applications, covering the Douyin mini‑program developer tool, Chrome DevTools Protocol basics, browser‑side breakpoint communication, VS Code’s debugging architecture, launch configuration, source‑map handling, and how these concepts can be applied to IDE mini‑program debugging.

CDPChrome DevToolsSource Maps
0 likes · 21 min read
Understanding Browser and VS Code Web Debugging with the Chrome DevTools Protocol
ByteFE
ByteFE
Aug 16, 2023 · Frontend Development

Evolution of Frontend Module Systems and Major Module Specifications

This article traces the history of frontend modularization from early global‑function scripts through IIFE, CommonJS, ES6 modules, AMD and CMD, explaining why modularization is needed, how each approach works, their drawbacks, and the key features of each specification.

AMDCommonJSES6
0 likes · 14 min read
Evolution of Frontend Module Systems and Major Module Specifications
ByteFE
ByteFE
Aug 9, 2023 · Frontend Development

Semi D2C: Design‑to‑Code System for Accelerating Frontend UI Development

The article introduces Semi D2C, a design‑to‑code solution built by the Douyin frontend team that converts Figma design files into reusable JSX/CSS code, explains its capabilities, implementation details, challenges, benefits for designers and developers, and how it differs from other D2C approaches.

Component RecognitionDesign-to-codeFigma
0 likes · 26 min read
Semi D2C: Design‑to‑Code System for Accelerating Frontend UI Development
ByteFE
ByteFE
Aug 2, 2023 · Fundamentals

Understanding Dependency Injection and Inversion of Control with TypeScript

This article explains the concepts of Inversion of Control and Dependency Injection, demonstrates how to implement a lightweight DI container in TypeScript using decorators and reflection, and covers advanced features such as provider registration, abstraction, lazy loading, and handling circular dependencies.

Inversion of ControlIoC ContainerTypeScript
0 likes · 35 min read
Understanding Dependency Injection and Inversion of Control with TypeScript
ByteFE
ByteFE
Jul 26, 2023 · Frontend Development

Browser Fundamentals: Process Architecture, V8 Engine, Memory Management, Event Loop, Rendering, and Security

This comprehensive guide explains browser fundamentals, covering process and thread architecture, single‑ and multi‑process models, the V8 engine's data types, property ordering, memory allocation and garbage collection, compilation stages, the event loop, rendering pipeline, performance optimization techniques, and security mechanisms.

BrowserEvent LoopRendering
0 likes · 43 min read
Browser Fundamentals: Process Architecture, V8 Engine, Memory Management, Event Loop, Rendering, and Security
ByteFE
ByteFE
Jul 19, 2023 · Frontend Development

Using WebAssembly for Efficient 3D Model Decoding in Web Applications

This article explains how WebAssembly is used to decode glTF 3D models compressed with Draco and Meshopt algorithms in Porsche's live gift system, detailing the decoding framework, implementation, and performance benefits and user experience.

3D model decodingDracoWebAssembly
0 likes · 18 min read
Using WebAssembly for Efficient 3D Model Decoding in Web Applications
ByteFE
ByteFE
Jul 19, 2023 · Frontend Development

Optimizing Web Front‑End Performance with WebAssembly: Design and Implementation of ByteReact

This article explores how WebAssembly can break the speed limits of JavaScript by compiling both framework and business logic into WebAssembly, describes the design of the ByteReact front‑end framework, its custom Bytets compiler that turns TypeScript into WebAssembly, and presents performance measurements showing up to three‑fold speed gains for compute‑heavy UI tasks.

PerformanceReActTypeScript
0 likes · 20 min read
Optimizing Web Front‑End Performance with WebAssembly: Design and Implementation of ByteReact
ByteFE
ByteFE
Jul 19, 2023 · Frontend Development

WebAssembly‑Based Video Editing: Architecture, Multithreading, Graphics, and Performance Optimizations

This article reviews the adoption of WebAssembly for a web‑based video editing SDK, covering its technical background, browser compatibility, JavaScript vs. WebAssembly trade‑offs, multithreading with Web Workers, OpenGL/WebGL rendering, virtual file‑system handling, package‑size reduction techniques, development tooling, and future directions such as front‑end synthesis and collaborative editing.

EmscriptenWebAssemblyWebGL
0 likes · 30 min read
WebAssembly‑Based Video Editing: Architecture, Multithreading, Graphics, and Performance Optimizations