/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

badoption.eu
| | 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...
2.1 parsecs

Travel
| |
| | studiofreya.org

[AI summary] A beginner's guide demonstrating five fundamental Java programming examples, including printing Hello World, using loops, taking user input, creating patterns, and reversing strings.
2.7 parsecs

Travel
| |
| | juffalow.com

This post describes how to make HTTP GET and POST request on server. I will use httpbin server for testing. It returns you everything you send there : query params, post data, headers, etc.
2.5 parsecs

Travel
| |
| | boyter.org

[AI summary] This blog post compares the performance of Java and Go when processing large files, highlighting the challenges Java faces with memory-mapped files and the efficiency of Go's concurrency model. The author tests various implementations, including a Java solution with threads and queues, and finds that Go's approach is faster, though Java can be optimized with batch processing and efficient queue implementations. The post concludes that for optimal large file processing, Go is more suitable, but Java can still be competitive with the right techniques.
12.9 parsecs

Travel
|