3 ms·
> the lack of many core features probably helps out a lot atm. I don't understand why the lack of features would affect the time of "hello world."
by stcredzero 14y ago
> the lack of many core features probably helps out a lot atm.
I don't understand why the lack of features would affect the time of "hello world."
- ephemeralgomi 14y agoLoading the standard library takes time. With a smaller (underimplemented) standard library, you can get to the user's code much more quickly.
- stcredzero 14y agoPerl 5 had an in-memory footprint of about 768k. VisualWorks Smalltalk had a standard one of 12MB, yet loaded and started it faster than Perl did with 768k. If just your standard library takes very long at all to load, something needs attention.
- wmf 14y agoYeah, a lot of language runtimes seem to not have discovered mmap.
- huherto 14y agoExactly. time echo "hello world" hello world real 0m0.000s user 0m0.000s sys 0m0.000s
- sciurus 14y ago$ type /bin/echo /bin/echo is /bin/echo $ time /bin/echo "hello world" hello world real 0m0.009s user 0m0.002s sys 0m0.004s $ type echo echo is a shell builtin $ time echo "hello world" hello world real 0m0.000s user 0m0.000s sys 0m0.000s