I've been writing some console applications in c++ for working with audio for a little while now and I'm interested in running them on a website. Most of my programs are quite resource-hungry, however, some with execution times of up to 5-10 min, reading and writing several gigabytes to and from disk, and requiring several gigabytes of memory. I've done a few simple php-mysql pages before, but nothing like this, so before i get my hopes up and dive into learning how to get an application running on a website, i figure i should ask a few questions: 

1. Is it even feasible to run a program like this on the web? How would performance on a server compare to my PC?
2. Do web hosts typically allow a single user to use this kind of memory?
3. I realize c++ isn't usually the first choice for web programming, but since performance will be critical would it be better than Java?

I know nothing about this, so i'm just trying to get my expectations straight.