Tag

JNI

1 views collected around this technical thread.

Architecture Development Notes
Architecture Development Notes
Jan 14, 2025 · Backend Development

Boost PDF-to-Image Conversion in Kotlin with JNI and Rust: A Step-by-Step Guide

This tutorial explains how a Kotlin backend can efficiently convert PDF pages to high-resolution PNG images by integrating the native PDFium library through a Rust-based JNI adapter, covering performance benefits, workflow steps, and complete code examples for building and invoking the native module.

JNIKotlinNative Integration
0 likes · 11 min read
Boost PDF-to-Image Conversion in Kotlin with JNI and Rust: A Step-by-Step Guide
Top Architecture Tech Stack
Top Architecture Tech Stack
Jan 9, 2025 · Backend Development

Understanding Netty's Asynchronous Model, IO Multiplexing, and Epoll Implementation

This article explains Netty's powerful asynchronous architecture, compares classic multithread, Reactor, select, poll, and epoll I/O multiplexing models, demonstrates JNI integration for native performance, and provides complete example code for building a high‑performance epoll‑based server in Java.

IO MultiplexingJNIJava
0 likes · 32 min read
Understanding Netty's Asynchronous Model, IO Multiplexing, and Epoll Implementation
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 2, 2025 · Mobile Development

Introduction to JNI and NDK Development for Android

This article provides a comprehensive introduction to Android NDK development, covering JNI fundamentals, data type mappings, method registration (static and dynamic), JNIEnv usage, CMake build configuration, and multiple practical code examples in Kotlin, C++, and C.

AndroidC++JNI
0 likes · 12 min read
Introduction to JNI and NDK Development for Android
Code Ape Tech Column
Code Ape Tech Column
Dec 4, 2024 · Backend Development

Deep Dive into Netty’s Asynchronous Model, Epoll, IO Multiplexing, and JNI with Hands‑On C Code

This article explains Netty’s asynchronous architecture, compares classic multithread, Reactor, select, poll and epoll models, clarifies level‑triggered versus edge‑triggered event handling, and provides step‑by‑step JNI and hand‑written epoll server examples in C to illustrate high‑performance backend development.

C++IO MultiplexingJNI
0 likes · 33 min read
Deep Dive into Netty’s Asynchronous Model, Epoll, IO Multiplexing, and JNI with Hands‑On C Code
Top Architect
Top Architect
Dec 1, 2024 · Backend Development

Diagnosing Slow Asynchronous Log Printing in Java: From Mapping Overhead to Disruptor and JNI Analysis

This article investigates why a large number of quality‑check mappings cause severe latency in a Java service, traces the slowdown to excessive asynchronous log printing, explains the Disruptor‑based async logger internals, evaluates stack‑trace location handling and JNI overhead, and proposes practical configuration and code‑level fixes.

DisruptorJNIJava
0 likes · 20 min read
Diagnosing Slow Asynchronous Log Printing in Java: From Mapping Overhead to Disruptor and JNI Analysis
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 10, 2024 · Mobile Development

Integrating Rust into Android: A Step-by-Step Guide

This article explains how to set up Rust for Android development, covering installation, creating a demo project, using JNI to call Rust functions, building the shared library, integrating it into an Android app, and designing a scalable architecture with event dispatch and Protobuf.

AndroidFFIJNI
0 likes · 12 min read
Integrating Rust into Android: A Step-by-Step Guide
Code Ape Tech Column
Code Ape Tech Column
Feb 17, 2024 · Backend Development

Understanding Netty’s Asynchronous Model, Epoll, and IO Multiplexing: Theory, JNI Integration, and a Hand‑Written Epoll Server

This article explains Netty’s reactor‑based asynchronous architecture, compares classic multithread, select, poll and epoll I/O multiplexing models, demonstrates Java‑C interaction via JNI, and provides a complete hand‑written epoll server implementation with detailed code and performance insights.

C++IO MultiplexingJNI
0 likes · 36 min read
Understanding Netty’s Asynchronous Model, Epoll, and IO Multiplexing: Theory, JNI Integration, and a Hand‑Written Epoll Server
Baidu Geek Talk
Baidu Geek Talk
Jun 28, 2023 · Information Security

DEX‑VMP Based Android Code Protection: Design, Implementation, and Analysis

The paper presents a DEX‑VMP scheme that encrypts Dalvik bytecode and executes it via a custom virtual machine and JNI bridge, merging the strengths of dynamic loading, hooking, instruction extraction, and java‑to‑C++ conversion while highlighting compatibility issues, performance overhead, and the need for selective protection of high‑value Android methods.

AndroidDexJNI
0 likes · 17 min read
DEX‑VMP Based Android Code Protection: Design, Implementation, and Analysis
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
May 22, 2023 · Mobile Development

Techniques for Reducing Android NDK .so Size: Code, Build, and Dependency Optimization

The article shows how to shrink Android NDK .so binaries by over 30% through code de‑duplication, disabling exceptions/RTTI/iostream, using fine‑grained sections with LTO and dead‑code elimination, limiting exported symbols via version scripts, employing JNI dynamic registration, and consolidating C++ runtime dependencies into a shared library.

Android NDKC++Dependency Management
0 likes · 13 min read
Techniques for Reducing Android NDK .so Size: Code, Build, and Dependency Optimization
Zhuanzhuan Tech
Zhuanzhuan Tech
Mar 15, 2023 · Backend Development

