[rust-dev] Renaming of core and std
i at cantor.mx
Tue Apr 23 11:05:33 PDT 2013
I'm pretty new to Rust (lurking on the list for a while) but have been in
the Haskell community for a while. While cabal in general is nothing that
should be emulated, perhaps the Haskell hierarchy would be informative.
In Haskell, there are somewhat unofficial hierarchies, but here they are:
the "default" module that is included by default in all source files.
package that includes the prelude module and other core functionality.
ghc is the de facto reference implementation for haskell (queue
flamewar) and includes a large set of libraries in addition to base
the "batteries included" distribution that includes many very commonly
used libraries as a starting point for a new project
On Tue, Apr 23, 2013 at 10:50 AM, Daniel Micay <danielmicay at gmail.com>wrote:
> On Tue, Apr 23, 2013 at 1:06 PM, Graydon Hoare <graydon at mozilla.com>
> > Namely:
> > - When we support static linking, will it be possible to link subsets
> > of "the standard library" for space constrained devices? E.g. will
> > we be able to compile it with section-per-function or such?
> Release builds could just be done with link-time optimization. It's
> okay if it takes 5x as long and 3GiB of memory if it's just a single
> build. Although I think there would have to be 3 versions of the
> libraries (lto, static, dynamic).
> Rust-dev mailing list
> Rust-dev at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rust-dev