← Blog

Zevic 0.4.2: threads and big integers

v0.4.2 is the Thread and BigInt release.

  • Zevic.Thread: OS threads. Thread.Spawn(f) starts a function on a new thread and Join() waits for it (calling Join twice is a Panic). There is also Thread.Yield()
  • Zevic.BigInt: integers of any size, as BigInt.BigInt. It has FromI64, Parse, Add, Sub, Mul, DivRem, Pow, ToString, ToI64 (an Err when out of range) and more, and implements Equatable and Comparable

We also brought the language specification up to date with the implementation. The main changes: concurrency uses OS threads, Integer was replaced by Zevic.BigInt, and open questions settled by the implementation were tidied up.