The first sentence implies a process taking place - I'm going to write good jokes, and this will lead to my becoming a comedian.
In the second sentence, the comma separates the two actions, and so they are no longer as connected - I'm going to write good jokes, and independently of this, I'm also going to become a comedian.