10 ms·
Viability of unpopular programming languages
- gaius 9y agoThis analysis is misguided because many of those languages are DSLs, e.g. ABAP, Apex, F#. No one using them has the option of using a general purpose language (and they are well-paid enough not to care). Whereas Perl 6 is in direct competition with general purpose languages. And it really is time to give up on flogging that dead horse.
- varjag 9y agoHow F# is not a general purpose language?
- tluyben2 9y agoAnd how can you not use C# in that case? I understand you might not want to but...
- gaius 9y agoIt’s not used as such, at least I’ve never seen it used like that. You would typically see it used by quants in an otherwise C# shop.
- varjag 9y agoAFAIK there's no special provisions in the language for quant trading to categorize it into DSL. More along the lines of Lisp being touted as "AI language" in 1980s, while it's really a general purpose programming language.
- fsloth 9y agoF# is very much a general purpose language. The tooling and infrastructure allows one to do nearly everything that can be done in C# in F# as well, and if one needs to use C# for something that is not really an issue because the languages are fully compatible. True, there are some things that are best done in C# like WPF, but that is not a sufficient handicap to truncate F# from the population of general purpose languages.
- gaius 9y agoDon’t get me wrong, coming from an OCaml background I am a fan of F#. But I don’t see it going mainstream anytime soon, and I don’t think that that matters at all to anyone who uses it.
- uryga 9y agoThat's okay, but that's not what DSL means as far as I'm aware. Which is why you got the comments about F# being general purpose.
- carlmr 9y agoI agree with uryga here. F# is not a DSL. There might be confusion, because a lot of F# people like to write DSLs in F#. But it's a full on language like any other. Except for the syntax it's not even that different from C#. Just a little better in terms of little extras it offers. The only thing vs. C# which I think it lacks is support of unsafe pointer arithmetic. Which I've never really used in C# either.
- hollerith 9y agoI think you got downvoted because although your comment is plausible enough in isolation, it does not have anything to do with the thread it is attached to (even though you yourself are the originator of the thread). ADDED. You don't seem to share my preference for conversations that stay focused on one topic. Over and out.
- gaius 9y agoThere’s nothing to say a DSL can’t be a full language. Just that it is designed for and generally used in a specific domain. I don’t think MS ever intended or claimed F# would be the new C# - it is very clearly aimed at a particular niche. And there’s nothing wrong with that! Nor would any F# user see their language as a rival or competitor to C# or Python or Java or anything else.
- 9y ago
- lizmat 9y agoSorry, the horse does not agree it's dead.
- hpcjoe 9y ago"Rumours of my demise are greatly exaggerated." -- Mark Twain, who may or may not have been writing about Perl, Perl6, and other languages that are no longer hip.
- phillipcarter 9y agoJust chiming in to say that F# is not a DSL - it's a fully-fledged programming language. Not in use nearly as much as C#/Java/etc., but it's not a special-purpose language.
- pg_bot 9y agoJust because something is unpopular doesn't mean that there is a reason for it. It is actually surprising how few users you need to have a viable programming language.
- trisimix 9y agoEspecially if you can compile the language to an executable or something distributable.
- hackermailman 9y agoOr you can compile to another language, like writing web apps in OCaml using BuckleScript or using other language libraries via FFIs https://realworldocaml.org/v1/en/html/foreign-function-interface.html https://realworldocaml.org/v1/en/html/foreign-function-inter...
- tribby 9y agoit's kind of like the viability of unpopular social networks. people want to be where their friends are. if more people I knew used perl6, I would use perl6, because it's a beautiful language.
- tyil 9y agoFeel free to come make some friends in #perl6 on Freenode!
- walshemj 9y agoVery Surprised that Pl/1 ranks above Haskel
- p0nce 9y agoI've found that many confuse the question "is it a viable programming language?" with "does it stand a chance to be top-10 popular?". The second proposition is much harder than the first, and many language will need mass appeal to get to the top-10 ; which is not necessarily without consequence on the language itself.
- onion2k 9y agoThe fewer users a language has the longer it'll take to hire someone, which means there'll potentially be a long wait for what your team can deliver. If you're a startup a long wait before delivering means you'll run out of money and shut down. If you have a choice, factor hiring team members very highly in your tech stack choices.
- MichaelMoser123 9y agoSome of these languages might come with some inherent advantages that give you an edge over the competition (like memory safety in rust). If the founders are well versed with a new technology like this than that would give them the edge. The problem is that it needs some serious backing for a prog language project in order to become a contender in this game. It is far more than a weekend project (+the founders seeking to apply this knowledge should be well versed in the subject matter) It might be that the end of 'moores law' will make such factors more important to the success of a project, more competition and a smaller margin will lead people to look for other differentiators, so to speak.
- AnimalMuppet 9y agoSome of these languages might come with some inherent advantages that give you an edge over the competition in certain situations. So, use those languages in those situations. Every programming domain has its yak-shaving aspects. Use whichever language and libraries that minimize the yak shaving, so that you can get on with what you're really trying to do.
- opk 9y agoNo, just hire a "programmer". It really doesn't take long to get up to speed in a new language and can make it more fun, adding to motivation. In any other profession job adverts don't specify the exact make and model of tools being used so why is it always required with programming?
- krapp 9y ago>No, just hire a "programmer". It really doesn't take long to get up to speed in a new language and can make it more fun, adding to motivation. It doesn't take long to learn the absolute minimum of many languages, but that might just give someone just enough knowledge to be dangerous, not useful. I would not, for instance, assume that my knowledge of javascript more or less prepares me to write banking software in COBOL or drivers in C, even if javascript and C share a lot of common syntax. > In any other profession job adverts don't specify the exact make and model of tools being used so why is it always required with programming? Because "programming" is not the profession. Programming specific applications in specific languages that meet specific business needs is the profession - and the necessity for domain knowledge beyond the bare minimum required to produce correct syntax is always more important than the language itself.
- Tade0 9y ago> Haskell has better public relations than all these languages. Haskell has had a rant about JavaScript on its official wiki for a few years(the wording changed to a less offensive one eventually), so the bar is pretty low here.
- andrepd 9y agoThe excellent tooling, documentation and package repository for Haskell is invalidated because of a rant about js?
- Tade0 9y agoOn the official wiki Actually - it's not the rant - it's the superiority complex. The fact that someone thought it would be a good idea to drop filth on another language there and nobody protested says a thing or two about the community. I mean, it literally said "JavaScript sucks ...". I see this condescending attitude a lot among people who do functional programming. Case in point: The only library that currently implements the Maybe monad as specified by Fantasy Land is called "Sanctuary.js" - as in "Refuge from unsafe JavaScript". Why the smugness? It surely doesn't help.
- saosebastiao 9y agoHaskell has excellent tooling, documentation, and package repositories? When the hell did that happen?
- bryanrasmussen 9y agono, but these things probably aren't the only things that go into 'public relations'
- hpcjoe 9y agoMany proxies suffer from a set of problems relating to specificity, applicability, and how much you can infer from quantitative data. Specificity, in that you are attempting to model one specific question with another, which might not even indirectly answer the question. You make an inference on this, and this inference could be quite wrong. Applicability ... are you or the proxy really measuring what you intend? Is the proxy applicable as a metric? I won't fisk this post. I will point out that people have been beating on Perl for a long time (all versions), as a "dead horse". It decidedly isn't, from my vantage point in a number of areas. Cool, it is not. Hip, it is not. More importantly, dead, it is not. Perl6 is interesting, I've not done much there yet, though it looks like a great general purpose language.
- slx26 9y agoTo me it comes down to usage: if given a problem X you are likely to chose language Y to solve it, then Y is viable. That sentence probably sounds super obvious, ok. The important point is realizing that the critical question there is: Am I likely to chose language Y? And realizing that the answer doesn't depend on popularity. For a general-purpose language popularity is probably a big factor, but for other languages that shine in solving particular problems it might not be very relevant. The question, as I say, is: is there any scenario where I would chose this language over other alternatives? If the answer is yes, then I'd say the language is viable.
- stonemetal 9y agoPopularity to a certain extent is a prerequisite for viability. Given problem X, and given that language Y is the most suitable language to solve problem X, how likely are you to chose language Y to solve it? If you are unaware of language Y's existence? If you have heard of Y on a internet forum but have seen zero lines of language Y code? If you have written 10 lines of language Y but you are the only dev at your company to have done so, and all other code at your company is written in Z? The more popular Y is the easier it is to choose, not because we are pop culture, popularity hounds but because popularity conveys certain benefits. Libraries and infrastructure, documentation and blogs, knowledge in other people on the team. That is why large companies are able to so successfully produce new languages, they are able to pay people to convey those benefits without the chicken and egg problem of natural growth popularity. For an interesting example of this D is almost the same age as C#(2001 vs 2000). D had to grow its user base and tools organically vs C# hitting the ground with thousands of devs working on an in it full time.
- sho 9y agoI, for one, find the TIOBE index absolutely incredible - ie, I don't believe it at all. As it says: "The index can be used to check whether your programming skills are still up to date" C is #2. Javascript, for better or worse the most important language for web dev, is #8. So what is this list implying - that JS developers should get with the times and learn C? Without details on how this list is compiled, I think it's pretty useless. Even the most cursory search of any job site will show orders of magnitudes more jobs for "unpopular" languages like JS, ruby and golang than for C. I'm not even sure what C is used for these days beyond kernel/driver development or embedded systems. I think I've met precisely one C developer in the last 10 years. Maybe I live in a bubble but this list just seems divorced from (my) reality.
- carlmr 9y ago>I'm not even sure what C is used for these days beyond kernel/driver development or embedded systems. I think I've met precisely one C developer in the last 10 years. I meet hundreds every day, and nary any web developers. I'm working in an embedded shop though, so YMMV on personal experience here. I learned some JS in school but haven't needed it since. Except writing some extensions, which was easy enough to learn in an afternoon if you know C-like languages. (I used TypeScript to be fair, much easier for me, why anyone would use pure JS is beyond me). I'm not sure TIOBE is useful for anything either. But a lot of legacy programs in C need maintenance. A lot of government software, flight control systems, banking systems etc. are probably still in large parts C. Just look at the salaries of COBOL developers (where is that on TIOBE again?), and you'll see that maintenance is big business. And that language is as ANCIENT as ALLCAPS. Looking as C is still at the heart of almost everything, I think maintenance work will still be a big consideration for the next 50 years. It might not be sexy or what you want to do though.
- quanticle 9y agoI'm not sure I agree with your point about COBOL developers, though I do agree with your larger point about C. The reason that COBOL developers get big bucks today is because so few of them remain. During the late-80s and the '90s, there were massive layoffs that decimated the COBOL job market. The developers earning big bucks today doing COBOL doing today are the ones that survived those layoffs, not your "typical" COBOL developer. I would wager that the median COBOL developer either transitioned into management, out of the industry or is working in a completely different language today.
- fnordsensei 9y agoI wouldn't go so far as to say that widely used is the same as popular. That implies an overall positive attitude towards the widely available thing. We all know that there are things that we use regularly but wish we didn't.
- larkeith 9y agoThere is a severe lack of evidence in this post for the author's assertion that "Common Lisp, Erlang, and F# would all be safer bets" than a nebulous "several more popular languages" - his entire argument seems to be that Common List and Erlang have been around since the '80s, and F# shares resources with C#. Also, an S-curve does not seem an appropriate representation for the benefits of a larger userbase - diminishing returns are not synonymous with asymptomatically approaching zero returns, and the idea that the first few users are worth negligible amounts seems wildly inaccurate.
- phillipcarter 9y agoI think the author's point about F# stands w.r.t it being a .NET language. Many services and products have officially supported .NET libraries and SDKs, which means that if you use F# you can leverage that support.
- allengeorge 9y agoI think the author is making an implicit and questionable assumption: namely that the top end of the S curve doesn’t dip back down again. But that’s not true. Standards change, use cases change, operating systems change, and unless there’s a lot of work going into maintaining those libraries - or building new ones - the existing libraries slowly become less useful. Yeah, they provide a base, but then you’ll have to work around a quirky bug because you’re using it in a way the original author never intended, or other libraries you need to solve this problem don’t exist, or... My point is that the S curve only remains an “S” through constant ongoing effort by the community, and that’s what makes a language viable _for a domain_. (I should also point the it that that curve actually represents the viability of a language for a particular problem domain.)
- misja111 9y agoAll these discussions are useless as long as there is no objective way of measuring the quality of a programming language.
- majewsky 9y ago> as long as Implying there ever will be.
- wincent 9y agoFunnily enough, the index update this month is: "April Headline: Perl is having a hard time" Source: https://www.tiobe.com/tiobe-index/ https://www.tiobe.com/tiobe-index/ "At the moment there are 2 programming languages in the top 20 that have lost more than 3 positions in 1 year's time: Objective-C and Perl. The reason for the fall of Objective-C is clear. Apple abadoned Objective-C a couple of years ago and replaced it by its successor Swift. Moreover, mobile app development is moving to platform independent languages and frameworks, so even Swift, which is only available on Apple's systems, has a hard time. But what about Perl? Till 2005 it was the most dominating scripting language in the world. In 2008 we said in an interview with Dr. Dobb's Journal that Perl would go extinct based on the trend we saw in the TIOBE index at that time. After this a religious war started with Perl diehards who claimed that this won't happen and that the TIOBE index was being gamed. Stevan Little gave a ground-breaking talk in 2013 called "Perl is not dead, it is a dead end" indicating that once software engineers leave the Perl language they will never come back. Personally I think that the fork of Perl 6 (and its delays for decades) together with the unclear future of what was going to happen to the language was the main reason for engineers to look for alternatives such as Python and Ruby. And still today the Perl community hasn't defined a clear future, and as a consequence, it is slowly fading away."
- deleted 9y ago[deleted]