Tagged articles
13 articles
Page 1 of 1
Machine Learning Algorithms & Natural Language Processing
Machine Learning Algorithms & Natural Language Processing
May 3, 2026 · Artificial Intelligence

Running a 400B Mixture‑of‑Experts LLM on iPhone 17 Pro: Inside Flash‑MoE

The article details how the open‑source Flash‑MoE engine streams a 400‑billion‑parameter Mixture‑of‑Experts language model on an iPhone 17 Pro, achieving interactive‑level token throughput by eliminating Python dependencies, crafting a custom Metal pipeline, and streaming weights directly from SSD.

Apple SiliconFlash-MoEGCD
0 likes · 7 min read
Running a 400B Mixture‑of‑Experts LLM on iPhone 17 Pro: Inside Flash‑MoE
Huolala Tech
Huolala Tech
Dec 31, 2025 · Fundamentals

Why Does __dispatch_barrier_waiter_redirect_or_wake Crash on iOS 14‑16? A Deep GCD Investigation

The article analyses a recurring crash in an iOS driver app caused by the __dispatch_barrier_waiter_redirect_or_wake function in libdispatch, explains the EXC_BREAKPOINT/SIGTRAP mechanism, compares libdispatch versions, reveals a premature queue release due to non‑atomic reference‑count handling, and proposes replacing GCD‑based barriers with pthread_rwlock_t to eliminate the bug.

BarrierCrashGCD
0 likes · 15 min read
Why Does __dispatch_barrier_waiter_redirect_or_wake Crash on iOS 14‑16? A Deep GCD Investigation
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 29, 2022 · Mobile Development

Optimizing iOS App Startup by Adjusting GCD Queue QoS and Reducing Main Thread Preemption

By analyzing thread preemption on low‑end iPhones, this article demonstrates how selecting appropriate GCD queue QoS levels—favoring Utility or Background over User‑Initiated—reduces main‑thread contention, improves launch screen rendering by ~100 ms, and accelerates message list first‑load by up to 1.5 s without altering business logic.

GCDQoSconcurrency
0 likes · 10 min read
Optimizing iOS App Startup by Adjusting GCD Queue QoS and Reducing Main Thread Preemption
Huolala Tech
Huolala Tech
Aug 9, 2022 · Mobile Development

How HLL’s Thread Governance Cut Crashes and Boost iOS Driver App Performance

This article explains how the HLL iOS driver team identified excessive global‑queue usage, thread‑switch overhead, deadlocks and UI‑thread violations, then introduced a priority‑aware queue pool, refined concurrency controls, and built long‑term monitoring to dramatically reduce crashes and improve performance.

GCDThread Managementcrash reduction
0 likes · 13 min read
How HLL’s Thread Governance Cut Crashes and Boost iOS Driver App Performance
Sohu Tech Products
Sohu Tech Products
Nov 25, 2020 · Mobile Development

Deep Dive into GCD Dispatch Queues, sync/async Behavior, and RunLoop Interaction on iOS

This article explores the intricacies of Grand Central Dispatch on iOS, debunking common misconceptions about main thread and main queue execution, analyzing the internal handling of synchronous tasks, and demonstrating how run‑loop activation influences queue‑thread relationships through a series of code experiments.

AsyncGCDdispatch_queue
0 likes · 14 min read
Deep Dive into GCD Dispatch Queues, sync/async Behavior, and RunLoop Interaction on iOS
Amap Tech
Amap Tech
Feb 27, 2020 · Mobile Development

Common Misunderstandings and Pitfalls in iOS Development – Foundation, UIKit, GCD and Best Practices

The article clarifies frequent iOS development misconceptions—from unnecessary observer removal and deprecated NSUserDefaults synchronization to block retain‑cycle tricks, responder‑chain versus hit‑testing differences, GCD queue optimizations, safe main‑queue detection, and proper cancellation of dispatch blocks—offering practical code guidance.

GCDMemory ManagementObjective‑C
0 likes · 17 min read
Common Misunderstandings and Pitfalls in iOS Development – Foundation, UIKit, GCD and Best Practices
Qunar Tech Salon
Qunar Tech Salon
Jul 27, 2017 · Mobile Development

Deep iOS Performance Optimization: Time Complexity, GCD, Thread Monitoring, and Method Hooking

This article explains how to analyze and improve iOS app performance by understanding time‑complexity impacts, leveraging GCD for asynchronous work, preventing thread explosion, optimizing I/O and memory usage, and using low‑level techniques such as stack tracing, symbolication, and objc_msgSend hooking.

GCDMethodHookingThreadMonitoring
0 likes · 22 min read
Deep iOS Performance Optimization: Time Complexity, GCD, Thread Monitoring, and Method Hooking
Tencent TDS Service
Tencent TDS Service
Jun 26, 2015 · Mobile Development

How to Eliminate iOS App Lag: Master Main Thread Management

This article explains why iOS apps experience lag due to main‑thread blocking, demonstrates the problem with sample code, and provides practical solutions using GCD and monitoring tools like Bugly to keep the UI responsive and improve user satisfaction.

BuglyGCDLag
0 likes · 6 min read
How to Eliminate iOS App Lag: Master Main Thread Management