SDK ext: Come up with a better solution for converting Rust `Duration` to `std::chrono::duration`

Open
#24 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp, rust
Domain
tooling

Research direction

No files or tests are named. Start by locating the existing Rust Duration to std::chrono::duration conversion and inspect the public C++ interface to confirm what must remain unchanged. Done means the conversion no longer relies on a lossy 32-bit millisecond value without changing that public interface.

Written by the indexing model from the issue text.

Description

Currently, it's pretty lossy, using a 32-bit millisecond value. Shouldn't need to mess with the public C++ interface to fix this, though.

Dominant language
C++
Stars
9
Forks
2
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fastly/compute-sdk-cpp

All issues in fastly/compute-sdk-cpp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.