Re:Announcing Topaz: A New Ruby
by ephemeralgomi on Wednesday February 06, 2013 @11:59AM
(#5177457)
Loading the standard library takes time. With a smaller (underimplemented) standard library, you can get to the user's code much more quickly.
Re:Announcing Topaz: A New Ruby
by stcredzero on Wednesday February 06, 2013 @02:57PM
(#5178430)
Perl 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.
Yeah, a lot of language runtimes seem to not have discovered mmap.
Exactly.
time echo "hello world" hello world
real 0m0.000s
user 0m0.000s
sys 0m0.000s $ 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
I don't understand why the lack of features would affect the time of "hello world."