[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Perl, Python, Ruby, PHP, C, C++, Lua, tcl, javascript and Java comparison
- From: Laurent Faillie <l_faillie@...>
- Date: Mon, 15 Jul 2013 22:23:34 +0200
Le 15/07/2013 19:41, Henning Diedrich a écrit :
> "String manipulation is the core functionality for all languages so this allows to compare languages fairly."
>
> Says it all.
C code is totally biased :
* it disables output buffering ... so console throughput penalize the result
* I strongly doubt that other languages are all doing such stupid memory
reallocation for every string manipulation : the optimizer should detect
everything we are touching always the same string so it always use the
same quite large temporary buffer. As strings don't exist as such for
the C compiler it can't do such optimization.
Bye
Lolo
- References:
- Perl, Python, Ruby, PHP, C, C++, Lua, tcl, javascript and Java comparison, Daniel Bolgheroni
- Re: Perl, Python, Ruby, PHP, C, C++, Lua, tcl, javascript and Java comparison, Roberto Ierusalimschy
- Re: Perl, Python, Ruby, PHP, C, C++, Lua, tcl, javascript and Java comparison, kamicc olo
- Re: Perl, Python, Ruby, PHP, C, C++, Lua, tcl, javascript and Java comparison, Henning Diedrich
- Prev by Date:
Re: Perl, Python, Ruby, PHP, C, C++, Lua, tcl, javascript and Java comparison
- Next by Date:
Re: Why Mobile Apps Are Slow
- Previous by thread:
Re: Perl, Python, Ruby, PHP, C, C++, Lua, tcl, javascript and Java comparison
- Next by thread:
Re: Perl, Python, Ruby, PHP, C, C++, Lua, tcl, javascript and Java comparison
- Index(es):