![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jul 2003
Location: Grand Central
Posts: 2,948
|
perl vs. python (cgi)
well...Perl gets me a bit nutty sometimes and I want to try something new. Anyone using Python for CGI around here?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jul 2003
Location: Grand Central
Posts: 2,948
|
no one into python around here?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
why python?
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
:glugglug
Join Date: Mar 2003
Location: Where the Wild Things Are
Posts: 26,118
|
ewh python? perl or php ...all else is obsolete
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
if u insist on cgi and have the balls, try some C
u might even enjoy it
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Jul 2002
Location: A warm place.
Posts: 634
|
I used to program in Python and still love it. On the other hand, if Perl gets you nutty, Python will drive you insane.
__________________
I couldn't possibly know what I'm talking about, I'm completely, absolutely and definitively out of my fucking mind. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Too lazy to set a custom title
Industry Role:
Join Date: May 2003
Location: icq: 71462500 Skype: Jupzchris
Posts: 27,880
|
php!
__________________
[email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Jul 2003
Location: Grand Central
Posts: 2,948
|
Quote:
and thanks for the replies. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Jul 2003
Location: Grand Central
Posts: 2,948
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Join Date: Jul 2003
Location: Grand Central
Posts: 2,948
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Confirmed User
Join Date: Jul 2003
Location: Grand Central
Posts: 2,948
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
sex dwarf
Join Date: May 2002
Posts: 17,860
|
Quote:
__________________
/(bb|[^b]{2})/ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Confirmed User
Join Date: Jul 2003
Location: Grand Central
Posts: 2,948
|
Quote:
maybe I just get confused too easily ;-) |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: Jul 2003
Location: Grand Central
Posts: 2,948
|
It is just fucking perl is a write once language...been said a thousand times before....
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Join Date: Apr 2002
Location: Dallas, TX
Posts: 6,163
|
speaking as a website, PYTHON IS HELL ON A SERVER!
__________________
Coming Soon! A NEW revolution in black adult social networking! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
Confirmed User
Join Date: Apr 2002
Location: Houston
Posts: 5,651
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 | |
Confirmed User
Join Date: Jul 2003
Location: Grand Central
Posts: 2,948
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
Confirmed User
Join Date: Jul 2003
Location: Grand Central
Posts: 2,948
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 | |
Confirmed User
Join Date: Aug 2002
Posts: 2,781
|
Quote:
If you can't read your own perl then you will trouble with any programming language. The only things that are difficult to read are complex regular expressions |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 | |
Confirmed User
Join Date: Jul 2003
Location: Grand Central
Posts: 2,948
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 | |
Confirmed User
Join Date: Apr 2002
Location: Houston
Posts: 5,651
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Confirmed User
Join Date: Jan 2002
Location: SoCal
Posts: 696
|
Take Python for what it is intended to do. It's indented loop structure is awkward, but visibly logical. It's meant to be a CONTROL language to launch other sub-programs/APIs.
Think of PERL as a swiss army knife... it can do anything, but it isn't always pretty. Python is like an army general, controlling what other programs do, and bossing them around. Coding a solution in only Python is silly in most cases (even at slashdot.org). Using Python to integrate, say, 5 different codebases in 5 different (computer) languages is what Python is intended to do. It's the glue that helps other different parts work together. Yes, Python sucks up system resources. But if it's used to only launch other programs (with a reasonably minimum amount of processing logic within the Python code), as it's meant to be used, it really kicks ass as a control language. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
A/S/L .. I don't names.
Industry Role:
Join Date: Aug 2003
Posts: 1,177
|
cgi is fun
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 | |
Confirmed User
Join Date: Aug 2002
Posts: 2,781
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 | |
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
Quote:
PHP is the best scripting language by far. Its really good for web scripts. C can have performance advantages if your code involves a lot of system calls. And its a pretty low level language (meaning close to the machine level). Not many people bother to learn C, but if you do, you can learn a lot about language structures, memory management, file systems and other system related stuff as you use it.
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 | |
bored
Industry Role:
Join Date: Aug 2003
Location: PORNCMS.com
Posts: 4,778
|
Quote:
__________________
# ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#27 | |
Confirmed User
Join Date: Jul 2003
Location: Grand Central
Posts: 2,948
|
Quote:
![]() ![]() here's a random quote from the newsgroups: "Have a look at python sometime... All the power of perl, object orientation if you want it, and it's write once, read later rather than perl's write once, read later and scratch head wondering what it does..." |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#28 | |
Confirmed User
Join Date: Jul 2003
Location: Grand Central
Posts: 2,948
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#29 |
♥♥♥ Likes Hugs ♥♥♥
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
|
Perl and PHP both have their place. If I am just doing some simple scripting and need some dynamic content, then it's PHP all the way. I do the more sophisticated tasks in Perl. PHP just isn't able to handle some of the things I need to do.
If I have something that is going to see some serious traffic then it's C all the way. PHP and Perl are both slow compared to well written C. C is a real pain in the ass to write...for me anyway. It takes about twice as long as Perl or PHP. Advantage: Perl
__________________
I like pie. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#30 | |
♥♥♥ Likes Hugs ♥♥♥
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
|
Quote:
__________________
I like pie. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#31 | |
Confirmed User
Join Date: Jul 2003
Location: Grand Central
Posts: 2,948
|
Quote:
![]() ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#32 | |
Confirmed User
Join Date: Jul 2003
Location: Grand Central
Posts: 2,948
|
Quote:
of course, once you get into the code you can figure it out. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |