Our great sponsors
-
Thanks for investigating! You were right on the money: capture_upvalue calls new_upvalue which calls allocate_object, which may trigger GC. So if GC is triggered midway through constructing that uvs vector, part of the vector will be invalid. Rewriting the vector during the GC process fixed the crash.
-
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
EDN isn't well known and the specification effort seems to have been abandoned (last commit 8 years ago: https://github.com/edn-format/edn; formal BNF spec still "todo").
-
Timezone names and their mappings to and from numeric offsets are a can of worms as they're subject to arbitrary changes at political whims. The zoneinfo database is the definitive source of the current status, but including a copy (and keeping it up to date) is arguably best left to be handled by another crate.
-
For kicks, you can try compiling your code with Polonius, which is like "the next gen borrow checker", and see that it allows the code:
-
-
e rustacean here. I started tinkering with a raspberry pi pico and I'm trying to get serial communication over usb working. If I compile https://github.com/rp-rs/rp-hal/blob/main/boards/rp-pico/examples/pico_usb_serial.rs The pico shows up under /dev/ttyACM0 and I can connect to it with screen.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.