What Could Object Pascal Look Like in 2030?
Hacker News

What Could Object Pascal Look Like in 2030?

Introduction

Thanks for coming. I'm Dave Millington. I work at RemObjects, and we want to look at a potential vision for Pascal, starting with where it is now and what it could be in a few years' time.

We have a lot to get through. This deck has the most slides of any I have ever put together, and we have an hour. And I hope that you will find it challenging, but inspirational and hopeful.

We will not change the language, because Pascal has proven to have all of the characteristics it needs.

This is a statement that I read a few weeks ago. I was wondering if we just have a straw poll. There are three major Pascals: There's RemObjects Oxygene that I work on, Free Pascal, and Delphi.

Who thinks that Oxygene, or someone from or related in any way to Oxygene, said this? [no apparent votes]

Who reckons that someone from Free Pascal said this? Two, three, four. [counting votes]

Who reckons someone from Delphi said this? Okay, that's 12 or something. [by recollection, a clear majority of the votes]

It was in fact someone associated with Free Pascal. I'm avoiding all names here because I want to talk about the culture of Pascal. I do not want to ever mention any individual.

But this statement, 'We will not change the language, because Pascal has proven to have all the characteristics it needs,' I read a few weeks ago in the general roadmap for Free Pascal and Lazarus from 2024.

Now, this talk looks at every Pascal, including Delphi, Free Pascal, and Oxygene, where they are today and where Pascal could go. It's not really about any of them specifically. It's about Pascal in general.

And to tell you where this is going, at RemObjects, we think that the principles, the characteristics behind a language can be timeless and they can be wise, but that doesn't mean that the current answers in that language are the final answers.

Now, I'm quoting that sentence not because of which of the Pascals it's about, but because of the question it poses, which is that: if Pascal has all the characteristics it needs, then needs for what?

Another Community: Haskell

And Pascal is not the only programming community asking. In fact, right now there are several programming communities facing their own questions. I'm not even going to get into what's going on in C++ right now, but I'm going to go look at Haskell.

Haskell, many of you will have heard of it. It's a functional programming language. It's slightly older than Delphi, but younger than Pascal itself. It is extremely influential. Many of the concepts that you will have come across in other languages came from Haskell.

And in July this year, Avi Press, who was a member of the Haskell Foundation board and the Haskell committee, and who described himself as a 'huge fan' of Haskell, describing it as, and this is a massive quote, 'undeniably the most important programming language in my life,' wrote the following about stopping using Haskell.

He began a blog with, 'This is a hard post to write,' and 'I prefer to build and promote,' but that he 'cares about Haskell enough to be honest about why Scarf,' that's his company, he's the founder and CEO, 'has reluctantly moved away from it, and in the hopes that sways people in the community to take this feedback seriously.'

You know, when you read a blog like that, you're about to read something serious. Let's see what he wrote.

He wrote, of the Haskell ecosystem problem, his words, 'Haskell is in real danger.' Though plenty of people in the Haskell world who want Haskell to move faster, but net net, the progress of the Haskell toolchain ecosystem is not where I think it needs to be. I want Haskell to grow. I want it to matter. I want the things Haskell is good at to be part of the next era of software. But these things have to be a priority he said.

From what I can see, Haskell's growth looks modest at best compared to what is happening elsewhere. And directionally, the story is not hard to see. A lot of developer ecosystems are accelerating in the AI era, and Haskell does not feel like one of them.

This is a man who is deeply worried. The opportunity cost of this stagnation... he is not pulling words, has never been higher. And then he ends, the answer is to make Haskell the best version of itself.

Now, I love this quote. 'I want Haskell to grow, and I want it to matter.' And I think that we, and certainly I and RemObjects are here today for the same reason about Pascal. We want it to grow, and we want it to matter.

And the question that we've been thinking about is, could we, the Pascal community, have a similar conversation? The way he wrote it, I'm reading emotion into text, but I think he had a lot of love behind that post and quite a lot of grief. And, you know, his honesty is healthy, as it is in any community, and his love for it is what keeps him wanting growth, and the same for us.

But we turn to the question, could we have the same conversation about Pascal? Now, there is a new clear direction for Haskell after this, and remember that was written by someone very influential in their community, because just a couple of months later, about 10 days ago now, the Haskell Foundation responded with what they call a technical vision.

It's not only technical, though. It talks about non-technical things, about onboarding and beginners. And they begin, we believe that Haskell is awesome and it can provide great value. And then they talk about how it's good for humans, how it's good for reviewing. How there's no better language of human in the loop.

And they've identified an answer here to the AI problem of how a language and its programmers belong in the era of AI. They have an answer. They talk about beginners, how they want to change the onboarding experience, and they talk about the productivity vision. They talk about the iteration of Go, the debugging of C#, and the onboarding experience of Rust. And they say they want to build a reputation for Haskell as a modern language.

I love this. And what I particularly love is I think that Haskell responded and is moving forward, and I think that is fantastic. Good for them.

And I asked, could we have a similar conversation about Pascal? And I think that many people who have used Pascal have used it for a very long time. You know, we know it and we love it. So the question we need to ask is also, what about growth? Growth of Pascal.

You see, growth comes from outside. It has to, by definition. It comes from other people who then join something, and then the number of people in general is larger, comes from outside. What would make an outsider to our community -- all of us who have used Pascal for a long time -- what would make an outsider write a brand new app in Pascal? I feel this is a key question.

