Skip to content

Conversation

IanButterworth
Copy link
Member

Fixes #1281

Using Claude:

On Windows, the download process uses the Windows Runtime DataReader API through a custom DataReaderWrap struct. The issue was:

  1. LoadAsync() downloads data from the network into a Windows buffer
  2. ReadBytes() copies data from the Windows buffer to the Rust buffer
  3. The progress bar only updated after the read() method returned

This meant the actual network download (step 1) completed before the progress bar updated (after step 3), causing the visible lag.

@IanButterworth
Copy link
Member Author

@xgdgsc as I'm not on windows, can you try building this and see if it fixes the issue? https://github.com/JuliaLang/juliaup/wiki/Developing-Juliaup#to-build-juliaup-locally

@xgdgsc
Copy link

xgdgsc commented Oct 20, 2025

Built. Same behavior.

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.

On windows the progress bar is delayed?

2 participants