by wwweston · 13y ago · 0 comments
I'm not sure that using C was the craziest thing about how we did things. Nobody really had an idea how to structure a web app, so it was more or less a dozen or so CGIs which read/wrote to flat files through custom-written dbm clone (woo, NoSQL in '96!). Lots of unsophisticated string munging.
Maybe if we'd had some better abstractions, it wouldn't have been as painful, but C code written to do a lot of ad hoc string cobbling is, in fact, a little crazy.
Despite this, the product pretty much worked and actually had a few hundred customers and a future.
(We even got looked at by Yahoo, but they bought some outfit named Viaweb instead.)
I'd note that pg ultimately sold to Yahoo, who a) wrote a fair bit of C in house themselves and b) were severely trounced by a competitor that initially was primarily using C++ (Google).
e.g. You run a skyscraper building company. If you see job ads for competitors with things like "must have excellent woodworking knowledge" you are probably less worried than those with "must have excellent metallurgy knowledge".
That's fine. I was characterizing how pg was using it.
> Does this company understand what it is getting into and therefore what it needs?
I think it is actually a much poorer proxy for that. Maybe if they are a small company or don't have any engineers, that would make sense. As a company gets larger, job descriptions start to represent very small, specific parts of what a company does, and the internal context of the company often outweighs the importance of the external context that is visible to you.
As an example, when Facebook was still up and coming and had real competition, Facebook were the ones hiring C programmers, not their competitors... ;-)
Back in the day (particularly before they started doing ads), almost everything was C++.
Of course, the best option would be to replace them by other languages with native compilers.
However at the level these languages are used, it will only happen when OS vendors push new languages for their OS.
So it will never happen in UNIX land or Mac OS X land.
In Windows land, Microsoft is pushing for C++ and C++/CX, maybe C# if they ever decide to offer a full native compiler, like the Bartok one.
The embedded market OS vendors are all about Ada, C and C++. A few do offer Basic, Pascal and Oberon, but are very small niche.
So there isn't any OS vendor left that would push new system programming languages for their OS.
For business programming, there are already plenty languages to chose from.