Tag

arc

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 16, 2025 · Frontend Development

Master CSS shape(): Create Complex Clip‑Path Shapes with Percentages and Arcs

This tutorial explains the CSS shape() function, its syntax, and how it extends clip‑path and offset‑path capabilities, allowing developers to craft responsive, irregular shapes using percentages, variables, and arc commands, with practical code examples and browser compatibility notes.

CSSarcclip-path
0 likes · 14 min read
Master CSS shape(): Create Complex Clip‑Path Shapes with Percentages and Arcs
Architecture Development Notes
Architecture Development Notes
Feb 4, 2025 · Fundamentals

Mastering Rust’s Send and Sync Traits for Safe Concurrency

Explore how Rust’s Send and Sync marker traits guarantee thread‑safe ownership transfer and shared references, with clear explanations, practical code examples, custom type implementations, common pitfalls, and performance considerations to help you write reliable concurrent programs.

MutexRustSend
0 likes · 8 min read
Mastering Rust’s Send and Sync Traits for Safe Concurrency
ByteDance Terminal Technology
ByteDance Terminal Technology
Dec 28, 2022 · Mobile Development

Analyzing ARC Multithreaded Assignment Crashes in iOS Applications

This article examines how ARC‑managed object assignments can produce wild pointers and EXC_BAD_ACCESS crashes in multithreaded iOS apps, explains the underlying reference‑counting steps, demonstrates reproducible demo scenarios, and offers practical mitigation strategies for developers.

Memory Managementarccrash
0 likes · 14 min read
Analyzing ARC Multithreaded Assignment Crashes in iOS Applications
Sohu Tech Products
Sohu Tech Products
May 25, 2022 · Mobile Development

Understanding the AutoreleasePool Mechanism in Objective‑C

This article explains how Objective‑C’s AutoreleasePool works under ARC and MRC, covering NSAutoreleasePool, the @autoreleasepool syntax, internal C++ structures, page management, POOL_BOUNDARY handling, nested pools, and the interaction with the run‑loop for timely object release.

AutoreleasePoolMRCMemory Management
0 likes · 14 min read
Understanding the AutoreleasePool Mechanism in Objective‑C
Kuaishou Frontend Engineering
Kuaishou Frontend Engineering
Aug 30, 2021 · Mobile Development

Why Does NSString Leak in Long‑Running Threads? Exploring ARC and AutoreleasePool

An in‑depth analysis of a memory‑growth issue observed in a Kuaishou live‑stream app reveals how ARC, autorelease pools, and NSString’s class‑cluster implementation interact, why @autoreleasepool blocks resolve the leak, and how compiler optimizations and thread‑local pools affect object release in long‑running C++ threads.

AutoreleasePoolMemory ManagementNSString
0 likes · 23 min read
Why Does NSString Leak in Long‑Running Threads? Exploring ARC and AutoreleasePool
ByteDance Terminal Technology
ByteDance Terminal Technology
Jul 28, 2021 · Backend Development

Investigating a Clang -Oz Optimization Bug that Triggers Memory Bloat in a Video Component

The article describes how enabling the aggressive size‑optimisation flag -Oz in Clang caused a video component to create numerous GLFramebuffer and CVPixelBuffer objects, leading to OOM crashes, and explains the underlying ARC and Machine Outliner interactions that exposed a compiler bug which was later fixed in LLVM.

LLVMarcclang
0 likes · 11 min read
Investigating a Clang -Oz Optimization Bug that Triggers Memory Bloat in a Video Component
JD Retail Technology
JD Retail Technology
Dec 23, 2020 · Fundamentals

Understanding the dealloc Process of Objective‑C Objects in MRC and ARC

This article explains how Objective‑C objects are deallocated in both manual reference counting (MRC) and Automatic Reference Counting (ARC), outlines common pitfalls such as using __weak in dealloc, and details the runtime flow from _objc_rootDealloc to the final memory free operation.

MRCMemory Managementarc
0 likes · 9 min read
Understanding the dealloc Process of Objective‑C Objects in MRC and ARC
JD Retail Technology
JD Retail Technology
Nov 28, 2019 · Mobile Development

Understanding iOS Property Modifiers and Common Retain Cycle Scenarios

This article explains iOS property attribute categories, the memory‑related modifiers assign, weak, strong and copy, clarifies why assign can cause dangling pointers while weak does not, and describes typical retain‑cycle cases caused by blocks, NSTimer and delegate misuse along with practical solutions.

Memory ManagementProperty ModifiersRetain Cycle
0 likes · 7 min read
Understanding iOS Property Modifiers and Common Retain Cycle Scenarios
360 Tech Engineering
360 Tech Engineering
Oct 22, 2019 · Frontend Development

Drawing Arbitrary Angle Arcs in SVG with Text Labels and Gradient Colors

This article explains how to draw SVG arcs of any angle, position and rotate text labels along the arcs, generate gradient colors using both RGBA and HSL methods, and assemble a reusable JavaScript class that creates interactive circular arc charts with click events.

FrontendTEXTarc
0 likes · 13 min read
Drawing Arbitrary Angle Arcs in SVG with Text Labels and Gradient Colors
JD Retail Technology
JD Retail Technology
Oct 12, 2017 · Mobile Development

Understanding Objective‑C Blocks: Implementation, Memory Management, and Cycle Avoidance

This article explains the origin and concept of Objective‑C Blocks, details their internal structures and memory‑management mechanisms across MRR and ARC environments, demonstrates how to use and copy Blocks, and provides guidance on avoiding retain cycles through __block and __weak modifiers.

BlocksMemory Managementarc
0 likes · 25 min read
Understanding Objective‑C Blocks: Implementation, Memory Management, and Cycle Avoidance