Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(mpz-common): scoped! macro #143

Merged
merged 1 commit into from
May 31, 2024
Merged

Conversation

sinui0
Copy link
Collaborator

@sinui0 sinui0 commented May 29, 2024

This PR adds a scoped! macro which makes it easy to write closures which return scoped futures. This macro may end up being preferable to using the join and try_join macros.

@sinui0 sinui0 requested review from themighty1 and th4s May 29, 2024 00:30
@sinui0
Copy link
Collaborator Author

sinui0 commented May 29, 2024

I look forward to the resolution of rust-lang/rust#70263 which will let us get rid of this and associated utilities.

Copy link
Member

@th4s th4s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Base automatically changed from feat/context-blocking to threading-refactor May 31, 2024 13:35
@sinui0 sinui0 merged commit 2f35271 into threading-refactor May 31, 2024
@sinui0 sinui0 deleted the feat/scoped-macro branch May 31, 2024 13:36
sinui0 added a commit that referenced this pull request May 31, 2024
commit 2f35271
Author: sinu.eth <65924192+sinui0@users.noreply.github.com>
Date:   Fri May 31 06:36:31 2024 -0700

    feat(mpz-common): scoped! macro (#143)

commit 9b51bd4
Author: sinu.eth <65924192+sinui0@users.noreply.github.com>
Date:   Fri May 31 06:35:16 2024 -0700

    feat(mpz-common): Context::blocking (#141)

    * feat(mpz-common): Context::blocking

    * Apply suggestions from code review

    Co-authored-by: dan <themighty1@users.noreply.github.com>

    ---------

    Co-authored-by: dan <themighty1@users.noreply.github.com>

commit 8f0b298
Author: th4s <th4s@metavoid.xyz>
Date:   Fri May 31 10:30:08 2024 +0200

    Add IO wrapper for OLE (#138)

    * Add `mpz-ole` content of old branch.

    * Reworked message enum.

    * Refactored to work with new `mpz-ole-core`.

    * Add part of feedback.

    * Add more feedback.

    * Add opaque error type.

    * Add `Display` for `OLEErrorKind`

    * Use `ok_or_elese` for lazy heap alloc.

    * Adapted `mpz-ole` to `hybrid-array`.

    * WIP: Improving API of const generics...

    * Add random OT for `hybrid-array`.

    * Adapt `mpz-ole` to use new random OT.

    * Added feedback.

    * Use random OT over field elements instead of arrays.

    * Refactored ideal implementation to use `mpz-common`.

    * Added more feedback.
sinui0 added a commit that referenced this pull request Jun 25, 2024
sinui0 added a commit that referenced this pull request Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants