Hacker News new | ask | show | jobs
by kamaal 2479 days ago
Is there an update on what Racket decided to do with the proposal to deprecate the existing language syntax?

Racket was a great tool to teach people lisp and initiate them into that paradigm.

Is the main syntax still good for long term use?

1 comments

They changed the name of the project from Racket 2 to Rhombus to make it clear that it was not about replacing Racket.

And even in the original announcment it was stated " * `#lang racket` is not going away and will always have its current parenthesis-oriented syntax. In the same way that Racket still supports `#lang scheme` and `#lang mzscheme` and even `(module <name> mzscheme ....)` and even top-level programs, the Racket compiler and runtime system will always support `#lang racket` programs. We believe that Racket's `#lang`-based ecosystem makes it uniquely positioned for trying new language variants while preserving and building on our past investments."

They have only made that statement stronger since then.

So will the current Racket language continue to be developed, as in new features, bug fixes and regular releases after Rhombus is released?

Renaming doesn't help the case much here, if Racket's future is abandonware.

Racket’s whole schtick is that it allows for language oriented programming. Sure it’s a scheme and it has parenthesis, but a lot of languages in it’s toolkit do not. Not only that when you design a new language the reader converts your new language code into s-expressions and the expander gets it all the way to Racket code. Which is how Rhombus will more than likely work as well. So knowing #lang racket is still a requirement when creating a new language on top of the Racket VM
A bit of Googling landed me here: https://groups.google.com/forum/#!msg/racket-users/-x_M5wIht...

From there:

Phase 1: Brainstorming (months)

Phase 2: Iterative Design (years)

Phase 3: Conversion (months or years)

Phase 4: Transition (years)

I am a nobody in front of people like Matthew Flatt, but this feels like Seconds Systems Effect taken to its extreme definition: https://en.wikipedia.org/wiki/Second-system_effect

Plus as a former Perl programmer having watched Perl 5 lost almost everything, chasing a never to have come to reality Perl 6. I can say, given all this, the future of Racket as a language, for its core uses and users is pretty much dead in the years to come. Like dead totally. Racket doesn't even have as much the share of dev mind share or a resource like CPAN at its disposal. Languages like Racket will fade away into oblivion a lot more quickly.

It can be hard to see this in all the enthusiasm in the early stages of the project. But when you embark on multi year project journeys. People's priorities change, people get into health crises, lose jobs, move on to better projects, recessions happen. Core teams that started these projects change so much, newer one's pretty much give up and see no point in it after a while. Many people prefer a perfectly working tool improved over time, than a pie-in-the-sky idea that will never come to see the light of the day. While all this is happening, your existing language, libraries, dev mindshare, tooling suffers. Merely supporting small time fixes means nothing, because no one likes to use a tooling in hospice care. Your core dedicated set of users, who did most of the evangelism for your cause move on to newer tools and languages, for the obvious reasons that they don't see their future with existing tool they like, the newer one is taking for ever and isn't even the same goodness as the current one. Once you lose those users, the newer users you wish to attract from the crowd of Java and Python programmers won't even bother to try, why should they? They have something proven to work in production with tooling, libraries, books, and production success stories for decades.

That is when you realize you lost both your old and new language.

Racket was awesome for what it was. An awesome lisp, a top successor for Common Lisp and a playground for experiments and initiating people into Lisp.

It's not late. Probably it's time to stop right now.

Racket (and PLT Scheme before it) has always been a bunch of languages, keeping a few different syntaxes and semantics around isn't anything new. I don't get why having another take on the surface syntax should cause all that much anxiety.
Because you are not exactly running Rhombus as a side toy language, but as a successor to Racket. This requires Rhombus to eventually replace Racket. Anything less than this and it makes Rhombus a non-successor to Racket. While at the same time much needed resources to make Racket win, will go to making Rhombus happen. Even if Rhombus comes along, it won't have any of the current Racket goodness to begin with. Rhombus will take years to just exist. Meanwhile precious resources for improving Racket to a better Racket over the years will be taken by Rhombus.

Net result is a stagnated Racket, and a non-attractive Rhombus.

Plus C based languages have their winners already. Racket is a kind of a winner in the Lisp family. With Clojure it makes the only other choice. Now if you change the syntax, you are going after users who don't really care what you have to offer, at the same time, you are taking away what your existing users like.

Racket is not like other languages.

Racket is a language with first class support for building languages on top of it. And so no, Rhombus does not need to be a "successor" to Racket. It does not need to "replace" Racket. It will have all the current Racket goodness to begin with, because all of its semantics will come from Racket - they will be the same language. Nor will it steal valuable developer attention - a bug fixed in Rhombus is a bug fixed in Racket, anywhere except the syntax parser. They will share all core libraries. The whole point of Racket is that #langs are mutually compatible. And the stress test of using Racket in earnest for what it is actually designed for will make Racket better, not worse.

Consider PyonR [0]. This is a similar and yet much more ambitious goal than Rhombus - Python as a Racket #lang, with 100% compatibility with Racket and Python including external modules. And yet, it's a one-man project, written as a thesis and now pretty much abandoned. Writing Rhombus, a mere surface syntax for Racket, should be much easier. The hard part isn't writing it, it's deciding what it should be.

