mattwparas / steel

An embedded scheme interpreter in Rust
Apache License 2.0
1.07k stars 50 forks source link

Add better support for native threads #124

Closed mattwparas closed 8 months ago

mattwparas commented 8 months ago

This PR adds support for native threads; however, the overhead for thread creation is quite hefty, and are akin to places in racket.

From my testing, spawning a new thread can take 1-2 ms, which if used in a thread pool of some kind could be reasonable.