This Month
- 2:06 pm
- Yesterday
August 2010
- Aug 09Janos.HaitsOla Bini: Programming Language Synchronicity
software developer working for ThoughtWorks, mainly with JRuby. I am very interested in programming languages, artificial intelligence and lots of other things. I am also the creator of the programming language Ioke.
- Aug 03rafaeldffFile copy in Java – Benchmark | @Blog("Baptiste Wicht")
So I searched all the methods to copy a File in Java, even the bad methods and found 5 methods :
Naive Streams Copy : Open two streams, one to read, one to write and transfer the content byte by byte.
Naive Readers Copy : Open two readers, one to read, one to write and transfer the content character by character.
Buffered Streams Copy : Same as the first but using buffered streams instead of simple streams.
Buffered Readers Copy : Same as the second but using buffered readers instead of simple readers.
Custom Buffer Stream Copy : Same as the first but reading the file not byte by byte but using a simple byte array as buffer.
Custom Buffer Reader Copy : Same as the fifth but using a Reader instead of a stream.
Custom Buffer Buffered Stream Copy : Same as the fifth but using buffered streams.
Custom Buffer Buffered Reader Copy : Same as the sixth but using buffered readers.
NIO Buffer Copy : Using NIO Channel and using a ByteBuffer to make the transfer.
NIO Transfer Copy : Using NIO Channel and direct transfer from one channel to other.NIO a little faster for large files. Streams with custom (byte[]) buffers faster for small files. Large difference between custom buffers and merely delegating to a BufferedStream. Using a Reader does not incur in that much performance penalty, it may even be faster for smaller files.
- Aug 03
- Aug 03
July 2010
- Jul 26
- Jul 19
- Jul 15
- Jul 11Janos.HaitsTim Davis: University of Florida Sparse Matrix Collection : sparse matrices from a wide range of applications
The University of Florida Sparse Matrix Collection is a large, widely available, and actively growing set of sparse matrices that arise in real applications. Its matrices cover a wide spectrum of domains, include those arising from problems with underlying 2D or 3D geometry (such as structural engineering, computational fluid dynamics, model reduction, electromagnetics, semiconductor devices, thermodynamics, materials, acoustics, computer graphics/vision, robotics/kinematics, and other discretizations) ...
- Jul 02rafaeldffServlet History | Java.net
Servlets were originally conceived of by James Gosling in 1995, but put aside for other interests. After some time, the concept was picked up by Pavani Diwanji, who built on the concept to create servlets as part of a project then called Jeeves (from a fictional character). This project was eventually productized into the Java Web Server,
Short blog post on the early history of Java Web technologies.
June 2010
- Jun 30
- Jun 18
- Jun 13
- Jun 03
May 2010
- May 31
- May 28
- May 26
- May 17
- May 17bertailsStevey's Blog Rants: Rhinos and Tigers
written, both here and on the old rants site. I'm a CS major interested in languages and systems programming, and

