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

Podman/Docker #472

Open
1 task
lastmjs opened this issue Apr 11, 2024 · 1 comment
Open
1 task

Podman/Docker #472

lastmjs opened this issue Apr 11, 2024 · 1 comment

Comments

@lastmjs
Copy link
Member

lastmjs commented Apr 11, 2024

In this previous issue we discussed holding off on Podman/Docker for now: #467

Implementing this I hope would reduce initial compilation time even more, we're at about 5 minutes on my machine right now. But especially on Mac Podman might not be much better.

If we decide not to hold off, we should address the following as we address Podman:

  • We could just precompile the stdlib, store it as an asset in the Kybra release, do this kind of like the images in Azle...and just include it using include_bytes macro...this would get rid of the stable memory problem and the need to explain the hashing problem if the stdlib is not compiled in...major question is just if this is going to compile quickly...actually we should probably just do this when we do Podman, because we'll have to do a release and store the stdlib somewhere anyway, might as well just do it there
@lastmjs
Copy link
Member Author

lastmjs commented Sep 10, 2024

We should never do this, instead we should implement the Wasm binary manipulation like Azle has, or we should encourage dynamic canister method registration.

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

No branches or pull requests

1 participant