dragonfly-ai/slash
Linear Algebra and Statistics library for Scala.js, JVM, and Native.
What's novel
Linear Algebra and Statistics library for Scala.js, JVM, and Native.
Code Analysis
2 files read · 2 roundsA high-performance Scala 3 library providing type-safe linear algebra and statistical functions using opaque types over native arrays (narr) with cross-platform support.
Strengths
Exceptional use of Scala 3 features (opaque types, inline, macros) to achieve compile-time dimension safety without runtime overhead. Strong architectural separation between shared logic and platform-specific implementations. Comprehensive mathematical utility library.
Weaknesses
Error handling is minimal, relying mostly on exceptions for dimension mismatches rather than functional error types or Option/Result patterns. Some extension methods are verbose.
Score Breakdown
Signal breakdown
Innovation
Craft
Traction
Scope
Evidence
Commits
165
Contributors
6
Files
135
Active weeks
40
Repository
Language
Scala
Stars
39
Forks
5
License
Apache-2.0