IdeaCredIdeaCred

dragonfly-ai/slash

92

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 rounds

A 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

Innovation
7 (25%)
Craft
84 (35%)
Traction
43 (15%)
Scope
94 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+2
Concept Novelty+2

Craft

Ci+5
Tests+8
Polish+2
Releases+4
Has License+5
Code Quality+23
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+5
Has Dependency Mgmt+5

Traction

Forks+12
Stars+20
Hn Points+0
Watchers+6
Early Traction+0
Devto Reactions+0
Community Contribs+5

Scope

Commits+8
Languages+8
Subsystems+13
Bloat Penalty+0
Completeness+7
Contributors+8
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

165

Contributors

6

Files

135

Active weeks

40

TestsCI/CDREADMELicenseContributing

Repository

Language

Scala

Stars

39

Forks

5

License

Apache-2.0