by aftbit · 10y ago · 0 comments
For example, Erlang is great when you need to do lots of concurrent operations with guarantees about safety and uptime, but not really what I'd write a CSV parsing program or email client in.
C is very easy to link against on almost every platform and language, so basic libraries are often written in C.
Javascript (in the form of nodejs) is great for writing simple web servers because most of its standard library is asynchronous by default. Compare Python (with Tornado or similar) where lots of popular libraries cannot easily be used in an event loop.
I could go on forever, and you might disagree with me about a particular details, but the general point stands. If you took an expert Erlang programmer and gave her a day to write a spreadsheet application, you'd get a worse result than the same day spent by a C# programmer.
[1] http://stackoverflow.com/questions/900055/is-sql-or-even-tsq...
If you look at feedback times, PHP is the new Smalltalk. (Yuck.)
At the end of the day you're probably best off using whichever language you know most, unless you're doing it for learning purposes, or it's one of those rare ones where it really does fit into a specific language.
The other option is to split the project into multiple services. Implement the backend service in e.g. c, and then do the front-end/GUI in, say, Python. This model is seen a lot with things like media players (e.g. mpd).
That being said, your overall point certainly stands. I wouldn't write an OS in Fortran, or a game in Ruby, etc.
DSLs can give you tremendous amplification when you play to their strengths.
Edit: I always use "he/she" or "her/him"
Using the names and pronouns with someone that they prefer is the polite thing to do, even if you don't "get" it. :)
I do think using "she" as the hypothetical example for roles people think of as male is still useful; it hopefully makes people question their knee-jerk response a bit.