3 ms·
> traditional way of doing smalltalk development Is that in-conflict with a reproducible build process or can we have both. > makes upgrading the base image h
by igouy 6mo ago
> traditional way of doing smalltalk development
Is that in-conflict with a reproducible build process or can we have both.
> makes upgrading the base image harder, because there is no clear distinction between the base image and any user added changes.
We've been keeping "user added changes" in external files? (Plus the changes file.)
Port "user added changes" from the source code archive to each vendor release.
(btw: I ask nicely and don't abuse this small kindness.)
- em-bee 6mo agoIs that in-conflict with a reproducible build process or can we have both in part the question is what makes a build reproducible. what actually needs to be reproduced? the point of a reproducible build is that a version of source code always produces the same binary. how do you make reproducible builds in smalltalk? reproducible builds depend on what goes into the build process. so they depend on the compiler and build tools. in smalltalk those are all in the image, and the question is then what happens when i load code into an image. am i getting that right? i am not so familiar with the details here, but i would guess that it depends on how smalltalk compiles the code and how the import process deals with timestamps and source paths, etc. however if i work on my source code within the image and i share the code by making a copy of the image then the image is the source and the binary and there is nothing to reproduce. your copy and my copy of the image are going to be identical until one of us makes changes to the image. i'd be curious to learn more here. outside the smalltalk world my editing tools do not affect the reproducibility of the builds of my code. in smalltalk. just getting a new version of the code browser would change the build, wouldn't it? how do you track that or keep that separate? Port "user added changes" from the source code archive to each vendor release right, but that's the "wrong" way around from the perspective of a desktop. i don't need to port my code to new versions of VS Code or vim or which ever tools i use to develop. only smalltalk forces me to do that. so i don't mean distinction in the file structure but distinction in the code dependency. (i would never have considered to ask for being allowed to make a late reply, especially in this case. it is unlikely that anyone else is going to see our conversation. we could have just continued over email. but hopefully we can dig out some worthwhile details that not only me but anyone searching can learn from)
- igouy 6mo ago> just getting a new version of the code browser would change the build Outside the smalltalk world could getting a new version of the code browser "library" affect the reproducibility of the builds of your code. (indeed: vanity)
- em-bee 5mo agoit sounds like you are asking a question, but there is no "?" at the end, so i am slightly confused. if it is a question, my answer is no, because the tools i use to read or edit the code are completely distinct from the build tools. what affects the reproducibility is the compiler, and that's the issue with smalltalk. you can't upgrade the IDE without upgrading the compiler. say if i use pharo, and switch to a new version of pharo then i get a new version of smalltalk, and i can't compile my own code in the image with the old version any more. based on that i don't understand how you even enable or test reproducibility in smalltalk. i'd like to learn more about that. (re: vanity. since a while i have wondered how i would go about creating the longest running discussion thread on hackernews. and how long i would be able to keep it going. i think we are off to a good start here. just remember to peek in here once a while to see if there is a response. and if there isn't feel free to poke me by email. (unless we decide that there is nothing to add))
- igouy 5mo ago> … you can't upgrade the IDE without upgrading the compiler. Do you mean because the IDE and compiler are packaged together, so when you get image' it may contain changes to both? > … i can't compile my own code in the image with the old version any more. Do you mean because the image' package has compiler' not the old version? (Probably an abuse of kindness.)
- em-bee 5mo agoyes to both. (not as long as we keep to the topic and respond before the time to reply expires)