[Vm-dev] Proposal | Clean-up source tree's *src folders

Marcel Taeumel marcel.taeumel at hpi.de
Tue Jul 13 16:40:37 UTC 2021


Hi Eliot.

> I have no objection. The thing I object to is a deep hierarchy because it makes certain things difficult. The dog notation
> makes it easy to select specific types. If we’re going to do this I think we should also move all the build directories into
> a single build folder.
>
> Now how? Do we reorganize and then fix or proceed incrementally?


I am currently preparing a small changeset for VMMaker and the corresponding source tree in a fork:
https://github.com/marceltaeumel/opensmalltalk-vm/tree/marceltaeumel/src-cleanup/src [https://github.com/marceltaeumel/opensmalltalk-vm/tree/marceltaeumel/src-cleanup/src]


Once I got this working (including build-dirs, no symlink :-), I would like to have a Zoom meeting. There we can double-check and directly merge it back upstream (both VMMaker and osvm). So you can also update your local working environment to see what breaks. :-D

Give me another day or two.

Best,
Marcel
Am 13.07.2021 18:02:17 schrieb Eliot Miranda <eliot.miranda at gmail.com>:


On Jul 12, 2021, at 11:49 PM, Marcel Taeumel <marcel.taeumel at hpi.de> wrote:



Hi all!

I would like to clarify (or re-arrange) the structure of the source tree so that we can continue to work on existing and experiment on new flavors of the VM. They would then better match our build structure:

/src/plugins -> (same)

/src/vm -> /src/vm.32bit.cog.v3
/stacksrc/vm -> /src/vm.32bit.stack.v3

/spurstacksrc/vm -> /src/vm.32bit.stack.spur
/spurstack64src/vm -> /src/vm.64bit.stack.spur
/spursrc/vm -> /src/vm.32bit.cog.spur
/spur64src/vm -> /src/vm.64bit.cog.spur
/spursistasrc/vm -> /src/vm.32bit.sista.spur
/spursista64src/vm -> /src/vm.64bit.sista.spur

/nsspurstacksrc/vm -> /src/newspeak.vm.32bit.stack.spur
/nsspurstack64src/vm -> /src/newspeak.vm.64bit.stack.spur
/nsspursrc/vm -> /src/newspeak.vm.32bit.cog.spur
/nsspur64src/vm -> /src/newspeak.vm.64bit.cog.spur


/spurlowcodestacksrc/vm -> /src/lowcode.vm.32bit.stack.spur
/spurlowcodestack64src/vm -> /src/lowcode.vm.64bit.stack.spur

/spurlowcodesrc/vm -> /src/lowcode.vm.32bit.cog.spur
/spurlowcode64src/vm -> /src/lowcode.vm.64bit.cog.spur


This would make 15 different *src folders disappear from the source tree's toplevel. Flavor-specific plugin lists might be defined from within VMMaker and generated into their respective src folders.

Also, there would be a clear place for /src/vm.32bit.interpreter.v3 too :-)

Thoughts? Opinions? Objections?

I have no objection.  The thing I object to is a deep hierarchy because it makes certain things difficult. The dog notation makes it easy to select specific types.  If we’re going to do this I think we should also move all the build directories into a single build folder.

Now how?  Do we reorganize and then fix or proceed incrementally?



Best,
Marcel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20210713/0e824213/attachment-0001.html>


More information about the Vm-dev mailing list