{"categories":[{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/6"}],"enrichment":{"capability":"Dr.Jit is a just-in-time compiler for differentiable and ordinary computation that traces arithmetic operations into computation graphs, JIT-compiles them to GPU or CPU kernels, and optionally computes derivatives via automatic differentiation.","skillfed_tags":["jit-compilation","automatic-differentiation","gpu-acceleration"],"use_cases":["Differentiable rendering pipelines where computation graphs contain millions of elementary operations that would overwhelm ML framework compilers.","Physics simulations requiring automatic differentiation and GPU acceleration without the overhead of general-purpose ML frameworks.","Embarrassingly parallel numerical computations that benefit from vectorization and JIT compilation to specialized kernels.","Research combining Python prototyping with C++ performance-critical code, jointly traced and differentiated.","Monte Carlo methods and inverse problems where reverse-mode AD is essential for gradient computation."],"what_it_does":"Dr.Jit is a specialized just-in-time compiler designed to handle large, sparse computation graphs typical of differentiable rendering and similar embarrassingly parallel workloads. Unlike general machine learning frameworks, it records arithmetic operations into a computation graph, then JIT-compiles that graph into fused kernels targeting GPUs (Metal on macOS, CUDA elsewhere) or CPUs with vector instruction sets (AVX512, NEON) via LLVM. It optionally computes derivatives using forward or reverse-mode automatic differentiation, with both tracing and differentiation producing specialized code.\n\nThe package originated as the numerical foundation of Mitsuba 3, a differentiable Monte Carlo renderer, but is general-purpose and can be used without JIT compilation as a header-only vector library. It supports both C++17 and Python, allowing code to be developed in either language or both simultaneously, with joint tracing and differentiation across language boundaries. Dr.Jit includes a mathematical library with transcendental functions and types like vectors, matrices, complex numbers, and quaternions, and handles custom data structures, side effects, and polymorphism.","worth_installing":"Yes, if you are working on differentiable rendering, physics simulation, or large sparse computation graphs where ML frameworks struggle. The active maintenance, permissive license, and lack of known vulnerabilities support adoption. Medium install friction is acceptable given the specialized use case and broad platform coverage. Not recommended for general machine learning; use JAX, PyTorch, or TensorFlow instead."},"id":"drjit","links":{"html":"https://skillfed.io/packages/drjit","md":"https://skillfed.io/packages/drjit.md","pypi":"https://pypi.org/project/drjit/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-07","license_spdx":null,"license_treatment":"permissive","name":"drjit","python_support":"supports_current","summary":"Dr.Jit: A Just-In-Time Compiler for Differentiable Rendering"},"popularity":{"monthly_downloads":207914,"position":9539,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.5.0"}
