Explore >> Select a destination


You are here

kylewbanks.com
| | connorberry.com
2.2 parsecs away

Travel
| | Language Comparison Perl: while (<>) { print "$. : $_" } Perl: while (<>) { print "$. : $_" } CSharp: using System; using System.IO; class App { public static void Main(string[] args) { int line_number = 1; foreach (string arg in args) { foreach (string line in File.ReadLines(arg)) { Console.WriteLine(line_number + ":" + line);...
| | hermanschaaf.com
2.8 parsecs away

Travel
| | Benchmarks of various approaches
| | componenthouse.com
2.1 parsecs away

Travel
| | 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...
| | blog.logrocket.com
19.1 parsecs away

Travel
| Compare the Rust and Zig programming languages based on their performance and use cases for improving how developers code.