Skip to content

v0.15.3

Choose a tag to compare

@hpopp hpopp released this 21 Jul 23:04
· 156 commits to main since this release
550ac4e

Changed

  • Message-heavy concurrent programs now scale across cores instead of serializing every send, receive, and spawn on a global scheduler lock.
  • Recursive loops that carry a string or collection along are now roughly twice as fast.
  • Completed calls and timed-out receives now clean up their timeout bookkeeping immediately, making message-heavy programs significantly faster and lighter on memory.
  • Compute-heavy processes no longer contend on a runtime lock at every preemption point, freeing up scheduler capacity on multi-core workloads.
  • Timers and call timeouts now live outside the scheduler lock, so workers skip timer bookkeeping entirely unless something is actually due.

Fixed

  • Deep recursion no longer overflows the stack when the recursive call sits inside an if without an else.
  • Block closures in multi-statement match, cond, and receive arms no longer get mistaken for the next arm.
  • Protocol implementations whose method signatures differ from the protocol only through a type alias or the Int/Int64 and Float/Float64 pairs are now accepted instead of rejected as mismatches.
  • Heap values bound inside a match, if, or cond arm are now reclaimed when the arm finishes instead of leaking.
  • String and collection temporaries used as == or != operands are now reclaimed instead of leaking on every comparison.
  • Returning early from inside a match arm no longer leaks the matched value.
  • Passing an owned String or Binary where a union type like Binary | String is expected no longer leaks the value on every call.
  • A binary pattern with a Binary or Bits tail no longer leaks memory each time the pattern fails to match.
  • Long-running servers no longer hold on to the peak memory reached during message bursts.
  • Using return or break inside an expression now reports a parse error instead of silently becoming an ordinary value.
  • Short closures outside call arguments now report an actionable parse error instead of producing an ambiguous syntax tree.
  • Unterminated string interpolation and unexpected characters now report diagnostics that cover the offending source.
  • Source spans now use UTF-8 byte offsets, so locations after non-ASCII text remain valid source ranges.
  • Code completions from the LSP and shell now return in a stable order instead of varying between runs.