News for hackers. Stuff that matters.
Re:The Claro Programming Language by travisgriggs on Thursday February 29, 2024 @01:13AM (#39546809)
I went reading to see if this was some evolution of Pharo. It is not.

I paged through about 20 of the pages. Have we reached a point where “new computer language” means variation on a theme, same pigs, different lipstick? Nothing negative meant. It all looks decently thought out and pretty otherwise conventional. Kind of like yet-another-marvel-movie. It’s different, but it isn’t really.

I miss the days where “new language” meant different ideas and models. Like when it was Scheme and Forth and C++ and Pascal and Ada and ML and Fortran and Smalltalk and Lisp and Eiffel and Beta and Prolog and Self. Those were much more varied days.

Re:The Claro Programming Language by wk_end on Thursday February 29, 2024 @03:32AM (#39547497)
The universe of good - or even seemingly good - ideas may or may not be infinite, but it probably thins out as you get further away from the centre. It's unsurprising that the field would coalesce around certain demonstrably great ideas, and that revolutionary game-changers would start becoming harder and harder to find.

FWIW, even in your list you see lots of variations on themes rather that unique ideas/models. Scheme and Lisp are closely linked. Pascal and Ada and Fortran are all conceptually similar, and there's a good amount of cross-pollination between them and Beta and Eiffel and C++. Self is an evolution of Smalltalk. And so on.

Re:The Claro Programming Language by klyrs on Thursday February 29, 2024 @01:32AM (#39546892)
I dunno, @mdaniel's comment points to a potential gamechanger in the evolution of rust-inspired languages. I'm not a rust expert but fine-grain mut seems like it could reduce the performance cost of safety, or at least, make it much easier to avoid paying that cost unnecessarily.

Big motions in language theory should probably be expected to diminish in frequency as the field matures. Not every new language needs to do that. Just about every language developer has their own pet language, often more than one. It's a good thing. It's how the field advances.

Re:The Claro Programming Language by bmitc on Thursday February 29, 2024 @01:58AM (#39547003)
> It's a good thing. It's how the field advances.

I would say, generally speaking, that most new languages these days do not solve the big problems of writing software. For the most part, language level ideas that change the big picture of how one interacts with the system are few and far between, and these ideas have mostly already been discovered in older languages. New languages usually even ignore these. For example, Rust's lack of a REPL from the start. And languages like Rust are spending a lot of time refiguring out the wheel and stalling midway through when it comes to library development.

Re:The Claro Programming Language by lolinder on Thursday February 29, 2024 @05:55AM (#39548022)
A missing REPL in Rust is actually a great example of why languages ignore (some) ideas that other languages have.

A programming language is defined as much by what it chooses not to include as by what it chooses to include. Functional languages choose to not include mutation and statements, but we don't complain about them "ignoring" those features, it's a very intentional decision to drop them. Golang looked at exceptions and decided to not include them. Not every language should have every feature, both from a practical perspective (how would you maintain such a language?) and an ergonomic one (how would you work in such a language?).

Rust's lack of a REPL wasn't just them ignoring an important innovation, it was them choosing to not implement a feature that they know their primary audience won't use and that doesn't do much to help in the compiler-centric development flow that they're working on supporting. Rust doesn't have a REPL because REPL-oriented development doesn't really suit Rust, not because they forgot that REPLs are a thing.

Re:The Claro Programming Language by bmitc on Thursday February 29, 2024 @05:04PM (#39555816)
> Rust's lack of a REPL wasn't just them ignoring an important innovation, it was them choosing to not implement a feature that they know their primary audience won't use

Rust moving away from its more ML-leaning beginnings is a downside, to me at least.

Re:The Claro Programming Language by lolinder on Thursday February 29, 2024 @10:29PM (#39558235)
Sure, but it was a conscious choice to do so, and Rust is actually a terrible example of a language that doesn't provide anything new.

Rust managed to normalize higher order functions in the systems space, provide a compelling answer for high performance memory safety, and mount the first successful assault on the C/C++ duopoly since C++ was conceived. That's a pretty impressive track record for disruption, and discounting it because it doesn't have enormous groundbreaking ideas and it doesn't have a REPL is pretty short-sighted.

Rust succeeded in pushing back the Overton window of programming languages because it didn't try to innovate in places that didn't matter. A more radical language might be more aesthetically appealing to someone like you but won't change the experiences of any significant number of developers in their day to day work the way Rust has.

Re:The Claro Programming Language by mirpa on Thursday February 29, 2024 @08:53AM (#39549287)
Interaction between lifetimes in REPL would probably diminish any advantages REPL has to offer. REPL is easy to do in GC languages, trade off Rust made by choosing not to use GC. Best next thing you can use are tests which are part of Rust's tooling.
Re:The Claro Programming Language by Garlef on Thursday February 29, 2024 @01:23AM (#39546851)
Check out Unison and Winglang.
Re:The Claro Programming Language by tasuki on Thursday February 29, 2024 @02:34AM (#39547155)
Unison is great. First time I hear about Winglang, can't be accused of boring yet-another-language!
Re:The Claro Programming Language by baranul on Thursday February 29, 2024 @05:49AM (#39548016)
Winglang has picked up a lot of contributors. Now past 85. Looks like they will have some staying power.
Re:The Claro Programming Language by torginus on Thursday February 29, 2024 @04:42AM (#39547873)
I think it's a case of deciding to focus the innovation budget somewhere else. Claro on the surface level looks a lot like Go, and it's probably intentional. Crafting an unique syntax, making sure it's efficiently parseable, and nice to use is a whole lot of effort, and the solutions we have today in this space are basically fine.

Claro seems to focus its efforts elsewhere - the main innovation seems to be its graph-based multithreaded work scheduling which is a novel concept, and has major implications for program organization, just not syntax.

Re:The Claro Programming Language by jasonsteving on Friday March 01, 2024 @01:31PM (#39565038)
Thanks, this is exactly how I'm thinking about this! And actually, beyond just having a certain "innovation budget" (which is true) I also just personally want a language that's aggressively simple (a subjective measure). I'm trying hard to make something that will fit in my head in the end.
Re:The Claro Programming Language by igouy on Thursday February 29, 2024 @12:15PM (#39552203)
Re:The Claro Programming Language by summerlight on Thursday February 29, 2024 @01:46PM (#39553300)
It's just become too expensive to develop a new language based on a novel model if you also want some serious usages since the expectation for a production level system has skyrocketed. We still have lots of new interesting languages in development (especially in academia) but those won't ever see wide adoption outside their own paper though.