Live data from Hacker News

Ask HN: I have to analyze 100M lines of Java – where do I start?

news.ycombinator.com

121–126 of 126 posts

Re: Ask HN: I have to analyze 100M lines of Java – where do I start?

#121
post #115

Earlier quoted context omitted.

I don't think there are that many companies with ~10^8 LOC code bases in the world, let alone for a single product[1]: Facebook(webapp): ~3 10^7 LOC Linux Kernel: ~2 10^7 LOC Windows XP: ~5*10^7 LOC My impression is that 10 million LOC codebase is relatively common... but past that the size of the organization (company or volunteers) needed becomes a major sorting criteria. [1] http://www.wired.com/2013/04/facebook-w…

Yes but these project are no dumped to a team to re-write them all the often, are they? The way I get this, his team is limited in personnel and resources and kinda overwhelmed by the project. I'm sure Facebook/Linux (OS devs)/Microsoft are not exactly out of developers .

All the more reason to sharpen the good old resume... if there was not a typo in the OP numbers, this smells a lot like an intentional career killer.

Re: Ask HN: I have to analyze 100M lines of Java – where do I start?

#122

Earlier quoted context omitted.

I could be wrong, but I think the "M" means thousands in this case. I know it means thousands when dealing with inventory UOMs. 100 million lines just seems like a lot, even for a code generator, and not something that would be turned over to a single team.

I don't think there are that many companies with ~10^8 LOC code bases in the world, let alone for a single product[1]: Facebook(webapp): ~3 10^7 LOC Linux Kernel: ~2 10^7 LOC Windows XP: ~5*10^7 LOC My impression is that 10 million LOC codebase is relatively common... but past that the size of the organization (company or volunteers) needed becomes a major sorting criteria. [1] http://www.wired.com/2013/04/facebook-w…

Errata. Numbers should read as: Facebook(webapp): ~3 * 10^7 LOC. Linux Kernel: ~2 * 10^7 LOC. Windows XP: ~5 * 10^7 LOC.

Re: Ask HN: I have to analyze 100M lines of Java – where do I start?

#124
post #70

Earlier quoted context omitted.

Sure, 'cause if he/she had, you would already have found a solution! No need to be rude nor arrogant, even more if pointlessly so.

No, it's just that such information makes a huge difference to those that try to make sense of the question, especially a poorly defined and somewhat confusing question as posed here.

How exactly does knowing it's an insurance/finance application magically change the answer to "how to get my head around 100m lines of Java code"? Is there some "financial java code analysis" tool or technique that's so completely distinct from "engineering java code analysis" or "healthcare java code analysis" that it deserves a snotty, condescending retort?

Re: Ask HN: I have to analyze 100M lines of Java – where do I start?

#125
post #124

Earlier quoted context omitted.

No, it's just that such information makes a huge difference to those that try to make sense of the question, especially a poorly defined and somewhat confusing question as posed here.

How exactly does knowing it's an insurance/finance application magically change the answer to "how to get my head around 100m lines of Java code"? Is there some "financial java code analysis" tool or technique that's so completely distinct from "engineering java code analysis" or "healthcare java code analysis" that it deserves a snotty, condescending retort?

An 'Ask HN' with this level of input is not a guessing game where the people that try to help have to play 'bingo' with the asker for information that may or may not be important for the answer. If there is context available and the asker is free to talk about that context then it should be supplied up-front.

There is nothing snotty or condescending about that, but there is something very weird about this whole thread, I wished I could put my finger on it.

Re: Ask HN: I have to analyze 100M lines of Java – where do I start?

#126
if you can run the program, i highly recommend searching HN for strace.

eg: "whats that program actually doing. start with strace" https://blogs.oracle.com/ksplice/entry/strace_the_sysadmin_s...

i've successfully reverse engineered messaging protocols, written drivers for a different language, and ported large projects just by trying to see what it does over the file system, network.

~B

Post reply on HN