vlang / vsl
git clone https://github.com/vlang/vsl.git
v0.1.51 · 9mo ago
🔥 on GitHub Trending today
V library to develop Artificial Intelligence and High-Performance Scientific Computations
—
stars, 24h
+1
stars, 7 days · #32,169
—
stars, 30 days
405
★ total · +0% this week
52
forks · 34 open issues
Star history starts 2026-10-23; the chart appears after the second daily snapshot.
LanguageV
LicenseMIT
Created2019-12-03 (6y ago)
Last push8d ago
Watchers23
OwnerOrganization
Seen on GitHub Trending
- 2026-10-23 — #2 weekly in v · +1 ★
GitHub topics
vhacktoberfestlinear-algebraoptimizationsparse-systemscomputational-geometrydifferential-equationseigenvalueseigenvectorsopenblasopenclparallel-computationsscientific-computing
Links
- GitHub: github.com/vlang/vsl
- Homepage: https://vlang.github.io/vsl
- Releases · Issues · Hacker News mentions
README excerpt
The V Scientific Library vlang.io | Docs | ML Roadmap | Examples | Releases | Contributing [![Mentioned in Awesome V][awesomevbadge]][awesomevurl] [![VSL Continuous Integration][workflowbadge]][workflowurl] [![Deploy Documentation][deploydocsbadge]][deploydocsurl] [![MegaLinter][megalinterbadge]][megalinterurl] [![License: MIT][licensebadge]][licenseurl] [![Modules][ModulesBadge]][ModulesUrl] ![Scientific Computing][ScientificComputingBadge] ![CUDA Optional][CudaOptionalBadge] ![Vulkan Optional][VulkanOptionalBadge] [![VTL Powered][VtlPoweredBadge]][VtlPoweredUrl] [![Performance Benchmarks][benchmarksbadge]][benchmarksurl] [code] VSL is a V library for AI and high-performance scientific computing. VSL's numerical differentiation module was inspired by the GNU Scientific Library (GSL). See GSL's `COPYING` file for its license. VSL remains licensed under the MIT License in its `LICENSE` file. Get started with VTL · VTL tutorials · ML roadmap ## 📖 Documentation Visit VSL Documentation to explore all supported features and APIs. VSL architecture View SVG source · PNG ### Start Here | Need | Go to | |------|-------| | Scientific computing overview | Docs index | | Working examples | Examples catalog | | ML/GPU release status | ML roadmap | | SciPy/GSL capability coverage | Parity tracker | | CUDA backend | cuda/README.md | | Vulkan backend | vulkan/README.md | | Benchmarks | benchmarks/README.md | | Tensor/autograd/NN layer | VTL | VSL is a comprehensive Scientific Computing Library offering a rich ecosystem of mathematical and computational modules. The library provides both pure-V implementations and optional high-performance backends through established C and Fortran libraries. ### 🔬 Core Capabilities - **Linear Algebra**: Complete matrix and vector operations, eigenvalue decomposition, linear solvers - **Machine Learning**: Clustering algorithms (K-means), classification (KNN), regression, and NLP tools - **Numerical Methods**: Differentiation, integration, root finding, polynomial operations - **Data Visualization**: Advanced plotting with Plotly-style API supporting 2D/3D charts - **Scientific Computing**: FFT, statistical analysis, probability distributions - **Parallel Computing**: MPI support and OpenCL acceleration - **Data I/O**: HDF5 integration for scientific data formats ### ⚡ Performance Architecture VSL provides flexible performance options: - **Pure V Implementation**: High-performance, dependency-free BLAS/LAPACK implementations - **Optimized Backends**: Optional integration with OpenBLAS, LAPACK, MPI, OpenCL (VCL), Vulkan Compute, and CUDA (cuBLAS/cuDNN) for maximum performance - **GPU Acceleration**: OpenCL/VCL, Vulkan Compute, and CUDA support for computationally intensive operations **Pure V BLAS/LAPACK** implementations deliver competitive performance while eliminating external dependencies. Benchmark results demonstrate excellent performance characteristics across a wide range of problem sizes. Each module clearly doc