Tagged articles
2 articles
Page 1 of 1
Weekly Large Model Application
Weekly Large Model Application
Jun 16, 2021 · Fundamentals

Understanding libuv’s Design: A Deep Dive into Its Event Loop and Cross‑Platform Architecture

libuv is a cross‑platform asynchronous I/O library originally built for Node.js that abstracts event‑driven I/O via handles and requests, provides a single‑threaded event loop with platform‑specific poll mechanisms, and uses a global thread pool for file and DNS operations, all while maintaining a consistent execution model.

Node.jsasynchronous I/Ocross-platform
0 likes · 9 min read
Understanding libuv’s Design: A Deep Dive into Its Event Loop and Cross‑Platform Architecture
Java Backend Technology
Java Backend Technology
Oct 10, 2016 · Fundamentals

Handles vs Direct Pointers: How Java Accesses Objects Efficiently

This article explains Java's object access mechanisms, detailing how references in the stack point to objects in the heap and type data in the method area, and compares the handle pool approach with direct pointer access, highlighting their respective performance and GC advantages.

Direct PointersJavaMemory Management
0 likes · 4 min read
Handles vs Direct Pointers: How Java Accesses Objects Efficiently