After rebirth, I became a great master

Chapter 220 Academician, please give me your advice

Chapter 220 Academician, please give me your advice

The Java language was released in 95 and is considered to be the most fashionable computer language in the IT field.

However, because the release time is too short, most people are still in the exploratory stage of this language.

Zhou Haoran is different.

As industry practitioners, Java is a language that IT engineers must be proficient in.

It's only 96, and JDK has only been updated two versions.

Engineers around the world are still learning Java, so to say he's the world's most proficient Java programmer is a bit of an exaggeration, but to say he's in the top five isn't too modest.

The technical difficulties that the small team is facing now are too trivial for him.

But Zhou Haoran hesitated whether to help them.

"Him? He can't!" At this time, a voice sounded beside him, "He is not a classmate of our school, he is from Red Star TV."

Zhou Haoran was slightly startled, then turned around and saw a handsome guy.

The pure and beautiful sunshine.

Like a Korean Oppa.

Looks very familiar.

"Is your name Zhou Haoran?"

"you are?"

"My name is Qiao Hai, and Qiao Nuo is my sister."

"Oh, you're Qiao Hai?" Zhou Haoran's eyes lit up, thinking it was a coincidence. "Before I came here, Nuonuo mentioned that her brother was doing graduate school at Fudan University. I didn't expect he was doing it at the School of Computer Science."

Qiao Hai smiled and said, "I've seen the photo of you two. Thank you for taking care of my sister at work."

Zhou Haoran didn't take it seriously, "Take care of each other."

"Aren't you a salesperson at a TV station?" Qiao Hai was very curious. "Why are you at school?"

"I……"

Zhou Haoran was about to say that he was here to apply for leave of absence, but he quickly stopped himself.

Qiao Nuo is still hiding it.

If she knew that the master she had always admired was actually a junior who was four years younger than her, she might have a mental breakdown and the master-disciple relationship would be impossible to maintain.

"Oh, I came here to seek cooperation with Dean Cheng."

Zhou Haoran immediately changed his words.

"cooperate?"

Qiao Hai was confused and didn't know what kind of cooperation he, a salesman, could have with the School of Computer Science.

Dean Cheng Dechang turned around and looked at him curiously, "Are you from the TV station? What do you want to cooperate with?"

Zhou Haoran explained, "Today's business management involves a lot of complex data related to finance, supply chain, warehouse, and sales. In the past, we used handwritten documents to record this, which significantly impacted efficiency."

“Oh, you want to build an information management system?”

Cheng Dechang is no stranger to such projects.

Zhou Haoran smiled and said, "Yes, digital management can make business operations more efficient and information transmission smoother."

Cheng Dechang shook his head. "A system like this isn't as simple as you think. Different companies may have different needs. We need to develop different designs and functions based on different needs. This requires customized development."

Qiao Hai laughed and said, "Zhou Haoran, we've all developed information management systems before. The principles behind them are very complicated. We need to connect to the database and grant different permissions to different departments..."

"I know." Zhou Haoran interrupted him. "We can develop all the functions in a modular way... Now that we have the Java language, development will be much easier."

Qiao Hai was slightly stunned.

I was surprised by what he said. It seemed like he really understood Java?

The only female student present, who looked plain with her glasses, said thoughtfully, "We can modularize the functions and then call different modules based on different customer needs."

Zhou Haoran smiled and said, "That's exactly what I mean. Just like Dean Cheng said, the personalization of an enterprise means that the information management system needs to be customized. But if it is a modular architecture design, it can be allocated according to demand, achieving the greatest possible results with the lowest cost."

"How do we structure this?" Qiao Hai thought it was too challenging. "No one can do it."

One of the students tried to say, "Why don't we ask Brother Fang from Group 2? He's a postdoc, has the best skills, and has the deepest knowledge of the Java language."

"Is he okay?"

Qiao Hai felt it was unreliable.

Software architecture is like the load-bearing beams of a house.

Normal software development is like building a building.

This is all understandable.

But the modular function that Zhou Haoran mentioned can be used on demand, which is very complicated.

This is equivalent to building each room separately, and then assembling the "functions" such as bedroom, living room, storage room, bathroom, toilet, etc. into the load-bearing beams according to needs.

This will place extremely high demands on the design of the house frame.

Zhou Haoran pointed at himself and said, "As for me, I'll be the architect. I'll build the framework and ask students from the School of Computer Science to help me implement all the functions."

"you?"

Qiao Hai opened his eyes wide, wanting to laugh but unable to.

A few of my classmates laughed, wondering what this guy, who had come from nowhere, was saying, "He works at a TV station, can't he be more mature?" He acted like a fool.

Dean Cheng Dechang stared at him for a few seconds and asked, "Your name is Zhou Haoran?"

"Correct."

"It just so happens that there's a little bug here, and these people have been working on it all morning. Would you like to take a look?"

"Uh..." Zhou Haoran thought about it for a moment, and for the sake of long-term planning, he agreed. "Okay, let me take a look. Are you going to make dynamic ads for the webpage?"