The Racket team are the only ones that I can see who are taking all the "write your own DSL" Lisp hype and actually trying to apply it in a structured way.

[0] https://github.com/pedropramos/PyonR

It seems you learned from the decline of Perl, so you have the experience of a warrior. But Rhombus represents the hope of a better future for Racket, so another step in this fight should be to embrace the future and learn from the past, I don't know how.
> chasing a never to have come to reality Perl 6

Recently, Perl 6 has indeed become a lot less real, as it has been renamed to Raku (https://raku.org using the #rakulang tag on social media). But it is still very much a real thing (with regular releases since December 2015). And it actually has its own IDE: https://commaide.com .

> I am a nobody in front of people like Matthew Flatt, but this feels like Seconds Systems Effect taken to its extreme definition:

I think you are mistaking working time for bloat; they can be inversely related; it's easier to add lots of ideas, it's harder to pare things down.

> Plus as a former Perl programmer having watched Perl 5 lost almost everything, chasing a never to have come to reality Perl 6. I can say, given all this, the future of Racket as a language, for its core uses and users is pretty much dead in the years to come. Like dead totally.

This isn't Perl 6.

> Many people prefer a perfectly working tool improved over time, than a pie-in-the-sky idea that will never come to see the light of the day.

Pretty much everyone does, but Racket remains the former. Neither the schedule nor the ambition of new Racket development has been scaled back for Rhombus. It's not even clear that they would once Rhombus was generally available and hosting Racket, though there would also be a place for improvements that didn't fit in Racket.

> This isn't Perl 6.

Indeed. And even Perl 6 is not Perl 6 anymore: it has been renamed to Raku (https://raku.org using the #rakulang tag on social media).

> a top successor for Common Lisp

I know that some well-known Lisp hackers left for Racket, but I've never been clear on how it is really a successor. It does have a great community and ecosystem, but it inherits a ton of the mistakes of Scheme, is unspecified and as such is susceptible to derailments like Rhombus. I think that performance is not that great either, which isn't necessarily a huge deal for many problems but is for some.

What I am genuinely curious about is: from your point of view, what makes Racket a preferable successor to Lisp (which can't easily be grafted into a Lisp environment)? The two things which leap to my mind are the sane read case and the community mindset.

I also think that language oriented programming like in Racket is overrated. As a Lisp programmer I'm happy to have different paradigms integrated into one language, and not have them added as 'languages'. For some amount of languages it makes sense, but generally it's more like an academic exercise and makes the whole machinery more complicated - which for many use cases is not needed. Working on a hosted platform with deep integration into the host language environment was during the last years preferred by a lot more users - that's more compatible and reusable (since more reusable libraries work).
> An awesome lisp, a top successor for Common Lisp and a playground for experiments and initiating people into Lisp.

As good as its development environment might be for learning purposes and research, it is no match for neither LispWorks nor Allegro Common Lisp, so it is hard to be a top successor.

In fact there isn't a single commercial Scheme has successful in the market as those Lisp environments, with exception of ChezScheme, used commercially by Cisco.

Not to be rude, but apart from Clojure, other Lisps are non-existent in production compared to the software world at large.

One could even consider Scheme as more widely used than CL.

The biggest production use case for Lisp today is to learn Lisp.

The biggest use case for Scheme, CL, or Racket is to use to learn Lisp. Racket that way was quite successful.

With all this going on now. Scheme is the only serious Lisp for learning purposes. What new in sights will Rhombus provide here? The biggest use case for trying out scheme was while working through books like SICP.

> Clojure, other Lisps are non-existent in production compared to the software world at large

Clojure is also non-existent in production to the software world at large.

The latest Clojure survey had roughly 2500 people giving feedback. That's a drop in the ocean of many millions of Java, C, C++, C#, Python and Javascript programmers. Rough estimates say that there are >7 million Java programmers world-wide.

https://www.zdnet.com/article/programming-languages-python-d...

The number of Clojure programmers is probably less than 1/1000ths of that.

Except that they are, looking for a job in Porto/Lisbon? Syscog is always looking for good Common Lisp coders.

The fact that CL is used enough to keep two commercial vendors in business, shows how relevant it still is across some industries, even if doesn't do newspaper headlines.

More so than ever Scheme ever was.

I wish I could argue against your reasoning, but sadly I think you are totally correct. Here's to hoping we are both proven wrong.
really, if they are concerned about the 'teaching' aspect and parens being less new user friendly, why not just do a LUA-on-racket, maybe with some small extensions for the 'teaching' language - LUA maps to scheme pretty well, and its already 'done'.
Because the teaching isn’t just about the syntax. It’s the concepts. How to Design Programs, does exactly what your says, and it also teaches test driven development. A guide to Racket with pictures allows you to leverage DrRacket’s ability to display graphics inline to become familiar with programming in a more visual way, Making a language in an hour shows you how languages are parsed, and how Racket makes it easier to design your own. All of these things introduce you to concepts and ideas that are useful even if you forget everything about Racket the Language later on.