Now look, asking these questions, I share that I feel a little nervous, and I want to point out that I think critique is very different from criticism. And Olaf Monien, who is an MVP, just a few days ago, encountered this. He wrote a blog post that, in his terms, was 'all real.' But that he then had to respond to, he said it 'caused quite a stir', and apparently also 'a few unhealthy blood pressure readings'.

Now look, I empathise. I empathise with the people responding there. They read something they didn't like. And I empathise with Olaf, who wrote something not wanting a negative response, but something that he felt was real. And it's very human. Both those responses are very human. Human to be defensive, and human to want to say things and move things forward.

And I have a feeling that as Pascal may have gotten smaller, we might be a little more sensitive in how we react to things. But Olaf responded with something very wise, and I messaged him to ask if I could quote him. He doesn't know the contents of this talk. I'm not saying that he is behind this talk. I just messaged him and said, Mate, you responded really wisely. Can I quote you? And he said, We need to be careful in every area not to sit in a bubble and to forget to look at what is happening around us. Outside, a lot has changed in the last 10 years, whether in .NET, TypeScript, or languages like Go and Rust. We should look closely at what happens there instead of simply saying that [our Pascal] is better anyway, which is stay alert. Keep checking in our own development. What alternatives exist and whether they do something better.

Then he said that, it's an opportunity for [vendor] and for us as a community. [Wording adapted on the slides.]

Look, I wrote earlier that honesty is healthy in any community and that love is what keeps us wanting growth, and I really believe both of those. And he wrote, 'We need to be careful not to sit in a bubble, that we should look carefully.' And he said two words that I really like, which are 'opportunity' and 'community.'

You see, I feel the Pascal community is very strong. Everyone knows each other, whichever Pascal we use. And this talk does address problems before talking about solutions, but it does talk about solutions. And most of all, it is a talk about opportunity and community.

Now, I would not be here today if I did not believe in Pascal as a language, as a language I have used for a quarter of a century, and I love it. And I believe in Pascal, and both that it can grow and that it should grow.

What Does an Outsider See?

So I'm going to return to the question: what does an outsider see when they look at Pascal? So I wanted to get some data, and I chose 11 other languages to compare against. For time, I won't list them all, but I looked at a bunch of mainstream ones.

You know, C#, obviously very comparable to Delphi for obvious reasons. C++, probably the most powerful beast of a language out there today. Swift, you know, has Apple behind it, now open source, very modern and well known. Rust, probably the language that people are, in a sense, most excited about because of how it handles particular important problems. Go, which is light and modern and reminds me of Pascal in many ways. And that includes some really big companies and open source.

Some niche languages. Zig, which is really high-salience language, and I'll get to that in a moment, but one that people often hear about and know about even though almost no one uses it. It gets people excited. Nim, which is very under the radar, but it's a very Pascal-like language. It's been strongly inspired by the whole Pascal, Modula, Oberon history and by Niklaus Wirth. It's a very interesting language. And D, which is pre-Rust competitor to C++

And some legacy languages, but all of which still have updates. They're all still used. Ada, which I really didn't know much about before this talk, but is quite Pascal-like, and it's used for safety-critical systems. It's really commonly used in the defense industry. You have to get your code right in the defense industry. COBOL, of course, which is very old from 1959, and Fortran, which I think is the world's oldest still used language today. It still is used, in fact, by some Python libraries.

I thought we can get some data against all of these, but I want to see what we're really looking for, because data on its own is useless. You need to interpret data and you need to have a framework for what you're looking at. And we wanted to find out a few things. Are people actually writing software with these languages? Is there momentum in the community? Because you can have a mature old language that is just fairly static and it's healthy, but it might not have an upwards trajectory. It might not have momentum forward. Reputation. What do people think when Pascal is mentioned? And salience. And this is an important one. When someone thinks about programming languages, is Pascal one that they remember?

Okay, are people aware that Pascal is around? Now I think of Swift here because everyone has their own tastes and preferences with programming. I'm not a particular fan of Swift, but I know that it exists, and that's the question we're asking about Pascal. And I think salience is the one that really matters because it is more important to be remembered at all than to be forgotten.

Now, two nights ago, it takes me a long time to travel here, I stopped over before catching the plane, and the evening before catching the plane, I had a beer with a friend who is a very experienced developer. I told him I was coming here and I was giving a few talks, and he asked what language, and I said Pascal, and he said, Oh, I'd forgotten that exists.

And I told him that I had a slide saying that it is more important to be remembered at all than to be forgotten. Salience means, is a language used for new things, you know, where other languages are. So if someone writes a new syntax highlighter, do they put Pascal in it because they know that Pascal exists? Okay, they might not use Pascal. But they know Pascal is there, so they will add Pascal to their new syntax highlighter.

And support for something is not the same as salience. Your presence is not the same as people actively adopting it or using it. Salience is the why. You see, if people forget that a language exists, they will never think of it when they start writing a new application. Okay, you have to be remembered.

So I'm going to look at a few things very quickly. Visibility, activity, analyzing GitHub, more activity, analyzing code tooling, and more on presence and salience. I'm going to go through this as fast as I can.

Visibility: TIOBE (and Why We Should Stop Using It!)

Mostly I want to start with TIOBE bec

Read on Hacker News ↗ ← Back to News

Comments

No comments yet. Start the discussion.