Comment by andrewstuart

Comment by andrewstuart 4 hours ago

25 replies

We need Anders to make one final language.

A MINIMAL memory safe language. The less it has the better.

Rust without the crazy town complexity.

The distilled wisdom from C# and Delphi and TypeScript.

A programming language that has less instead of more.

bonesss a minute ago

On the .Net VM you’re describing F#, mostly by virtue of being based on OCaml.

Contrasted with TypeScript and C#, F# is smaller, more expressive, stricter, with mature pattern matching and type resolution baked in from the ground up. F# was years ahead of the major languages on what are increasingly looking like ‘the basics’ around ADTs and immutability in modern distributed computing. OCaml and F# capture the linguistic high points of VB, Delphi, and C# with a broad spectrum of OOP(-lite) approaches, and have led those languages by decades on functional constructs that result in meaningfully tighter code. With the benefit of hindsight some approaches clearly map better to cloud computing and system verification.

F# also sits parallel to lots of living C#, objectively we see ‘less is more’. Less code per line, fewer lines per solution, terser and more LLM-efficient language. Error rates and refactoring costs are also meaningfully better IME, but harder to quantify in general terms.

blackoil 3 hours ago

I want something that will bring productivity of Delphi to Web. May be I am old now, but I could have built applications in a weekend in Access or Visual Basic that will take weeks now in latest web stack.

tonyedgecombe 2 hours ago

>We need Anders to make one final language.

I do feel like there is a gap for a modern compiled, functional and garbage collected language.

Go isn't it because it lacks the functional constructs.

C# and Java aren't it because they depend on a VM.

Rust isn't it because of its difficult memory management.

Swift isn't it because it is so tied to Apple and their platforms.

  • rednb 2 hours ago

    What you are looking for is called F#. You get native interop with C# and access to all .NET/C# libraries as a bonus. We use it as a daily driver for a complex B2B2C cloud platform.

    • Sammi a few seconds ago

      Does it not run in a VM?

    • [removed] an hour ago
      [deleted]
  • kryptiskt 2 hours ago

    C# doesn't depend on a VM these days when it is AOT compiled. Same for Java, though C# is rather more user friendly in how it goes about it.

    • [removed] an hour ago
      [deleted]
  • jorams 18 minutes ago

    There are plenty of languages in that niche you could be using. OCaml, Haskell, F#...

aloha2436 3 hours ago

> Rust without the crazy town complexity.

To be clear, the language has a GC then?

Sharlin an hour ago

The minimal memory-safe language is Go. Turns out it's too minimal for most.

gucci-on-fleek 3 hours ago

What about Lua? The language is very minimal, memory safe, and has Pascal-like syntax just like Delphi.

appsoftware 4 hours ago

What would you take out of C# etc?

  • littlecranky67 3 hours ago

    (not OP) I would take out mostly historic stuff, that is in there for backwards compat, that has been superseeded. But this could be achieved using linters.

vaylian 4 hours ago

Sounds like golang to me

  • steve1977 2 hours ago

    Considering they used Go for the native compiler he might actually agree with you.