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
Jul 19, 2023 · Frontend Development

Implementing AAC Audio Encoding in Web Browsers Using FFmpeg and WebAssembly

This article explains how to implement AAC audio encoding directly in the browser by compiling FFmpeg’s libavcodec and libswresample to WebAssembly with Emscripten, detailing the required FFmpeg modules, AAC encoding workflow, compilation options, and JavaScript integration for real‑time media streaming.

AACEmscriptenWebAssembly
0 likes · 16 min read
Implementing AAC Audio Encoding in Web Browsers Using FFmpeg and WebAssembly
ByteFE
ByteFE
Jul 19, 2023 · Frontend Development

Using WebAssembly to Optimize Particle System Performance in Game Engine

This article explores how WebAssembly can be used to optimize the performance of particle system calculations in a game engine, reducing CPU load and improving frame rates by offloading computations to WebAssembly modules.

Game EngineJavaScriptParticle System
0 likes · 14 min read
Using WebAssembly to Optimize Particle System Performance in Game Engine
ByteFE
ByteFE
Jul 17, 2023 · Frontend Development

Understanding WebGL, Its Frameworks, and Performance Optimization Strategies

This article explains what WebGL is, surveys popular 2D and 3D JavaScript frameworks, analyzes large‑scene performance bottlenecks, and presents concrete optimization techniques such as custom GeoJSON compression, fragment reduction, draw‑call batching, mesh merging, LOD, face culling, and Web Workers, concluding with a brief overview of the emerging WebGPU API.

3d-graphicsJavaScriptWebGL
0 likes · 24 min read
Understanding WebGL, Its Frameworks, and Performance Optimization Strategies
ByteFE
ByteFE
Jul 12, 2023 · Fundamentals

Building a Simple WebAssembly Interpreter (WAInterp) in TypeScript

This article walks through the complete implementation of a basic WebAssembly interpreter called WAInterp using TypeScript, covering module decoding, instantiation, execution of various sections, handling of instructions, and a practical example, thereby deepening understanding of WebAssembly fundamentals and virtual machine design.

ProgrammingLanguagesTypeScriptVirtualMachine
0 likes · 58 min read
Building a Simple WebAssembly Interpreter (WAInterp) in TypeScript
ByteFE
ByteFE
Jul 12, 2023 · Cloud Native

Design and Implementation of ByteFaaS Worker: A Lightweight WebAssembly‑Based Serverless Solution

ByteFaaS, ByteDance’s internal function compute platform, leverages WebAssembly to create a lightweight, cloud‑edge integrated serverless solution called ByteFaaS Worker, detailing classic versus lightweight FaaS, the WebAssembly runtime, simplified architecture, traffic scheduling, edge support, developer SDKs, and performance benefits.

Edge computingFunction as a ServiceGo SDK
0 likes · 28 min read
Design and Implementation of ByteFaaS Worker: A Lightweight WebAssembly‑Based Serverless Solution
ByteFE
ByteFE
Jul 12, 2023 · Fundamentals

WebAssembly Source Debugging: Principles, Tools, and Comparative Analysis

This article introduces the fundamentals of source-level debugging for WebAssembly, explains core debugging principles, discusses native and managed program debugging, examines various debugging information formats such as SourceMap and DWARF, and compares several practical debugging solutions—including Chrome DevTools, LLDB with wasmtime or iwasm, and WasmInspect.

Chrome DevToolsDWARFDebugging
0 likes · 20 min read
WebAssembly Source Debugging: Principles, Tools, and Comparative Analysis
ByteFE
ByteFE
Jun 28, 2023 · Frontend Development

How GPT is Transforming Frontend Development and UI Interaction

The article examines the rapid rise of GPT models, their technical capabilities and limitations, and how their integration is reshaping software interaction from command‑line to GUI‑plus‑Language UI, offering frontend engineers new opportunities, practical examples, and guidance on leveraging large‑model AI in product design.

AI integrationGPTLLM
0 likes · 21 min read
How GPT is Transforming Frontend Development and UI Interaction
ByteFE
ByteFE
Jun 15, 2023 · Artificial Intelligence

Effective Prompt Engineering: Techniques, Prompt Injection Prevention, Hallucination Mitigation, and Advanced Prompting Strategies

This article explains how to craft efficient prompts by combining clear instructions and questions, discusses prompt injection risks and mitigation with delimiters, addresses hallucinations, and introduces zero‑shot, few‑shot, and chain‑of‑thought prompting techniques for large language models.

Few-shotLLMchain of thought
0 likes · 16 min read
Effective Prompt Engineering: Techniques, Prompt Injection Prevention, Hallucination Mitigation, and Advanced Prompting Strategies
ByteFE
ByteFE
Jun 8, 2023 · Frontend Development

Sixth ByteDance Training Camp

The Sixth ByteDance Training Camp offers free frontend and backend technical training for university students, featuring project-based learning, expert instructors, and career development opportunities to enhance their technical skills and professional competitiveness.

ByteDance TrainingCareer DevelopmentFree Program
0 likes · 3 min read
Sixth ByteDance Training Camp