Everybody who could afford it adopted psychostimulants in WW2. Go pills have been part and parcel since then. Some countries have adopted modafinil, but the US still uses amphetamine.
I am an adult with ADHD and have never been able to get past the side effects that I have to drugs such as amphetamines and SSRIs. I was prescribed Modafinil for a short period for "Shift Work Disorder" when I worked shift work as a Stationary Engineer and it was glorious in regard to my ADHD symptoms with effectively zero side effects. I wish the US would expand its usage.
Modafinil is only a Schedule IV controlled substance so it's usually possible to find a doctor who will prescribe off label if you want it. (This isn't medical advice.)
Just a note for anyone passing by. The side effects are rare, except diarrhea and you need to watch your liver enzyme levels if I remember right. Everyone I know who's taken that had diarrhea the entire time (manageable with meds), and it will screw your liver long term.
I think the GI effects are basically the same between any of the -afinils, FWIW.
I wouldn't recommend them in general, but mostly because they last too long to really work with a normal 16/8 sleep cycle and the other stimmy effects can detract from things other than focus work.
I never took any long-term, but I've actually napped (purposefully) the afternoon after taking one in the morning, which is impossible on amphetamines.
Which is to say, they seem better to me, but maybe long-term use is different.