You are here |
acorwin.com | ||
| | | |
www.codeaffine.com
|
|
| | | | Ever been caught in a controversial discussion about the usage of the Java final keyword? This post reflects on the pros and cons of the various practices. | |
| | | |
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... | |
| | | |
connorberry.com
|
|
| | | | 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);... | |
| | | |
andreabergia.com
|
|
| | This post is part of the Stack Based Virtual Machines series. Stack Based Virtual Machines - 1 Stack Based Virtual Machines - 2 ??thispost Stack Based Virtual Machines - 3 Stack Based Virtual Machines - 4 Stack Based Virtual Machines - 5 Stack Based Virtual Machines - 6 Stack Based Virtual Machines - 7 Stack Based Virtual Machines - 8 After the introduction in the last part, its time to start writing some code and dig into stack based virtual machines. |