Qiao Hai shook his head and said, "What ad? This is a demonstration of particle animation effects on a HotJava browser."

Zhou Haoran nodded. "It's the same thing. You're talking about the technology, and I'm talking about its application. The technology you developed is specifically for displaying dynamic ads on web pages. If the lab has an internet connection, you can log on to Yahoo and see it."

"what?"

Qiao Hai was stunned and turned to look at his fellow apprentices.

They all stared at each other, bewildered.

Qiao Hai chuckled and boasted to the classmate next to him in a low voice: "This is my brother-in-law."

Zhou Haoran sat over.

The keyboard, mouse, and monitor are all very old-fashioned, and there is a reference book "Java Language Specification" on the table.

However, there is currently no Chinese version in China.

This is the English version, the original edition of the book.

"Whose book is this?"

Zhou Haoran pointed.

Qiao Hai smiled and said, "Mine. I brought it back from America."

Zhou Haoran glanced at him and exclaimed in admiration, "It's in English. Can you understand it?"

Qiao Hai said: "Not bad."

Zhou Haoran pointed out: "There are several things wrong with this book. Please pay attention when you read it."

"Zhou Haoran, you're bragging too much!" Qiao Hai could sense that this kid was talented, but he couldn't stand it. "Is there a mistake in this book? This book was written by Gosling, the father of Java, and he designed this language!"

Zhou Haoran said, "I know he's the father of Java, James Gosling. Just because he created the language doesn't mean he understands it best."

"hehe."

"Ha ha!"

"You're so funny!"

For a moment, everyone burst into laughter.

Zhou Haoran looked at them in surprise. "Isn't this normal? It's like the reading comprehension section of the college entrance exam. Even the original author of the article might not be able to answer those questions correctly. This is the value-added principle of public products. You, with masters and doctorates, don't understand this? Dean Cheng, do you understand?"

Cheng Dechang's forehead was full of black lines, "See if you can fix this bug!"

Zhou Haoran smiled and said, "This is easy."

Qiao Haidao said, "It's not easy. This program ran fine on our Sun demo machine, but when we transferred it to the browser, it froze after five minutes."

"Check the event dispatch thread."

Zhou Haoran started to operate.

"Java's threading model is rubbish..."

Qiao Hai was complaining beside him, and the next moment, he stopped.

Because Zhou Haoran’s operation was too skillful.

And it's extremely fast.

"Found it. It's right here."

Zhou Haoran pointed at a piece of code on the screen.

public class Particle extends Thread {
public void run(){
while (true) {
repaint(); //Directly call AWT drawing method
try { sleep(100);}
catch(InterruptedException e){}}}}
"The current Java language has many flaws and vulnerabilities, which even the creator of Java might not be aware of. If you program using his book, you're bound to encounter some bugs you can't solve."

At this moment, Zhou Haoran seemed to have switched identities with Dean Cheng.

It seems that he is the academician of the Academy of Sciences, doctoral supervisor, discipline leader, and dean of the School of Computer Science at Fudan University.

Everyone was shocked in an instant!
Dean Cheng adjusted his glasses, leaned forward, and stared at the code intently.

Zhou Haoran said with a smile: "Dean Cheng, a great expert like you shouldn't come here to study code. You are already so old."

Cheng Dechang couldn't believe it, "Are you right?"

Zhou Haoran said, "Of course you are right. You are directly operating AWT components in the user thread. In fact, all GUI operations must be performed in the system event thread. This is a design flaw of Java."

This is actually not a very difficult problem.

Twenty years later, the book "Java Concurrency Programming in Action" explained this issue in detail. Since then, developers around the world have finally understood what is going on.

It turns out that the problem that has plagued us for many years and has been difficult to solve was actually caused by the father of Java.

In this day and age, it can be called a killer move!

Zhou Haoran smiled and said, "I can't blame you. Countless developers around the world have been troubled by this flaw. I'll write a paper and publish it later to make a small contribution to the development of the global Internet industry."

"Is there a way to solve?"

Qiao Hai found that the atmosphere was a bit awkward, so he took the initiative to communicate with him.

How embarrassing!

The dignified academician, doctoral supervisor, and dean acted like a student in front of a young man.

"Simple."

Zhou Haoran adjusted the input method and started typing on the keyboard to modify the code.

It mainly calls the Runnable interface, calls the EventQueue class API, calls the invokeLater function, and throws the drawing operation back to the system event queue.

After modification, demonstrate it.

The dynamic particles on the screen have resumed their smooth movement.

It worked!
"hiss!"

The entire laboratory was dead silent.

Everyone was shocked.

It's like I've forgotten to breathe.

"Applause?"

Dean Cheng Dechang was the most knowledgeable person and calmed down first to applaud.

Then, the doctors and masters standing in a circle around them began to applaud enthusiastically.

Qiao Hai clapped the loudest.

All of them were a little teary-eyed.

He now finally understood why his sister had been mentioning the name "Zhou Haoran" at home recently.

Is that human being?
Too strong?!
(End of this chapter)

Tap the screen to use advanced tools Tip: You can use left and right keyboard keys to browse between chapters.

You'll Also Like