Interfacing directly with pins 0 and 1 for serial communication

You should read this:
https://www.sparkfun.com/tutorials/215

It is definitely not safe to directly connect your Arduino to a serial port on your computer. The voltage levels exceed what the Arduino can handle.