I think I've shown that it isn't too difficult (I started my Julia-lite branch originally just a couple months after learning Julia), it's mostly some tedious work, and most people are concentrating on other (very important) stuff. I pushed to make this because I was interested in having things work better without so much overhead on things like my Raspberry Pi 2 Model B, later my Raspberry Pi 3, and now my Jetson TX1. Also, I wanted a faster loading Julia for scripts (as now I prefer to write my scripts in Julia, instead of having to use Python or bash).
On Tuesday, June 14, 2016 at 11:01:00 AM UTC-4, Chris Rackauckas wrote: > > I agree that more should be backed out to packages. Even as a math person > who would probably never Julia without linear algebra, I think that some of > the linear algebra should move out to a JuliaMath package, and then part of > the standard startup script should be to "using LinAlg". That way if > someone is doing a lite install and doesn't need it, they don't have to > have it. From what I know about the way that namespaces work in Julia, > there would be no difference in the end: *, \, etc. would all work how I'd > expect. > > So I think a few things like that (sparse matrices, parallelism?) should > move out to packages which, in a normal build, are automatically installed > and the setup script automatically imports them when Julia is started. > > At least from my understanding of how Julia works, that doesn't seem too > difficult. But maybe someone could chime in on why it would be almost > impossible, or if it's on the horizon? > > On Tuesday, June 14, 2016 at 7:23:46 AM UTC-7, Scott Jones wrote: >> >> You should try out my "lite" branch of Julia, I got it back in sync with >> master yesterday, made sure it still passed the unit tests, etc. >> https://github.com/ScottPJones/julia/tree/spj/lite >> I don't think it's so black and white as Avik and Stefan have made it >> seem. >> My lite branch takes less than half as much space, has smaller memory >> requirements (nice for using on my Raspberry Pi!), is much faster to build >> from source, and is still a very useful language. >> >> If there are parts that you need that I've cut out, all you have to do is >> override an environment variable BUILD_<part> in Make.user (where <part> >> can be the following: >> BIGINT, BIGFLT, DSP, DATES, STATS, THREADS, PROFILER, MMAP, PKG, FLOAT16, >> LINALG, SPARSE, COMPLEX, RATIONAL >> The following I normally leave enabled, but can be turned off to make a >> Julia without a REPL, that's good for running scripts: PARALLEL, DOCS, >> HELP, REPL, TEST >> Enabling BUILD_FULL will enable everything by default (but then you can >> still explicitly disable them). >> >> What I haven't done, which I hope will be worked on for Julia v0.6, is to >> have these parts of the current standard library either moved out to >> packages, so they could be reloaded with using, >> or to be loaded more on a "as-needed" basis, >> from modules that are already compiled along with the base language, but >> left in separate .ji files. along with the sys library. >> >> >> >> On Tuesday, June 14, 2016 at 5:34:36 AM UTC-4, Dmitry wrote: >>> >>> That's what I was afraid of. It comes that Julia is very strongly tied >>> to its library. I was hoping that it would be like with most other >>> languages, for example C++. I mean C++ know about basic types and how to >>> work with them (and much more) even without the standard library. >>> >>> понедельник, 6 июня 2016 г., 21:17:16 UTC+4 пользователь Stefan >>> Karpinski написал: >>>> >>>> Really useless – it doesn't know about integers or how add them, for >>>> example. If you want to trim down the standard library, you can try >>>> editing >>>> out parts of base/sysimg.jl and rebuilding, but that's kind of a tricky >>>> process. >>>> >>>> On Mon, Jun 6, 2016 at 12:43 PM, Avik Sengupta <[email protected]> >>>> wrote: >>>> >>>>> Julia is pretty useless without its standard library. >>>>> >>>>> On Monday, 6 June 2016 14:42:02 UTC+1, Dmitry wrote: >>>>>> >>>>>> I tried to remove ".jl" library files from Julia installation >>>>>> directory, but it did not help. Then I tried to remove "libjulia.dll" >>>>>> but >>>>>> it does not want to run without this file. >>>>>> >>>>> >>>>
