In short, sales. Marketing and publicity don't really provide benefit unless you're offering a free service to end users. My own startup reached front page of HN. Total sales resulting from that: about $0 (or negative dollars if you count server costs). Every sale is because I directly approached clients I thought needed my software.