News for hackers. Stuff that matters.
Re:Stop Building on Corporate-Controlled Languages by shadowgovt on Wednesday January 18, 2023 @12:15PM (#34429593)
I don't think it's a platform problem... It's a money problem.

I've got a toy language I've built at home for my own reasons. Lots of developers do.

The difference (especially in these modern times) between my toy and Rob Pike's toy is that Rob is paid by Google to develop it, hammer out the details, work out the bugs, and support it. As are the whole team Google dedicated to it.

Some languages get supported by volunteer armies (Lua comes to mind, last I checked), but TypeScript, Go, and Rust are supported / maintained by corporate money and it's hard to compete with that because a corporation can throw money at a language that isn't done yet while it's harder to get volunteers excited about a broken toolset.

Re:Stop Building on Corporate-Controlled Languages by nandalism on Wednesday January 18, 2023 @01:01PM (#34430353)
I constantly hear that "we can't do it without corporations" and yet there are so many counter examples.

Most of the corporations were built on free languages and ecosystems which existed before they did.

Re:Stop Building on Corporate-Controlled Languages by mattgreenrocks on Wednesday January 18, 2023 @01:40PM (#34430957)
There's been a shift away from vague distrust of corporations (think Slashdot) to full-on embrace. The fallout from that is we can't imagine platforms that don't require tens of millions of dollars to bootstrap, and we cling to the ones we have because they're so expensive.

Too big to fail is not the hacker ideology I grew up with. Maybe that's gone now.

Re:Stop Building on Corporate-Controlled Languages by shadowgovt on Wednesday January 18, 2023 @01:47PM (#34431035)
There's very little in the open source space that competes with, for example, npm + TypeScript + VSCode for usability (where "usability" here runs the gamut from package / dependency management to code comprehension / documentation / refactoring to debugging).

That kind of polished integration often costs money. In contrast, in the open source world we limped along with gcc + gdb for decades until Clang was able to force the issue (which was funded by Apple, Google, Microsoft, ARM, Sony, Intel, and AMD).

Re:Stop Building on Corporate-Controlled Languages by OkayPhysicist on Wednesday January 18, 2023 @02:06PM (#34431357)
That strongly depends on your definition of "usability". If it means appealing to the lowest common denominator, that's probably fair. Open source software tends to lean technical, because it's made by technical people for themselves. If it means being useful to the people who use it, then I don't think your argument holds water. NeoVim and Emacs at least fairly compete with VSCode, npm is not at all special in the world of package management (Julia's Pkg and Elixir's Hex come to mind as OSS superior offerings), and the world of programming languages is chock full of better languages.

To directly counter your "npm + TypeScript + VSCode", I counter with "Hex + Elixir + NeoVim".

Re:Stop Building on Corporate-Controlled Languages by shadowgovt on Wednesday January 18, 2023 @02:25PM (#34431644)
> If it means being useful to the people who use it, then I don't think your argument holds water

I recently worked on a project involving a couple Docker containers, one of which wraps a Postgres DB and the other extends it.

Some of the features of the extension are broken because the Postgres maintainers changed something key in their Docker image (they disabled the DB listening on localhost) and the scripts the extension generates assume localhost is accessible.

In the (volunteer, free) open source ecosystem, nobody is paid to have that be their problem to solve and so problems like that, to my observation, rarely get solved because these two groups are unrelated to each other and it's nobody's job to make sure "the whole offering" is easy to use.

(And as an ardent and frequent user of Emacs, I simply must see the config file someone claims to have put together that competes with VSCode for managing TypeScript projects. That's a hard claim to swallow without evidence; I've tried, and it's extremely non-trivial. Emacs just pulled in eglot for LSP support... Not that one couldn't self-install it earlier, but every time you have to mutate a system to one-off your own solution you increase the maintenance burden of that system.)

... I'll have to carve out some time to look at Elixir. In my world, of course, "Doesn't have a tool to compile to JavaScript that has made it to v1.0 yet" is a major strike against it, but my problem domain is specific. ;)

Re:Stop Building on Corporate-Controlled Languages by UncleEntity on Wednesday January 18, 2023 @07:23PM (#34435103)
> Some of the features of the extension are broken because the Postgres maintainers changed something key in their Docker image…

I’m not trying to set the wrong tone here but… how hard is it to modify a docker image that is used as a fundamental part of a production system? There isn’t someone who’s job it is to wrangle these things?

Re:Stop Building on Corporate-Controlled Languages by shadowgovt on Wednesday January 18, 2023 @09:36PM (#34436082)
Not hard; once we knew why it broke it was easy to fix. Took half a day to figure out why it was broken though.

Key thing is: these two teams maintaining two separate Dockers aren't part of the same org, so there's no incentives to align either image to not break the other. If they were commercial entities driven by maximizing userbase or revenue, there would be reason for them to minimize breaking each other (especially if they were the same company; then someone's in charge and can tell one team or the other "Fix it or you're fired").

Re:Stop Building on Corporate-Controlled Languages by wprl on Wednesday January 18, 2023 @06:46PM (#34434796)
I found Dahl’s approach to packages with Deno very interesting. It decouples package management from the runtime’s tool chain. So a package manager isn’t needed. (Instead a proxy can be used as a cache similar to how an artifact registry would work.)
Re:Stop Building on Corporate-Controlled Languages by jimbo99912 on Wednesday January 18, 2023 @01:40PM (#34430947)
Which free languages/ecosystems? I can't really think of a major tech company where that's really true. You've got companies built on C/C++, PHP(fb), JavaScript, etc...

All of those languages and their ecosystems had major corporate backing before today's megacorps used them to get to where they are.

Re:Stop Building on Corporate-Controlled Languages by pwinnski on Wednesday January 18, 2023 @03:00PM (#34432195)
I'm not sure what you're hearing is "we can't do it without corporations" so much as it is "the ones sponsored by corporations are better."

I mean, GIMP exists, but any one of a half-dozen commercial products built by fewer people in less time are easier to use and have better feature lists. It's not that it's not possible for GIMP to be best-in-class, it's that it isn't best-in-class. (And sure, dear reader, GIMP works perfectly well for you. Great!)

Given more time, I'd love to explore the idea that "most of the corporations were built on free languages and ecosystems" given how many of the companies we're talking about today seem to have some roots in C, developed under corporate control. But definitions are everything in a statement like that, so it probably would take a lot of time to sift through and ultimately convince nobody either way.

Re:Stop Building on Corporate-Controlled Languages by mattgreenrocks on Wednesday January 18, 2023 @01:37PM (#34430900)
Google's Go team is not that large AFAIK.

It's probably my love affair with Lisp speaking, but I really think there is space for PLs to implement 80% of production-level features with 20% effort and improve slowly as they turn out to be blockers. There's also a branding thing: users who are put off by lack of corporate funding won't be working on the ground floor of building a PL anyway. That's fine.

LLVM/JVM/WASM give leverage to both indie and corporate langs. More of those types of tools are great.

Re:Stop Building on Corporate-Controlled Languages by enneff on Wednesday January 18, 2023 @02:04PM (#34431328)
The difference between your toy and Robert, Rob, and Ken’s toy is that yours was built for your own reasons and theirs was built for the purposes of software engineering at scale. Whatever your thoughts about Go suiting that purpose, that was the intent, and why they were supported by Google in doing it.