9 ms·
The Economics of Programming Languages [video]
- zubairq 3y agoI really loved this talk and feel for Evan. As someone who was a VC/Angel investor in the space (I was the initial angel investor for something called LightTable/Eve) back in the day, worked for a couple of years at Red Hat, and am working on my own Open Source Language here: https://github.com/yazz/yazz https://github.com/yazz/yazz (so yes, you could say I am a VC trying to build a low code product with my own hands), so I hope that I have valid opinions on this. I think that it is possible to make money in opensource as a little guy, but you need to have a combination of consulting, hosting, and support services. If your product is not able to encapsulate being sold and packaged as something that is possible to demo and sell to customers then you will most likely struggle to make a living from it. So for example, just making a single component (that could be built inhouse), or a new language (that could be substituted for another language) will be very hard to sell
- 1-more 3y agoBrutal ending. Let me kick the tires on Elm types stored in Postgres!
- refset 3y agoI'm extremely keen to see what the SQL<->Elm experience might be (assuming something like that is part of the deal too). Simplifying how we interact with databases is arguably even more important/$valuable than simplifying UIs.
- carapace 3y agoFWIW, I'm about to try integrating Elm and Tau Prolog (Prolog-in-JavaScript). I have a toy language that uses Elm for the interpreter and Prolog for the type inference and I want to make one of those nifty "try this language right in the browser" things. The "relations" in Prolog and SQL ("relational model") are the same thing, and Prolog is arguably "nicer" than SQL? https://en.wikipedia.org/wiki/Relational_model https://en.wikipedia.org/wiki/Relational_model
- 1-more 3y agoI strongly endorse having some fun with Lamdera then. Your frontend and your backend are written in Elm. Your backend state is the state of the world, and it is stored in a DB. You write migrations that force you to have a safe translation between versions. They answer the question of "given a state of frontend and backend models and in flight messages, how do we construct new versions of these things?" And they can include "throw out that message" if you really want.
- iamwil 3y agoThat part of the talk surprised me. It implies that you can compile Elm into C? I wasn't aware that was in its capabilities. It seemed like a good idea worth exploring. I can see how he'd get Jeff'd there.
- marcosdumay 3y agoYou can compile almost anything into C. And if you can't, you can always compile it to machine code with a C compatible interface.
- 1-more 3y agoit's certainly not in the 0.19.1 compiler, but yeah you can compile anything into anything when you're the compiler writer (and he's a not bad compiler writer). Lamdera, fwiw, is storing Elm states in a database right now. It's a closed source fork of the Elm compiler. It's honestly amazing, and it may be what Jeffs the official Elm on the DB. IDK.
- iamwil 3y agoI wasn't aware this was a current capability of Elm. I didn't see it advertised anywhere on its web pages or docs. I thought maybe I missed something, or if it's something only known to those on the Elm mailing list. But it sounds like Elm is relatively easy to rewrite/reconfigure a backend to target a different language. Thanks for the lead on Lamdera, which is helpful.
- 1-more 3y ago> I wasn't aware this was a current capability of Elm. If it is it's a capability of a branch of the compiler that only exists on Evan's laptop > something only known to those on the Elm mailing list. As far as I know there is no Elm mailing list. > But it sounds like Elm is relatively easy to rewrite/reconfigure a backend to target a different language. I don't think it targets LLVM or anything, so you're gonna be on your own for that.
- KolmogorovComp 3y agoTangential: those slides are very slick, does someone know which software was used?
- refset 3y agoAlmost certainly https://prezi.com/ https://prezi.com/
- deathtrader666 3y agoPrezi was where Elm was conceived / sponsored.
- lrx 3y agoWhy did Prezi take Elm off the payroll?
- timinou 3y agoHe mentions it in the video. They couldn't rely on Elm, which was too young at the time, for their migration away from Flash. The scale of creating a language was too big for Prezi's immediate needs back then
- yyzzx 3y agoI went to a JS conference at the time and the CTO of Prezi was talking to me about compiling Haskell to JS; he really wanted Haskell. I told him the performance won’t be good. He wasn’t happy with that answer, but I saw in the end that they went with Elm.
- poidos 3y agoI was lucky enough to be in attendance for this one. Loved the energy in the room during this fantastic talk.
- ad404b8a372f2b9 3y agoThe presenter is hilarious! I've rarely seen an engineer with such charisma.
- bbkane 3y agoI find the "state of Elm" over the past couple of years absolutely fascinating. Some folks reasonably claim the language is dead and absolutely not suitable for production due to scarcity of updates, public roadmap, or bug fixes. Others run Elm in production and reasonably claim it's perfect/stable already. There's a steady stream of blog and forum posts on this argument. I read them all.
- xtian 3y agoIt’s because the only people left in the Elm community are those who are content with its current state and aren’t interested in having a stake in the future direction of core components or in even knowing whether there is a direction.
- dartos 3y agoThere are only 2 kinds of tools. Tools people complain about And tools nobody use.
- pcstl 3y agoYeah, I don't think this quote fits here. Elm had a massive shot at making the big time circa 2015-2016. If they hadn't blown that shot, yeah, they'd be the kind of tool a lot of people use and complain about. But what I see when it comes to Elm is a lot of people who don't use the language shaking their heads in frustration at what they see as missed potential, while a handful of people who do use the language insist that it's perfect and unchangeable and that Evan could never ever make a bad decision, all the people who disagree must just be short-sighted.
- satvikpendem 3y agoAs the sibling comment implies, the fact that we see fewer and fewer complaints compared to a few years ago leads me to believe that Elm usage is dying.
- noelwelsh 3y agoAgreed. It's amazing how much history is determined by small decisions. As another commenter said, Elm completely blew their chance, which is essentially down to the actions of one guy making what seem, from the outside, obviously bad decisions. At a meta level, there has long been demand for a modern ML but all the contenders have fumbled the bag in various ways. E.g. OCaml was "nah, multi-core isn't important" for at least a decade.
- davidw 3y agoI wrote about this subject a while back. I'd be curious to read an 'article version' of his talk. https://www.welton.it/articles/programming_language_economics.html https://www.welton.it/articles/programming_language_economic...
- layer8 3y agoYour article is more about the economics of using a language, while Evan’s talk is about the economics of developing a language. Your choice of examples also dates you as being roughly 20 years older than Evan. ;)
- davidw 3y agoWell, yeah, I wrote the article nearly 20 years ago. I still think the fundamental forces at work are pretty similar though. The economics of creating a programming language are similar to most other open source software economics, although even proprietary languages need a way to get an initial user base. In some cases that's easier, as a large company can force a language for some important environment like writing iOS apps.
- layer8 3y agoAh, I missed the date, and “a while back” sounded more recent to me. I think your article and Evan’s talk are largely complementary.
- satvikpendem 3y agoInteresting, I posted this a couple days ago but it now seems to have gotten into the second-chance pool. I used to use Elm, but after all of their hostility to their own users (which you can see with a cursory search online) and the growing popularity of TypeScript, I stopped using it, even though TS is in some ways worse. But sometimes, worse is better, and sometimes, you just want to get things done.
- continuational 3y agoI don't know what to search for - can you elaborate?
- satvikpendem 3y agoIf you search on HN for Elm, you'll find several articles: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&query=Elm&sort=byPopularity&type=story https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que... The one that's most talked about is the top one as of this writing, Why I'm Leaving Elm. You'll find some examples in there.
- bbkane 3y agoAlso head to the Elm subreddit or the Elm discourse forum and sort by "top all time"
- jpcfl 3y agoTbf, Reddit is pretty hostile in general.
- foobiekr 3y agoThat doesn’t make the top posts unfair or valueless.
- nyssos 3y agoThat's not the sense in which Elm is hostile. It's hostile as in 1990s Microsoft. There are lots of little things, but the big ones are: - the compiler detects whether it's compiling core libraries and disables some features if it's not - you can't choose your own package set, even locally
- anotherhue 3y agoAnyone have any bright ideas as to how we can change these economics? Zig foundation is interesting.
- brabel 3y agoZig is a really interesting case... it seems Andrew Kelly has been able to get from a small Patreon donation model to support his own modest salary, to a Foundation that is sponsored by several big names and has enough funds to pay several people to work on Zig full time. I've watched Elm for many years from a distance, and I think that with a little more "social skills", Evan could've probably done the same as Elm had quite a lot of hype a few years ago... notice that even though Andrew may be a bit more charismatic (though I find Evan really nice too) he also has a bit of a hardline regarding features, specially requests by sponsors are not treated specially in any way - there's a talk from an Uber employee where he mention that after getting Uber to sponsor Zig, they asked about some issues they'd created and were told very, very clearly that sponsorships don't come with "perks" like having your issues given priority!
- foobiekr 3y agoThat’s wrong though. Sponsorships that do come with perks low negotiating a mutually beneficial position. A valid take would have been to work out some kind of NRE scheme or contracting scheme.
- 3836293648 3y agoThen that's in the sponsorship agreement. You can't just sponsor someone and then expect more than you put in the agreement.
- truculent 3y agoI think a key factor is that Evan seems to think about the (very) long term. With that in mind, relying on one person's sustained willpower and charisma probably isn't attractive.
- sseagull 3y ago
- brabel 3y agoAbout Dart: it only got several people working on it and given proper attention because of Flutter... before Flutter, it was really close to die after the bet on replacing JS in browsers didn't work out. Flutter seems to be a revenue maker for Google (which should explain why it has gained so much attention - just look at the StackOverflow tag for Flutter, or their Youtube Channel - it's really, really active and the pub.dev package manager has grown immensely lately, to the point there's packages to do nearly anything in Dart/Flutter), but I am not sure how exactly given both Dart and Flutter are open source! Are the big users of Flutter giving Google big money?? Or how does that work?
- zigzag312 3y agoI would guess easy integration with Google's cloud services like Firebase and promotion of these services within Flutter's docs, brings more costumers these services.
- deleted 3y ago[deleted]
- skybrian 3y agoI worked on the Dart team at around that time. After integrating Dart into Chrome was cancelled, the team got moved from Chrome to Ads, because Ads was migrating all their websites from GWT to Dart. This isn't something anyone outside Google cares about, but it meant that it was consistently staffed as they looked for other big customers. Also, the ads codebase is enormous, so there are plenty of technical challenges from getting language infrastructure to scale to their needs. (Consider getting a language server for an IDE to scale up as a codebase grows, or making the language tools generate efficient JavaScript that's not unreasonably slow to download, or loading and displaying large tables in the browser.) I have no idea whether Flutter generates revenue directly. I'd guess not, but internal usage of Flutter is likely enough to justify having a team devoted to maintaining and improving it.
- danielvaughn 3y agoI'm curious why Dart was chosen over Go, seeing as Google created both, and Go has far more interest and activity.
- hardwaregeek 3y agoI got to see this talk irl and it was definitely one of the highlights of the conference. It did make me feel a little bad for how many times I’ve ragged on programming languages for having poor UX/tooling, even though it’s pretty unrealistic to expect a community driven project to invest the thousands of developer hours. I do wonder if there are ways to lower that burden, although that still doesn’t help with the cost of support and developer relations.
- sbergot 3y agoThe Language Server Protocol is a newish thing that allowed some languages to gain more tooling for cheaper. I have a ton of respect for MS for doing this. They didn't need to do it that way. Tooling is still a ton of work and the protocol seems to have issue but looking the adoption it seems that a lot of project are finding value in it both on editors and language sides.
- tester756 3y agoThere's also Debugger Adapter Protocol iirc.
- hardwaregeek 3y agoYeah I've written about what I call "Tooling for Tooling", stuff like the LSP or tree-sitter that make it easier for language authors to build out their tooling ecosystem. I wish people invested more into these sorts of projects so we could raise the standard of tooling for everyone.
- danielvaughn 3y agoYeah, as someone who's actively building a language right now, I can attest that the process is rough. Rough in the sense that I need to invest heavily into putting together my own set of tooling. It's a non-trivial exercise, to say the least.
- otteromkram 3y ago
- cloogshicer 3y agoThe sad thing about this is: Imagine how amazing our languages and tooling could be if there was a happy path for talented people to work on this. For example, the error messages in Elm are just insanely better than in any other language I know. Like, it's not even in the same ballpark. Why doesn't every language have this? But that's just an example. In general, I think we under-invest in tooling.
- vlovich123 3y agoCan you give an example? I find Rust’s error messages to be also very good in most cases, but I’ve been in C/C++ land so long I don’t know what the state of the art actually looks like. Also, do you think Elm’s error messages come from a simpler language design? For example, some of Rust’s ability to provide better error messages come from the language improvements relative to C/C++ itself I think.
- mbStavola 3y agoFun fact, Rust's human readable errors were inspired by elm[1]. [1]: https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-com...
- deleted 3y ago[deleted]
- diggan 3y agoI'm fairly sure I read somewhere that Rust error messages were inspired by the great error messages popularized by Elm. And in most cases, it's just a matter of sitting down and really thinking about what is the best error message you could provide in that specific scenario, what context is needed any so on. Instead of just writing down the first thing that comes to your mind, and never iterating on it ever again.
- CSSer 3y agoOh, absolutely. This came up in a conversation I had with a friend last night about antitrust in tech. Not only do we underinvest in tooling but only the largest companies have the spare time and resources to do so. I think this has led to many modern open innovations only realistically being useful for solving the problems of very large companies. On a cynical day I might even accuse certain tools of being designed that way for job security. Or at least it looks that way because the majority of people who are using the tool could only dream of getting approval from management to make a better alternative. The priorities of many of the tool maintainers, no matter how honest, just don’t match like they used to, and this is in an ecosystem awash with telemetry.
- abdellah123 3y agoAnother very successful way to go about building a language is Imba. Build a successful product with new lang https://scrimba.com https://scrimba.com, make sure the product's very hard to Jeff and take VC money. Now you can work on the language as you please, and they can't Jeff you since nobody else can build something similar (not in a reasonable amount of time anyway) P.S: taking VC money is optional. Scrimba is profitable so it wasn't necessary.
- belmont_sup 3y agoThis is so neat.
- tcbawo 3y agoWhat does “Jeff” mean in this case?
- dcre 3y agoIn the talk it’s short for getting Jeff Bezos’d, i.e., someone with deep pockets easily replicating what you’ve built on top of their own infrastructure (often cheaper for them because of that infrastructure) after you showed there was a market for it.
- otteromkram 3y agoYour product is a bootcamp with a Javascript abstraction and you think Amazon can't replicate that? How do you sell people on enrolling for a course that uses a language that isn't used by any other company, which makes it pretty useless outside of possibly teaching some high level concepts?
- abdellah123 3y agotry clicking pause on a lesson
- zoogeny 3y agoI love this talk for a lot of reasons. Mostly because it crystalizes a lot of feelings I have been having about "Open Source" as a general concept. His conclusion that Open Source is for big companies and not small developers is a really compelling conclusion (IMO). The fact that a lot of open source projects support massive corporate rent-seeking (directly or indirectly) is a great example. My spiciest take for 2023 is that the development community is going to start waking up to the realities of asymmetry between the kind of open source models made possible by the largess of massive billion dollar corporations and the kind of open source made possible by individual developers working on passion projects. It probably helps that I am aligned with what Evan is saying in some meta sense. We really need to zoom out from the viewpoint of being the benefactors of seemingly "open" projects like Chrome. I even see in these comments some pot-shots at the Elm community and leadership for being extremely protective of their project when faced with unwanted and undesirable intrusions. It is also interesting that this comes not long after I ran into Golang debating an updated json library for its stdlib [1]. What I want to say about that is, there is almost no universe I would be willing to put up with that community feedback. Any human with the stamina to respond to aggressive and persistent haranguing and nitpicking has more patience than I will ever have. So if the majority of criticism of Elm is that they exclude those kinds of people from their community then I totally understand it. Even if you paid me a 300k TOC FAANG salary there is no way I'm dealing with those kind of people, forget about it for a project of my own passion. Thank you for your interest, but please take your "help" anywhere else. His conclusion is bleak and a bigger warning than most realize. How many people have amazing ideas on their laptops in a proof-of-concept state right now but they don't know what to do? One on hand is the specter of entitled expectation from a legion of idiots who have been conditioned on the open source models made possible by huge corporations. On the other are the corporations salivating at Apache, MIT and BSD licensed free software they can host for almost no cost. And as he points out - the current alternatives for funding are totally inadequate. 1. https://github.com/golang/go/discussions/63397 https://github.com/golang/go/discussions/63397
- pcstl 3y agoI don't think it's very charitable of you to assume that the massive amount of people who have left the Elm community are all, and I quote: "a legion of idiots who have been conditioned on the open source models made possible by huge corporations". I get the point you're trying to make here, and I agree that funding from big corporations has fundamentally distorted the open-source landscape in ways that might not be the most desirable, but we can acknowledge that without invalidating people who believe that the Elm project has been mismanaged by just assigning them to some "those kinds of people" bin.
- alexashka 3y agoThe talk is a nice combo of informative and entertaining. I liked the ending of 'now that I've proven myself to be capable and likeable, someone give me money for this new thing I've been working on'. Very shrewd 'self marketing'. For all this talk of free markets and whatever, we still live in a world of rich but bored and creative but poor.
- baron816 3y agoA talk on “the economics of programming languages” could go a number of different ways. I’d like to see a talk (or maybe a whole book) on how the evolution of programming languages over the last 50 years has made it possible for multiple trillion dollar companies to form and reshaped the whole global economy. Like, these things wouldn’t be possible if we were stuck with Fortran. I think there’s an interesting discussion to be had about why all these programming tools (languages, frameworks, version control, other infrastructure) have made the job of software engineers so much easier, and many more people have entered the profession as a result, but the wages of software engineers has continued to rise.
- armchairhacker 3y ago> I think there’s an interesting discussion to be had about why all these programming tools (languages, frameworks, version control, other infrastructure) have made the job of software engineers so much easier, and many more people have entered the profession as a result, but the wages of software engineers has continued to rise. More demand. As you’ve stated, we probably just wouldn’t have services like Google Docs if we were still writing code in Fortran. But with the advent of better languages and tooling, people replace old tasks (e.g. spreadsheets copywriting) with automation, and create new types of software (video games, social media, ads). Software engineers have become more efficient but there’s a need for more software engineers, because there’s a need for much more programming. It’s the same reason people still work a lot despite having more and more automation: our expectations for a decent quality of life (housing, shopping choices, machines) have increased. Workers have become more efficient but there is much more work to be done. A lot of it is inefficiently too. I believe there are a lot of “bullshit tech jobs” (see: ad creators), and software produced with real money which really just isn’t necessary. Similarly, there are bullshit jobs in other fields (see: call centers); things like huge houses and shopping choices which aren’t necessary, and there’s a lot of waste (food, old stuff, products designed to fail), which all cause society as a whole to work much more than we really need to. But it’s not just inefficiency. There are a lot of problems we simply couldn’t tackle with old technology (be it software, hardware, chemical manufacturing, healthcare) which we can tackle now. So, better tools don’t reduce jobs, they just change how the jobs are done and what they’re for.
- pjmlp 3y agoGreat talk, and a good overview why having a better grammar and semantics on their own doesn't matter, unless the rest is also taken care of.
- AndyKelley 3y agoIf you want to dig into the economics of the "donation" model, here's a talk I did at FOSSY in September: Case Study: Zig Software Foundation by Andrew Kelley https://archive.org/details/fossy2023_Case_Study_Zig_Software_Founda https://archive.org/details/fossy2023_Case_Study_Zig_Softwar...
- practal 3y agoGreat talk, thanks for sharing! I am looking for a way to finance building and maintaining the thing I want to build, and this talk was a nice reminder that donations actually CAN work. Otherwise, VCs are interested in an "Exit" event, but what if you as the founder are not? It doesn't sound like you are interested in exiting zig any time soon, either.
- AndyKelley 3y agoThat's exactly right, and I already have eliminated that option for myself, since ZSF is a non-profit that is legally operated by a board that protects the mission statement of the organization.
- 1-more 3y agoForgive me if this is written up somewhere, but how did you find board members? And once you have a board I can see how you would govern who gets on the board, but how do you solve the bootstrapping problem going from zero to board? Again, I'm sure these are basic questions but I don't even know the terms of art to know what to search for. Also zig is cool and thank you for the technical and gubernatorial guidance you've given to other language authors all over.
- tantaman 3y agoI came to the same conclusions with my next round of projects and have sadly been keeping them closed :(
- Geron_Ashley 3y ago[flagged]
- Geron_Ashley 3y ago[flagged]
- bullen 3y agoThis just convinces me further that the smart phone delayed humans 15 years. They are the problem.