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.
>>>>
>>>
>>

Reply via email to