-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
questionFurther information is requestedFurther information is requested
Description
When first building stdlib, it takes a while for the playground to respond because it takes a while to build stdlib. Building and running programs that use stdlib subsequently is faster because the stdlib is reused, at least for this running session of the backend server.
I wonder if it would be a good idea and easy to implement to pre-build any built-in libraries (for now just stdlib) at docker build
stage, rather than at server run time?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
ashirrwad commentedon Sep 6, 2022
That's what I used in the first iteration but as @everythingfunctional stated it would mean that all the libraries are built which won't be useful if the user only imports some selected libraries.
everythingfunctional commentedon Sep 6, 2022
If I recall, the initial implementation wasn't pre-building them, but maybe I'm mistaken. This might be worth considering.