News for hackers. Stuff that matters.
Re:There's still no silver bullet by c_crank on Tuesday June 27, 2023 @12:44PM (#36495368)
Gradual improvements are the finest quality coffee for a programmer's mug. I would quite enjoy a future of writing clean, procedural programs with an improved C standard, VMs that are cleaner and easier to set up, and the latest edition of vanillajs
Re:There's still no silver bullet by bitwize on Tuesday June 27, 2023 @02:09PM (#36496573)
If you want to write clean procedural programs with an improvement over C, you know where to find Free Pascal :)
Re:There's still no silver bullet by c_crank on Tuesday June 27, 2023 @02:15PM (#36496642)
I actually don't know where to find Free Pascal - the question of which kind of Pascal and which compiler / build environment to use always seemed leery for someone looking for a Better C type language.
Re:There's still no silver bullet by bitwize on Tuesday June 27, 2023 @04:00PM (#36497915)
https://www.freepascal.org/

It's also likely in your favorite distro's repo.

Among Pascal fans, Free Pascal is generally considered "the way" because it's closest to Turbo Pascal/Delphi.

Re:There's still no silver bullet by AstralStorm on Tuesday June 27, 2023 @04:08PM (#36498003)
It is an Object Pascal (8 I believe?) implementation - has a backwards compatible unextended mode that matches Delphi. It does have a few extras of its own, especially improved assembly and C integrations.

Lazarus is the open Delphi libraries implementation that uses it.

Re:There's still no silver bullet by erichocean on Tuesday June 27, 2023 @03:33PM (#36497587)
> I would quite enjoy a future of writing clean, procedural programs with an improved C standard

That would look a lot like the Zig language, it's delightful to use.

What Rust is to C++, Zig is to C.

Re:There's still no silver bullet by einpoklum on Tuesday June 27, 2023 @03:53PM (#36497812)
> What Rust is to C++, Zig is to C.

No, they don't relate at all in the same way. (And that's not to mention the lack of consensus about what Rust is to C++...)

That being said - Zig is quite the interesting language.

Re:There's still no silver bullet by Karrot_Kream on Tuesday June 27, 2023 @05:59PM (#36499244)
At a 5000 ft level, I think it makes sense. C++ strives for zero-cost abstractions and lots of complexity with a side effect of making development more tractable for large teams with varying levels of familiarity with the codebase. Rust does the same thing, but uses different tools and levels.

C has much lower language complexity but also requires longer onboarding times for engineers new to a project, at the cost of some sharp footguns that an experienced practitioner can avoid. Zig relative to Rust falls closer to this than a zero-cost abstraction based high-complexity language.

Obviously the devil is in the details and Zig and C are very different languages, but I think the analogy stands well.