

You can keep a short position for a long time, as long as you can maintain margin, which gets bigger if the stock price continues increasing, and pay margin interest - there is no set date when the short has to he closed, it’s indefinite. Sometimes the lender who loaned you the stock can ask for it back, and if you can’t locate any more shares to borrow to replace the returned shares, you might be forced to buy the shares back and close the short, but this is not common, at least during normal market conditions.





I worked at Bell Labs in the 90s, on wireless stuff, but we were still using the “in house” cfront compiler at the time, and would e-mail the compiler group, which included Bjarne Stroustrup, with issues sometimes. I learned C++ from his book before I joined Bell Labs, so that was a bit of a holy shit moment for sure for me then.
Kernighan, Ritchie and Thompson all still worked at Bell Labs as well at the time, but the company was huge then, and they were all in a different location from my team, so I never had any opportunities to meet them.