EJC Architecture: Integrating Electron, Java, and C/C++ for Scalable Desktop Quality Inspection Applications

This article presents the EJC (Electron‑Java‑C/C++) architecture adopted by ZhiZhuan’s quality‑inspection platform, detailing its layered design, communication modules, JNI/JNA integration, performance comparisons, and real‑world implementation for cross‑platform desktop tools, illustrating how the approach enhances extensibility, maintainability, and scalability.

C++Desktop ApplicationElectron
0 likes · 17 min read
EJC Architecture: Integrating Electron, Java, and C/C++ for Scalable Desktop Quality Inspection Applications
Sohu Tech Products
Sohu Tech Products
Mar 8, 2023 · Mobile Development

Deep Dive into Android Touch Event Processing: From Kernel to View

This article explains how Android transforms raw touch signals from the hardware into MotionEvent objects, routes them through the InputManagerService, InputReader, and InputDispatcher, and finally delivers them to the appropriate View or ViewGroup, detailing the roles of sockets, InputChannel, and the event‑dispatch chain.

AndroidInputDispatcherInputSystem
0 likes · 48 min read
Deep Dive into Android Touch Event Processing: From Kernel to View
Youku Technology
Youku Technology
Feb 15, 2023 · Mobile Development

GaiaX Expression Module: Cross-Platform Expression Evaluation Design Based on LR(1) Grammar

GaiaX’s cross‑platform expression module uses a C++ LR(1) parser with lexical, syntax and semantic analysis to bind data, support arithmetic and functions, unify values via GXValue, bridge iOS and Android through JNI, and achieves sub‑millisecond execution for simple and nested expressions.

AndroidC++GaiaX
0 likes · 13 min read
GaiaX Expression Module: Cross-Platform Expression Evaluation Design Based on LR(1) Grammar
Top Architect
Top Architect
Dec 13, 2022 · Backend Development

Using LuaJ to Call Java Methods from Lua and Vice Versa

This article explains the main features of LuaJ, provides usage examples for calling Java static methods from Lua (including handling signatures and return values), demonstrates how to pass Lua functions to Java, and shows how to embed and execute Lua scripts within Java code.

BridgeJNIJava
0 likes · 12 min read
Using LuaJ to Call Java Methods from Lua and Vice Versa
Top Architect
Top Architect
Oct 25, 2022 · Backend Development

Understanding Netty's Asynchronous Model, Linux I/O Multiplexing (select, poll, epoll) and JNI Integration

This article explains Netty's high‑performance asynchronous architecture, compares classic multithread, Reactor, select, poll and epoll I/O multiplexing models, describes level‑triggered versus edge‑triggered event handling, and provides a step‑by‑step JNI example and a hand‑written epoll server implementation in C.

IO MultiplexingJNIJava
0 likes · 34 min read
Understanding Netty's Asynchronous Model, Linux I/O Multiplexing (select, poll, epoll) and JNI Integration
Architect's Guide
Architect's Guide
Oct 21, 2022 · Backend Development

Understanding Netty's Asynchronous Model and Linux epoll: From the Stone Sword Analogy to High‑Performance IO

This article explains how Netty implements a powerful asynchronous, event‑driven architecture using the Reactor pattern, compares classic multithread, select, poll and epoll I/O multiplexing models, demonstrates JNI integration with Java, and provides a complete, annotated epoll server example with level‑triggered and edge‑triggered handling for high‑concurrency backend development.

IO MultiplexingJNINetty
0 likes · 32 min read
Understanding Netty's Asynchronous Model and Linux epoll: From the Stone Sword Analogy to High‑Performance IO
Coolpad Technology Team
Coolpad Technology Team
Sep 23, 2022 · Mobile Development

Integrating Hardcoder Server into Android System: Build, Deploy, and Test

This article provides a step‑by‑step guide on compiling, deploying, and testing the Hardcoder server on Android, covering pre‑integration checks, property configuration, socket communication, JNI performance APIs, protobuf integration, build scripts, init scripts, and SELinux policies.

AndroidHardcoderJNI
0 likes · 17 min read
Integrating Hardcoder Server into Android System: Build, Deploy, and Test
Code Ape Tech Column
Code Ape Tech Column
Sep 9, 2022 · Backend Development

Understanding Netty’s Asynchronous Model, Epoll, and IO Multiplexing – From Theory to a Hand‑Written Server

This article explains Netty’s reactor‑based asynchronous architecture, compares classic multithread, select, poll and epoll models, demonstrates JNI integration with C code, and provides a complete hand‑written epoll server example to illustrate high‑performance backend networking in Java.

C++IO MultiplexingJNI
0 likes · 34 min read
Understanding Netty’s Asynchronous Model, Epoll, and IO Multiplexing – From Theory to a Hand‑Written Server
IT Architects Alliance
IT Architects Alliance
Aug 30, 2022 · Backend Development

Understanding Netty’s Asynchronous Model, Linux epoll, and JNI: Theory, Code Walkthrough, and Hand‑written Server Implementation

This article explains Netty’s high‑performance asynchronous architecture, the evolution of I/O multiplexing models from select to poll and epoll, demonstrates Java‑C integration via JNI with detailed code examples, and provides a complete hand‑written epoll server in C for achieving million‑connection concurrency.

C++IO MultiplexingJNI
0 likes · 32 min read
Understanding Netty’s Asynchronous Model, Linux epoll, and JNI: Theory, Code Walkthrough, and Hand‑written Server Implementation