The simplex algorithm is not in P. CLRS therefore states that, even though in practice it works "well", there are some inputs causing the algorithm to run in exponential time. This is strictly related to the algorithm, not to its implementation: you will face this independently of how exactly you implement the algorithm. However, LP is in P. This was proved by Khachian in 1979, however his ellipsoid algorithm is not practical. Today, interior points methods are widely used. The first one was discovered by Karmarkar in 1984.
If you are interested in practical implementations, take a look at:
GUROBI, free for academic use, is right now the best optimizer available (both sequential and shared-memory parallel versions):
http://www.gurobi.com
the GLPK library:
http://www.gnu.org/software/glpk/
this is an open source project, providing implementations for:
- primal and dual simplex methods
- primal-dual interior-point method
- branch-and-cut method
- translator for GNU MathProg
- application program interface (API)
- stand-alone LP/MIP solver