Web scripting languages RAM usage
1
Name:
Anonymous
2010-09-28 11:13
Tested on Linux with FIOC 2.6.5, PHP 5.3.3 and Ruby 1.8.7, all running as FCGI processes.
FIOC : 8MB
PHP : 35MB
Ruby : 70MB
I propose that we shall henceforth refer to Ruby as Shitty .
2
Name:
Anonymous
2010-09-28 11:15
Ruby is fat as fuck.
3
Name:
Anonymous
2010-09-28 11:16
Hand-coded assembly : 35KB
4
Name:
Anonymous
2010-09-28 11:17
Web
I stopped reading right there.
5
Name:
Anonymous
2010-09-28 11:20
>>3
Are you implying that memory usage is directly proportional to the abstraction provided by the language?
6
Name:
Anonymous
2010-09-28 11:27
>>5
Such a statement would be incorrect, even based on OPs numbers
7
Name:
Anonymous
2010-09-28 11:29
Perl?
8
Name:
Anonymous
2010-09-28 11:33
You still won't get me to learn FIOC, and its fucking retarded requirements that I format my code Guido's way.
RAM is cheap in case you haven't noticed, as are CPU cycles.
Fuck Guido, and fuck you too, OP, while we're at it.
9
Name:
Anonymous
2010-09-28 11:37
>>7
I didn't have any Perl web modules worth testing at the time.
>>8
My Vserver has 256MB RAM, and it costs $25 a month. Sure, if you want to pay $150+ a month for a real root server, be my guest, but I don't find that too feasible for small applications.
10
Name:
Anonymous
2010-09-28 11:46
Ruby was made by the Japanese. Japanese are horrible at PC programming. Henceforth, it is safe to assume that Ruby is shit.
11
Name:
Anonymous
2010-09-28 12:07
>>10
Microsoft Windows was made by the Americans. Americans are horrible at PC programming. Henceforth, it is safe to assume that Windows is shit.
12
Name:
Anonymous
2010-09-28 12:08
>>9
Programming hobbyist detected.
Further, without the details of what modules and what code OP is trying to run his metrics are meaningless.
13
Name:
Anonymous
2010-09-28 12:13
>>12
I assume they are persistent processes. But I'm not sure on how FCGI is so ``fast''.
14
Name:
Anonymous
2010-09-28 12:17
>>13
FastCGI is only fast when compared to CGI, as the script process is only started once instead of every request.
15
Name:
Anonymous
2010-09-28 12:17
>>13
Yes OP is asking us to assume a lot. Except his status as an FIOC fanboi.
16
Name:
Anonymous
2010-09-28 12:24
fucking retarded requirements that I format my code Guido's way
What? You're not forced to format your code Guido's way. He was too stupid to outlaw tabs
17
Name:
Anonymous
2010-09-28 12:28
>>14
So his metrics are just how much memory each implementation uses while idle?
18
Name:
Anonymous
2010-09-28 12:44
19
Name:
Anonymous
2010-09-28 13:07
>>17
*metircs (
American spelling )
20
Name:
Anonymous
2010-09-28 13:13
>>8 is a moron, and probably a Perl user.
21
Name:
Anonymous
2010-09-28 13:26
fuck off ``faggot''
22
Name:
Anonymous
2010-09-28 13:28
23
Name:
Anonymous
2010-09-28 13:31
>>22
Hm. Now imagine someone ported Python to ParrotVM.
24
Name:
Anonymous
2010-09-28 14:01
I'd like to see what code OP's using to test with. A 10x difference in memory usage is pretty glaring.
IHBT
25
Name:
Anonymous
2010-09-28 14:24
>>24
For Python, Django stuff. For PHP, Wordpress. For Ruby, some Ruby on Rails shit (Redmine).
26
Name:
Anonymous
2010-09-28 14:27
>>25
Clearly very rigorous benchmarking going on here.
27
Name:
Anonymous
2010-09-28 14:32
>>26
Those are all full-featured applications which use a wide array of different libraries and are pretty much ``standard'' for their respective platform. Thus, memory usage is representative for a large percent of usage scenarios.
28
Name:
Anonymous
2010-09-28 14:55
>>23
Pynie is untouched for like 7 months now. I recall Allison saying she's rather to make a bridge between Parrot and PyPy.
29
Name:
Anonymous
2010-09-28 14:59
I recall Allison saying she's rather to make a bridge between Parrot and PyPy.
please to be learning english. PLEASE!!!!!
30
Name:
Anonymous
2010-09-28 15:18
>>27
Ah yes, ``Django stuff''. I rather like that application too.
31
Name:
Anonymous
2010-09-28 15:22
>>25
Thats like comparing apples to hubcaps. I mean they're both round...but that's where the similarities end.
32
Name:
Anonymous
2010-09-28 16:15
>>30
I don't think you know what you are talking about, sir, so you might want to keep out of this discussion.
33
Name:
Anonymous
2010-09-28 16:18
>>31
I have pica, you insensitive clod!
34
Name:
Anonymous
2010-09-28 16:26
>>10
Ruby was made by a Mormon. Mormons are polygamous. Henceforth, it is safe to assume that shouldn't be allowed to speak of the performance of Ruby in a single-threaded context.
35
Name:
Anonymous
2010-09-28 16:36
>>34
PHP was made by
JEWS!
36
Name:
Anonymous
2010-09-28 16:43
37
Name:
Anonymous
2010-09-28 17:17
>>8
You still won't get me to learn FIOC, and its fucking retarded requirements that I format my code Guido's way.
All that's required is that you indent your code. Not necessarily in Guido's way, and the rest is up to you. If you are unwilling to indent, then you better not write anything I'll ever have to read.
>>16
Truth, he should have made tabs throw WontParseThisShit on first sight.
38
Name:
Anonymous
2010-09-28 22:35
>>35
For once
JEWS fag speaks the truth.
39
Name:
Anonymous
2010-09-29 0:43
wants lightweight scripting language, looks at Python, PHP, Ruby
FAIL
Lua, Squirrel, Pike, Angelscript, Pawn
40
Name:
Anonymous
2010-09-29 1:01
>>39
Except none of these
toy languages have any written piece of code worth mentioning.
41
Name:
Anonymous
2010-09-29 7:05
>>40
What are you talking about, Lua is used in plenty of games
Oh, I see what you mean
42
Name:
Anonymous
2010-09-29 10:14
>>40
That's because they're used embedded (except Pike, which sucks BAWLZ). hence why you probably never see them.
44
Name:
Anonymous
2011-01-31 20:50
<-- check em dubz
45
Name:
Anonymous
2011-02-03 4:35