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
Jun 2, 2023 · Fundamentals

Modular Programming and Dynamic Linking in WebAssembly and JavaScript

This article explains the principles of modular programming, examines JavaScript and asm.js module systems, details how WebAssembly implements import/export and dynamic linking, and reviews current proposals such as ES Module integration, Module Linking, and Component Model that shape the future of WebAssembly modularity.

JavaScriptModular ProgrammingModule Linking
0 likes · 29 min read
Modular Programming and Dynamic Linking in WebAssembly and JavaScript
ByteFE
ByteFE
May 24, 2023 · Frontend Development

Design, Implementation, and Performance Benefits of a New React Hook for Controlling Flow

This article analyses the conceptual design, possible implementation, and performance advantages of a new React Hook that can be called inside control flow, discusses its future extensions such as usePromise, lazy subscription, and integration with concurrent mode, and provides practical code examples.

Concurrent ModeHookReAct
0 likes · 13 min read
Design, Implementation, and Performance Benefits of a New React Hook for Controlling Flow
ByteFE
ByteFE
May 17, 2023 · Backend Development

Domain‑Driven Design for Marketing: Abstracting Limits, Rules, Benefits, and Feedback with Node.js

This article explores how to break down the complex marketing domain into modular, atomic components—limits, rules, benefits, and feedback—using Node.js, demonstrates a flexible factory pattern for assembling activities, and provides practical advice for refactoring and product design in real‑world projects.

Domain-Driven Designnodejsrefactoring
0 likes · 24 min read
Domain‑Driven Design for Marketing: Abstracting Limits, Rules, Benefits, and Feedback with Node.js
ByteFE
ByteFE
May 8, 2023 · Fundamentals

Deep Dive into WebAssembly Runtime Architecture: Parsing, Execution, Memory Management, and WASI

This article provides a comprehensive technical analysis of the WebAssembly runtime architecture, detailing the module loading and parsing process, stack-based execution engines, linear memory management strategies, and the evolving garbage collection proposals, while also introducing the WebAssembly System Interface (WASI) for cross-platform system interactions.

Bytecode ExecutionGarbage CollectionRuntime Architecture
0 likes · 32 min read
Deep Dive into WebAssembly Runtime Architecture: Parsing, Execution, Memory Management, and WASI
ByteFE
ByteFE
Apr 24, 2023 · Backend Development

An Overview of WebAssembly Engines: Architecture, Common Implementations, and Comparative Analysis

This article introduces the core components of WebAssembly engines, presents a conceptual architecture model, and then examines several popular open‑source runtimes—including wasmtime, wasm3, WasmEdge, wasm‑micro‑runtime, and V8—detailing their structures, performance characteristics, standards support, and typical use‑cases.

EnginePerformanceRuntime
0 likes · 18 min read
An Overview of WebAssembly Engines: Architecture, Common Implementations, and Comparative Analysis
ByteFE
ByteFE
Apr 19, 2023 · Frontend Development

9 Useful JavaScript Tricks and Code Snippets for Frontend Development

This article presents nine practical JavaScript techniques—including dynamic script loading, a lightweight template engine, array grouping with reduce, default parameters, single‑execution wrappers, currying, the singleton pattern, a simple CommonJS implementation, and recursive property access—each illustrated with clear code examples for front‑end developers.

CodeSnippetsJavaScriptProgrammingTips
0 likes · 13 min read
9 Useful JavaScript Tricks and Code Snippets for Frontend Development
ByteFE
ByteFE
Apr 17, 2023 · Frontend Development

rrweb: A Deep Dive into Web Page Recording and Replay Mechanism

rrweb is an open-source library that records web page DOM changes as JSON arrays instead of video streams, enabling precise replay of user interactions without compression artifacts or storage overhead.

DOM recordingJavaScriptMutationObserver
0 likes · 20 min read
rrweb: A Deep Dive into Web Page Recording and Replay Mechanism
ByteFE
ByteFE
Apr 17, 2023 · Fundamentals

Understanding WebAssembly: Runtime Mechanisms, Tooling, and Cross‑Environment Usage

This article provides a comprehensive overview of WebAssembly, explaining its import/export model, tooling such as wit‑bindgen and waPC, practical examples for web browsers, command‑line runtimes, embedded systems, and plugin architectures, and demonstrates how to integrate WASM with languages like C, Rust, Go, Java, and Python.

Cross‑PlatformRuntimeWasm-bindgen
0 likes · 25 min read
Understanding WebAssembly: Runtime Mechanisms, Tooling, and Cross‑Environment Usage
ByteFE
ByteFE
Apr 12, 2023 · Frontend Development

Design and Refactoring of the xGis 3D Map Event System and Picking Engine

This article details the background, problems, and comprehensive refactoring plan for the xGis web‑based 3D map library, covering event classification, API design, layer interaction proxy, CPU/GPU picking implementations, performance trade‑offs, and future optimization directions.

3D mappingCPUGPU
0 likes · 22 min read
Design and Refactoring of the xGis 3D Map Event System and Picking Engine
ByteFE
ByteFE
Apr 10, 2023 · Fundamentals

Overview of WebAssembly Language Ecosystem and Toolchains

WebAssembly has evolved to version 2.0, offering extensive instruction support, large memory handling, and vector operations, and is now widely used across web and non‑web scenarios; this article surveys popular languages (C/C++, Rust, Go, AssemblyScript, JavaScript, etc.) and key toolchains such as Emscripten, Binaryen, wasi‑sdk, TinyGo, wabt, wasm‑pack, and wasm‑bindgen.

BinaryenC++Emscripten
0 likes · 24 min read
Overview of WebAssembly Language Ecosystem and Toolchains