Live data from Hacker News

Racket v9.0

blog.racket-lang.org

21–30 of 129 posts

Re: Racket v9.0

#21
post #7

What is the use case for this?

I wrote custom language for designing Age of Empires 2 Random Maps. Basically AoE2 already supports it, but the underlying language is very very primitive. While I am not aware of anyone actually using what I made, it was mostly nice learning experience. https://github.com/Erbenos/aoe2-rms

Because its on top of Racket, you get usual high-level language faculties for basically free.

Re: Racket v9.0

#22
post #5

Lisp is its own meta-language, and Racket is even more meta. It's a language construction kit, essentially.

I've often heard this, but I don't really know of many people in the PL dev community who build their language in Racket. Also, I've taught a PL course and I tried to use Racket as a component, but students mostly just struggled with the LISP-y ness of it all, as they were primarily used to Java and Python. In all, I'm not really sure who Racket is for.

Idris is bootstrapped on scheme if I recall correctly

Re: Racket v9.0

#23
post #16
post #10

Earlier quoted context omitted.

Agree? Or maybe none of them graduate into a role where they get to decide what language to use?

Everyone gets to choose which language they use for their personal projects. Where are all the Racket personal projects? N.B. I say this as someone who personally contributed small fixes to Racket in the 90s (when it was called mzscheme) and 00s (when it was called PLT-Scheme).

I view Racket as an academic language used as a vehicle for education and for research. I think Racket does fine in its niche, but Racket has a lot of compelling competitors, especially for researchers and professional software engineers. Those who want a smaller Scheme can choose between plenty of implementations, and those who want a larger language can choose Common Lisp. For those who don't mind syntax different from S-expressions, there's Haskell and OCaml. Those who want access to the Java or .NET ecosystems could use Scala, Clojure, or F#.

There's nothing wrong with an academic/research language like Racket, Oberon, and Standard ML.

Re: Racket v9.0

#26
The big news here is that Racket now can run threads in parallel. While there were ways to get parallelism before (like places), this is much more lightweight and familiar. Anything that expands the areas where Racket is viable is good news to me since I like writing stuff in Racket.

Re: Racket v9.0

#27
post #11
post #7

What is the use case for this?

As the other reply said, it is general purpose. It has a focus on education tooling, and language design (languages can be easily implemented on Racket)

What are some difference between the education tooling around Racket and that which enables "industrial" applications Common Lisp is known for?

Re: Racket v9.0

#28
post #5

Lisp is its own meta-language, and Racket is even more meta. It's a language construction kit, essentially.

I've often heard this, but I don't really know of many people in the PL dev community who build their language in Racket. Also, I've taught a PL course and I tried to use Racket as a component, but students mostly just struggled with the LISP-y ness of it all, as they were primarily used to Java and Python. In all, I'm not really sure who Racket is for.

fyi https://blog.cloudflare.com/topaz-policy-engine-design/

Re: Racket v9.0

#29
post #20

Earlier quoted context omitted.

And all of them agrees to never use it after university, which is quite telling.

I admit I'm one of those students who never used Racket in a non-academic setting (but mostly because I needed to contribute to already-existing projects written in different languages), and I was taught Racket from one of its main contributors, John Clements at Cal Poly San Luis Obispo. However, learning Racket planted a seed in me that would later grow into a love of programming languages beyond industry-standard i…

To be fair, "write an interpreter for a subset of scheme" is a core use case for lisp-family languages.

If it had been,"write a real-time driver for a memory-limited piece of hardware", you may have had a different preference.

Re: Racket v9.0

#30
I first experimented with Lisp back in the mid-80’s, and have returned to it time and again—not as a language for serious projects, but just as a way of learning new techniques and new ways to think about writing software. I’ve tried using Racket on a number of occasions going back to way before it was called that, and something about the software just puts me off. Perhaps I could get past that if I stuck with it, but I just can’t see myself writing a large project using Racket.
Post reply on HN