~/talk

Pick your number type with Spire

Talkat Scala Days Lausanne 2019 · 2019-06-11..06-13· [scala]
links:none on file
slides:none on file

Spire is a Scala numeric library that supplies type classes and concrete types (Rational, Algebraic, Interval, Complex, BigInt/BigDecimal, unsigned ints and custom cyclotomic numbers), plus law-driven tests and a mini-spire 2,000-line extraction. A Mandelbrot benchmark shows generic specialization matches hand-written JVM performance (float vs double comparable), while JS and native show regressions; Spire spans ~33k LOC, eight years old, not yet 1.0, and faces boxing, specialization and maintenance trade-offs.

AI-written summary · about

  1. 0:00Start
  2. 2:43Pick your number type with Spire
  3. 6:41What's wrong with the Scala stdlib?
  4. 10:00What are numbers, and how to encode them?
  5. 11:58Real numbers on a computer
  6. 14:15Why does it matter?
  7. 15:54The JVM, Scala and Spire
  8. 24:14API and laws
  9. 40:19Questions to audience
  10. 41:52Spire status
  11. 44:44Roadmap
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.