I am (still) looking for programming languages that meet the two following requirements:
1. Has a project-local, nested dependency/module mechanism (see https://wiki.slightly.tech/books/miscellaneous-notes/page/transitive-dependencies-and-the-commons for explanation)
2. Does *not* have an import-all feature; ie. a way to import a module that causes all its contents to be injected into scope directly. I want languages that require explicit references of some kind (prefixing things with the module name is good enough).
@raito It's where I put all my various notes and writings :)
@serapath It's odd because your traceroute doesn't look very different from mine, and it suggests that you *are* actually reaching the network that the server is on.
Can you DM me the IP address that you tried to access it from? So I can see if there's anything in my server-side logs relating to it.
@joepie91 wouldnt javascript qualify? at least it sounds it can be made to work that way 🙂
@serapath It would, but I'm looking for things that aren't JS :)
i was under the impression that rust would fit as well, but maybe not?
@serapath Only partly; it has the nominal typing and allows injecting things into scope (see eg. the preludes)
@joepie91 wow, unexpected. interesting and good to know.
@joepie91 hmm, i love the bare runtime. it makes it easy to use C and it kinda helps with C packages as well
https://github.com/holepunchto/bare
they have other ooling repositories such as bare-cmake or cmake-vcpkg
https://vcpkg.io/en/
https://github.com/holepunchto/cmake-vcpkg
@joepie91 I think hare does qualify
@joepie91@pixie.town I think Zig?
@joepie91@pixie.town well not the first condition, but I guess that's from it not having a first-class package manager (yet)?
@natty I mean, a package manager isn't really necessary for this property to hold true; but the language does need to define a dependency model (even if it leaves the providing of those dependencies undefined).
Node.js had the node_modules structure before npm existed, for example, and that structure is what gave it this property
@joepie91@pixie.town I guess in that case it depends if we consider the lack of built-in module resolution a disqualifying property?
@natty How does one load modules if there is no resolution?
@joepie91@pixie.town I assume files directly, because we haven't read up on/tried much Zig yet
@joepie91@pixie.town From what we understand, the stdlib is special-cased for resolution, and everything else is a file import of a table
So there's some similarity to JS imports I suppose?
@joepie91 this wiki is lovely