News for hackers. Stuff that matters.
Re:Code Reuse in Google Chrome Browser by babul on Friday September 05, 2008 @05:38AM (#295718)
Thanks for the breakdown of the libraries. Very useful and interesting. (Also saves me time/energy this weekend.)
Re:Code Reuse in Google Chrome Browser by pkrumins on Friday September 05, 2008 @06:20AM (#295749)
You're welcome!
Re:Code Reuse in Google Chrome Browser by metatronscube on Friday September 05, 2008 @07:03AM (#295761)
Its quite refreshing to see good Software Engineering practices coming out of a large company like Google.
Re:Code Reuse in Google Chrome Browser by kajecounterhack on Friday September 05, 2008 @07:07AM (#295764)
Well, they're google. "Do no evil," which tends to lead me to believe the opposite "do all good," which applies to their coding too ;)

Though they aren't doing all good according to some...I give them the benefit of a doubt.

Re:Code Reuse in Google Chrome Browser by meat-eater on Friday September 05, 2008 @08:09AM (#295788)
Code reuse cuts the development time and brings down the defect rate. So it should be a good thing. Quite the opposite approach taken by the Mozilla guys. Those guys alsmost built their own everything (rendering engine, foundation classes, etc). There are a lot of open source libs there also, but i guess google wanted to focus on the minimal UI design and the per process architecture.
Re:Code Reuse in Google Chrome Browser by etal on Friday September 05, 2008 @03:37PM (#296211)
Also, consider when the original codebases were written. There was nothing to borrow when Netscape/Mozilla first took a crack at it, in many of these cases.
Re:Code Reuse in Google Chrome Browser by gaius on Friday September 05, 2008 @08:19AM (#295792)
There was a reason for that (clue: how many platforms does Mozilla support? How many does Chrome).
Re:Code Reuse in Google Chrome Browser by wheels on Friday September 05, 2008 @09:45PM (#296493)
The hard parts of writing a web browser are the rendering engine, the javascript engine, the transport layer and security code. The rest, comparatively, is trivial and there are cross-platform OSS libs for all of those.

etal got it right though -- Mozilla began as an OSS project in 1998, long before many of those libs were available.

Re:Code Reuse in Google Chrome Browser by stcredzero on Friday September 05, 2008 @12:19PM (#295977)
Hmmm, so Mozilla is taking the Java Swing/Squeak Smalltalk strategy of ensuring cross-platform compatibility by doing everything yourself?
Re:Code Reuse in Google Chrome Browser by soundsop on Friday September 05, 2008 @01:28PM (#296071)
Re:Code Reuse in Google Chrome Browser by hhm on Friday September 05, 2008 @02:00PM (#296108)
I disagree with such opposing view. 25 libraries would be a nightmare to get in just the right version, and specifically compiling a program with many libraries that aren't already compiled in Windows is usually a nightmare (at least with VC++, which I guess is what these guys are using together with Scons?), to compile the software. The idea that Chrome would automatically update in case one of such libraries changed, is probably not very convenient either as such updates could also break the code (because of changes in the interfaces for example, or in the behavior of libraries... while it's not very probable for each library, it becomes quite probable when you have 20+ libraries).
Re:Code Reuse in Google Chrome Browser by pmorici on Friday September 05, 2008 @08:39AM (#295802)
"Free Python library that implements SSL 3.0, TLS 1.0, and TLS 1.1. TLS"

Is Chrome using Python somehow or did they just pullout the underlying C code from the module?

Re:Code Reuse in Google Chrome Browser by pkrumins on Friday September 05, 2008 @09:22AM (#295820)
It does not use Python directly. Python is used for testing various parts of Chrome, such as code coverage, dependencies, measures page load times, compares generated html, etc.