Tagged articles
5 articles
Page 1 of 1
Linux Kernel Journey
Linux Kernel Journey
Sep 24, 2025 · Fundamentals

Fine-Grained GPU Code Modifications: Boosting CUDA Performance

This article explains why certain GPU performance gains require direct CUDA kernel edits and walks through fine‑grained techniques such as data‑layout restructuring, warp‑level primitives, tiled memory accesses, kernel fusion, and dynamic execution paths, backed by code examples and benchmark insights.

CUDAGPU Optimizationdynamic execution
0 likes · 12 min read
Fine-Grained GPU Code Modifications: Boosting CUDA Performance
Code Mala Tang
Code Mala Tang
Jul 12, 2025 · Fundamentals

Mastering Python’s eval(): How It Works, When to Use It, and How to Stay Safe

Python’s eval() function acts as a double‑edged sword, enabling dynamic code execution by parsing, compiling, and running string‑based expressions, but it introduces security and performance risks; this article explains its inner workings, common use cases, potential dangers, and safe practices or alternatives.

PythonSecuritybest-practices
0 likes · 9 min read
Mastering Python’s eval(): How It Works, When to Use It, and How to Stay Safe
Python Programming Learning Circle
Python Programming Learning Circle
Jul 18, 2024 · Fundamentals

Guide to Using Python's eval() Function

This article provides a comprehensive guide to Python's eval() function, covering its syntax, parameters, execution process, differences between globals and locals, dynamic versus static execution, common use cases, security risks, and alternatives such as ast.literal_eval() and exec().

PythonSecuritycode evaluation
0 likes · 15 min read
Guide to Using Python's eval() Function
Test Development Learning Exchange
Test Development Learning Exchange
Aug 2, 2023 · Fundamentals

Dynamic Code Execution and Code Generation in Python: Techniques and Practical Scenarios

This article explains Python's dynamic code execution and code generation techniques, covering the exec function, code templates, and six practical examples such as dynamic module import, class loading, function invocation, class definition, function creation, and runtime modification of classes or functions.

Code GenerationPythondynamic execution
0 likes · 5 min read
Dynamic Code Execution and Code Generation in Python: Techniques and Practical Scenarios