Rollers will provide you with immediate feedback on your pedaling mechanics. If you mash the pedals you should be prepared to spend lots of time correcting your steering and/or picking yourself up off the floor.
I think trainers have been more popular than rollers simply because they're much easier to use, take up less space, and offer a larger range of resistance (not always, but usually.)