[erlang-questions] Why is erlc so quick to start?
Tue Jan 6 00:06:53 CET 2015
On 01/05/2015 11:19 PM, Tuncer Ayaz wrote:
> On Mon, Jan 5, 2015 at 11:44 AM, Loïc Hoguin wrote:
>> It's actually quite funny how Erlang compiles many projects
>> faster than it boots. :-)
> A lot of "compilation" is also going on in the beam loader, so...
Yes that also adds to the load time, but it probably wouldn't be too
noticeable if erlc was loading only the modules it requires instead of
everything. I don't think it uses the network code, dets, process groups
and so on, and it may also not need the whole OTP application framework.
I will play with generating a smaller boot file when I get the time and
see what happens. If it can be made closer to 0s this would allow me to
just use %.erl: %.beam rules, something that's been on my wishlist from
Exciting thread, loving everyone involved!
More information about the erlang-questions