Hacker News new | ask | show | jobs
by gus_massa 958 days ago
Thanks for the reply! Sorry for the delay.

I agree that sometimes the docs of Racket are complete but too short. When I had to write code to download a webpage, I had to guess how to use the 10 arguments of the functions, in particular how to split https://www.example.com/here/thispage.html I think that the docs of PHP has a huge collection of user submitted examples, that sometimes are good and sometimes are bad, but most of the times there is one that saves you a lot of time.

Porting Racket to the the CLR and BEAM (and JVM) would be nice. I'm not sure the garbage collectors have all the necessary support for weird stuff like weak boxes and ephemerons. IIRC ephemerons were backported from the Racket fork to Chez Scheme a few years ago.

A Jupyter-like interface would be nice. My wife is using Python in Google Colab an she loves it. About the Racket kernel in Polyglot: Should it be written in some CLR language or it can be a thin wrapper around the main Racket executable?

Edit:

I searched in Discourse, and I found these two posts about using Racket in Jupyter.

https://racket.discourse.group/t/racket-meet-up-saturday-7-m...

https://racket.discourse.group/t/running-racket-in-the-cloud...

1 comments

It's been a bit since I looked at this last, but the notebook kernel would be written in a .NET language but can freely defer to whatever else underneath the hood. So F# could provide the glue to the notebook interface while deferring to some Racket server, such as a REPL server. I might investigate this myself.
If you ever decide to try, please post it in the Discourse group. People will be happy to heard about it and perhaps someone may help.

(I'm too busy to help just now, and I never made the VB6 -> VB.net transition.)