Join us at IRC!
You cannot teach a man anything; you can only help him find it within himself. - Galileo
Thursday, May 24, 2012
Navigation
Members Online
Total Online: 34
Web Spiders: 17
Guests Online: 27
Members Online: 7

Registered Members: 70180
Newest Member: RAWRFEARME744798
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Page 1 of 2 1 2 >
Author

Google in python?

techb
Member



Posts: 384
Location:
Joined: 15.02.09
Rank:
Hacker Level 2
Posted on 26-04-10 05:04
I know the debate on what googles crawler is written, and I haven't looked into what it uses today but in the early days of google stanford says it was first implemented in python:

"""...In order to scale to hundreds of millions of web pages, Google has a fast distributed crawling system. A single URLserver serves lists of URLs to a number of crawlers (we typically ran about 3). Both the URLserver and the crawlers are implemented in Python."""

link to paper:
http://www.infolab.stanford.edu/~backrub/google.html
*the url tag wouldn't work with the link. IDk why...

True? I don't know, this could be a fake. But then again why would some one take that much effort into writing the paper?



kbcarte.wordpress.com
Author

RE: Google in python?

goluhaque
Member



Posts: 194
Location: India
Joined: 17.02.10
Rank:
Hacker Level 1
Warn Level: 30
Posted on 26-04-10 07:10
Broken Link. :(


That applause I receive from y'all on posting this post would have gotten me drunk on power if I hadn't already been high on life.
Author

RE: Google in python?

techb
Member



Posts: 384
Location:
Joined: 15.02.09
Rank:
Hacker Level 2
Posted on 26-04-10 07:12
I don't know why it doesn't work...

google search = stanford python google

it should be the first link titled: "The Anatomy of a Search Engine"

I discovered it while working on timed6. Which is complete now if any one cares. Found a nifty google module to pares(spelling?) searches.





Edited by techb on 26-04-10 07:15
kbcarte.wordpress.com
Author

RE: Google in python?

goluhaque
Member



Posts: 194
Location: India
Joined: 17.02.10
Rank:
Hacker Level 1
Warn Level: 30
Posted on 26-04-10 07:32
The www shouldn't be there---
http://infolab.stanford.edu/~backrub/google.html


That applause I receive from y'all on posting this post would have gotten me drunk on power if I hadn't already been high on life.
Author

RE: Google in python?

techb
Member



Posts: 384
Location:
Joined: 15.02.09
Rank:
Hacker Level 2
Posted on 26-04-10 07:34
a url tag didn't work with that either
[url=http://infolab.stanford.edu/~backrub/google.html]test[/url]


kbcarte.wordpress.com
Author

RE: Google in python?

fuser
Member



Posts: 959
Location: in front of a computer (duh)
Joined: 05.04.07
Rank:
HBH Guru
Posted on 26-04-10 07:39
techb wrote:
a url tag didn't work with that either
[url=http://infolab.stanford.edu/~backrub/google.html]test[/url]


you didn't close the tags properly.

[url]http://infolab.stanford.edu/~backrub/google.html[/url]

huh, doesn't work either.










Telling modern Internet users to stop whining is like telling them to stop breathing — it seems unrealistic and inhumane. Paul Lutus



Edited by fuser on 26-04-10 07:46
catinthecpu@hotmail.com
Author

RE: Google in python?

techb
Member



Posts: 384
Location:
Joined: 15.02.09
Rank:
Hacker Level 2
Posted on 26-04-10 07:48
i was going for something a link like this...





kbcarte.wordpress.com
Author

RE: Google in python?

stealth-
Member



Posts: 998
Location: Eh?
Joined: 10.04.09
Rank:
God
Posted on 28-04-10 04:50
I could see python being used as the original web crawler, it tends to be used for applications of that type. However, with the massive amount of crawling/searching google has to do since they've became the size they are now, I highly doubt they would still rely on such a slow language. It's just really inefficient to have to purchase more/faster hardware when you could simply redesign the code once and not have to worry as much about increasing processing power.


The irony of man's condition is that the deepest need is to be free of the anxiety of death and annihilation; but it is life itself which awakens it, and so we must shrink from being fully alive.
http://www.stealth-x.com
http://www.stealth-x.com
Author

RE: Google in python?

techb
Member



Posts: 384
Location:
Joined: 15.02.09
Rank:
Hacker Level 2
Posted on 28-04-10 06:38
I've heard it is written in ASM now. I could be wrong though.


kbcarte.wordpress.com
Author

RE: Google in python?

fuser
Member



Posts: 959
Location: in front of a computer (duh)
Joined: 05.04.07
Rank:
HBH Guru
Posted on 28-04-10 10:39
ASM sounds impractical for Google to use, since it's platform specific, and we're talking the world leader in Internet services, so this is a major hindrance.

If they said they now use Ruby, well, I might believe it. Where did you hear about it.










Telling modern Internet users to stop whining is like telling them to stop breathing — it seems unrealistic and inhumane. Paul Lutus

catinthecpu@hotmail.com
Author

RE: Google in python?

techb
Member



Posts: 384
Location:
Joined: 15.02.09
Rank:
Hacker Level 2
Posted on 28-04-10 10:50
It was here on HBH, I don't remember who said it though.


kbcarte.wordpress.com
Author

RE: Google in python?

fuser
Member



Posts: 959
Location: in front of a computer (duh)
Joined: 05.04.07
Rank:
HBH Guru
Posted on 28-04-10 10:52
huh, whoever said it is either pulling your leg or is plain clueless on web applications.










Telling modern Internet users to stop whining is like telling them to stop breathing — it seems unrealistic and inhumane. Paul Lutus

catinthecpu@hotmail.com
Author

RE: Google in python?

techb
Member



Posts: 384
Location:
Joined: 15.02.09
Rank:
Hacker Level 2
Posted on 28-04-10 10:56
eh... It doesn't matter.

I don't really care what its written in. Sure it would be interesting to know, but not useful.

I thought it was interesting because I code in python.

I thought it was coded in C/++.


kbcarte.wordpress.com
Author

RE: Google in python?

fuser
Member



Posts: 959
Location: in front of a computer (duh)
Joined: 05.04.07
Rank:
HBH Guru
Posted on 28-04-10 11:18
you're not the first one. When I first heard about it, I assumed that it can only be done in C/C++ or some other language. But then I learned about scblockedripting languages, and while the original crawler might have been done in Python, I'll bet it's now written in Ruby.










Telling modern Internet users to stop whining is like telling them to stop breathing — it seems unrealistic and inhumane. Paul Lutus

catinthecpu@hotmail.com
Author

RE: Google in python?

wolfmankurd
Member



Posts: 1519
Location: UK
Joined: 30.05.05
Rank:
God
Posted on 28-04-10 11:21
Pretty sure it's true google always goes on about python being at the heart of it some shit.
I don't knwo about noadays though.


BY READING MY POST, YOU ACCEPT IT AS IS AND AGREE TO MY DISCLAIMER OF ALL WARRANTIES, EXPRESS OR IMPLIED, AS WELL AS DISCLAIMERS OF ALL LIABILITY, DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL, THAT MAY ARISE FROM THE USE OF THIS (MIS)INFORMATION.


Widowmakr@hotmail.com http://LetsHackStuff.com
Author

RE: Google in python?

techb
Member



Posts: 384
Location:
Joined: 15.02.09
Rank:
Hacker Level 2
Posted on 28-04-10 11:27
fuser wrote:
you're not the first one. When I first heard about it, I assumed that it can only be done in C/C++ or some other language. But then I learned about scblockedripting languages, and while the original crawler might have been done in Python, I'll bet it's now written in Ruby.


Why Ruby over Python?


kbcarte.wordpress.com
Author

RE: Google in python?

fuser
Member



Posts: 959
Location: in front of a computer (duh)
Joined: 05.04.07
Rank:
HBH Guru
Posted on 28-04-10 11:31
after a brief search, I discovered that it is possible that python is just part of it. There are parts of it written in C++, and they recruit people who use other languages as well.

And this link seems to be the most conclusive:

http://stackoverflow.com/questions/754301/what-programming-language-is-google-written-in

post #17 of this thread gives the complete list:

http://forums.digitalpoint.com/showthread.php?t=673630

aaanndd here's from one of the google's devs themselves:

http://steve-yegge.blogspot.com/2007/06/rhino-on-rails.html

edit: techb, the reason why I think they might be using Ruby because I heard it's faster than Python, but I'm just learning, so I might be wrong until someone posts a benchmark between several different languages.










Telling modern Internet users to stop whining is like telling them to stop breathing — it seems unrealistic and inhumane. Paul Lutus



Edited by fuser on 28-04-10 11:32
catinthecpu@hotmail.com
Author

RE: Google in python?

wolfmankurd
Member



Posts: 1519
Location: UK
Joined: 30.05.05
Rank:
God
Posted on 28-04-10 15:51
they love python and c++. Go is pretty much c++ getting python drunk the reusltant one night stand.


BY READING MY POST, YOU ACCEPT IT AS IS AND AGREE TO MY DISCLAIMER OF ALL WARRANTIES, EXPRESS OR IMPLIED, AS WELL AS DISCLAIMERS OF ALL LIABILITY, DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL, THAT MAY ARISE FROM THE USE OF THIS (MIS)INFORMATION.


Widowmakr@hotmail.com http://LetsHackStuff.com
Author

RE: Google in python?

techb
Member



Posts: 384
Location:
Joined: 15.02.09
Rank:
Hacker Level 2
Posted on 28-04-10 15:53
I've looked a little into GO and wasn't really impressed. I've heard a lot of bad things about it also.


kbcarte.wordpress.com
Author

RE: Google in python?

wolfmankurd
Member



Posts: 1519
Location: UK
Joined: 30.05.05
Rank:
God
Posted on 28-04-10 15:57
techb wrote:
I've looked a little into GO and wasn't really impressed. I've heard a lot of bad things about it also.

Go has a lot of good features that were always around just never picked up by the mainstream imo


BY READING MY POST, YOU ACCEPT IT AS IS AND AGREE TO MY DISCLAIMER OF ALL WARRANTIES, EXPRESS OR IMPLIED, AS WELL AS DISCLAIMERS OF ALL LIABILITY, DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL, THAT MAY ARISE FROM THE USE OF THIS (MIS)INFORMATION.


Widowmakr@hotmail.com http://LetsHackStuff.com
Page 1 of 2 1 2 >
Guest
Username

Password

Remember Me


Bookmark This Page
Affiliates
Adverts

 

 

Links
By using, viewing or obtaining any information contained on this site, you agree to the disclaimer.

© HellBound Hackers 2008- 2009. Since 3rd December 2004.