Skip to content

Conversation

@Centril
Copy link
Contributor

@Centril Centril commented Nov 4, 2025

Description of Changes

This makes us go from 3 threads to 2.
The next step is to core pin the V8 worker thread.

API and ABI breaking changes

None

Expected complexity level and risk

4

Testing

Existing tests should cover this.

@Centril Centril force-pushed the centril/v8-no-middle-man branch from 3da1329 to ce19fd5 Compare November 4, 2025 23:53
@Centril Centril force-pushed the centril/v8-no-middle-man branch from ce19fd5 to d8a800c Compare November 13, 2025 00:16
@Centril Centril marked this pull request as ready for review November 13, 2025 00:16
@Centril Centril requested a review from coolreader18 November 13, 2025 00:16
) -> anyhow::Result<UpdateDatabaseResult> {
/// Send a request to the worker and wait for a reply.
async fn send_recv<T>(
mut self: Box<Self>,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why doesn't this take &mut self? It seems to just complicate the code in ModuleHost.

Copy link
Collaborator

@coolreader18 coolreader18 left a comment

Choose a reason for hiding this comment

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

I guess I'll approve for now, but I feel like the code could be much less janky.

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.

3 participants