Live data from Hacker News

Racket v9.0

blog.racket-lang.org

31–40 of 129 posts

Re: Racket v9.0

#32
Delimited continuations as a programming construct were somewhat of interest when I learned about them, but not even my university discussed them.

I don't think I ever had a colleague that even ever heard of the concept, let alone applied it. Of the "smart people", they typically only have heard of plain continuations, if you are lucky.

The debugger in Racket was useful when I used it years ago.

Unfortunately, it's kind of difficult to beat an entire planet cranking out libraries in other languages as many interesting programs are written for an ecosystem; if 90% of your project is building FFIs to make something work, perhaps you can better just choose the language of fools dun jour.

I don't think Scheme is the most academic language, today. Such honor would go to a language supporting a computable version of homotopy types, which I would guess only 1000 people in the world would be capable of using assuming production grade implementations (of which none exist).

Re: Racket v9.0

#33
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.

You can solve the versioning problem on your GitHub page by using Nix.

Re: Racket v9.0

#36
I've wanted to try racket a few times but always found the "IDE" to be really unintuitive, clunky and weird. What gives? Is that by design or is it just that nothing better has been created so far?

Re: Racket v9.0

#37
post #11

Earlier quoted context omitted.

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?

That's a good question.

The education tooling is all optional (so their only impact is perceptual) DrRacket, teaching languages, and supporting libraries are all optional. (see Minimal Racket - just the compiler and package manager https://download.racket-lang.org/releases/9.0/#:~:text=SHA25... )

I'd like to know what tooling is missing from Racket that is available in major general purpose languages like C#, Java, or Common Lisp implementations?

Re: Racket v9.0

#38

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.

I feel like version 9 just getting parallel threads kind of contradicts the homepage when it says Racket is "Mature" and "Polished".

Re: Racket v9.0

#39
post #22

Earlier quoted context omitted.

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

it's bootstrapped off of GHC.

it was only using ChezScheme as an optimizing compiler backend.

(i created a PR to refactor their build system to reify the bootstrap process all the way down from GHC. it basically generalized the normal build workflow of Idris2 to be able to animate the entire bootstrap chain from GHC. sadly, it was pretty much ignored, and later abandoned: https://github.com/idris-lang/Idris2/pull/1990)

Re: Racket v9.0

#40
post #36

I've wanted to try racket a few times but always found the "IDE" to be really unintuitive, clunky and weird. What gives? Is that by design or is it just that nothing better has been created so far?

Go to racket-mode.com for the very nice Emacs-integration.
Post reply on HN