/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

www.craigpardey.com
| | componenthouse.com

I wanted tocompare how Java, C++ and C perform whenreading a text file line by line and printing the output. I've implemented some possibilities and, at the end, we can compare the speed of each execution. Java 7 version (BufferedReader) import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; public class Main7 { private static final...
3.2 parsecs

Travel
| |
| | www.stackchief.com

Java multithreading examples including two ways of multithreading, good examples, avoiding deadlock, and how many threads can run.
1.4 parsecs

Travel
| |
| | bruceeckel.com

[AI summary] This blog post discusses the Dining Philosophers problem in Java, explaining how deadlock occurs in concurrent systems and providing a solution by breaking the circular wait condition.
2.4 parsecs

Travel
| |
| | enix.io

This serie of articles deals with solutions for Docker image size optimization. In this first part, we talk about *multi-stage build*. We also explain differences between static and dynamic libraries and why it matters. We also describe the use of the famous Alpine Linux distribution.
19.3 parsecs

Travel
|