Skip to content
Discussion options

You must be logged in to vote

The ranges of types (not just Span but also civil::Date and Timestamp) are indeed not the same as Temporal and this was intentional. It's a source of tension, but the fundamental issue is that Temporal's range is quite large and this in turn requires larger primitive representation. This is somewhat easier in the context of the JavaScript ecosystem because of its garbage collection and extreme sophistication for keeping common cases off the heap and putting less common cases on the heap. Rust can broadly do similarish things, but there's no real garbage collector that Jiff can realistically use.

That's a very vague answer, my apologies.

The range I chose for Jiff was based on dates: a civ…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BurntSushi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants