When I took over a project from a bunch of epensive consulting hotshots they would always complain that Java is the problem and they want to write it in C++ but the bank doesn't let them do it. Turns out they were a bunch of tools. The old code took around 4 hours every night and failed on the regular so people would be called at 2am. We got it down to minutes by throwing away the old code and using better algorithms.
But that is nothing to do with the language chosen, that's the quality of the developer.
My previous job to the C++ guy was all Java, we had a process that ran at 5pm every working day and took 30 minutes to run. It was taking data that had 5 levels hierarchy and manipulating it to 3 levels, the input was a file and the output was a database. It also went wrong a lot and had to be restarted. I was tasked with changing the code because the input source was changing. When I looked at the code I found the reason for the slow processing, they had a thread to read the file and a thread to write to the database and in the middle was a Vector.
I removed the Vector and the threading, read the file into memory and wrote it to the database. Job now ran in a couple of minutes and not 30.
View all comments
Show parent comment
1
u/soonnow Jun 15 '24
When I took over a project from a bunch of epensive consulting hotshots they would always complain that Java is the problem and they want to write it in C++ but the bank doesn't let them do it. Turns out they were a bunch of tools. The old code took around 4 hours every night and failed on the regular so people would be called at 2am. We got it down to minutes by throwing away the old code and using better algorithms.