 
      
    | You are here | codingcraftsman.wordpress.com | ||
| | | | | www.morling.dev | |
| | | | | Recently I ran into a situation where it was necessary to capture the output of a Java process on the stdout stream, and at the same time a filtered subset of the output in a log file. The former, so that the output gets picked up by the Kubernetes logging infrastructure. The letter for further processing on our end: we were looking to detect when the JVM stops due to an OutOfMemoryError, passing on that information to some error classifier. | |
| | | | | 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... | |
| | | | | pmig96.wordpress.com | |
| | | | | When I heard of WebAssembly (WASM for short) a few years ago, I thought: take your C program, compile it to WASM and the browser will simply run it, right? Well, WASM is not (yet) a first-class citizen in the browser world. It does not have access to all APIs and resources that JavaScript has.... | |
| | | | | www.npopov.com | |
| | | |||