Live data from Hacker News

Systems Programming with Racket

docs.racket-lang.org

21–24 of 24 posts

Re: Systems Programming with Racket

#21
post #11
post #3

Looks like Lisp's back on the menu boys

Always has been. Guile is absolutely amazing these days: it has a JIT for speed, superb POSIX support, plus you can dynamic-link in any functionality you need from a C library.

What are the pros of using Guile instead of Racket? I've just started with scheme rather recently.

Or what kind of things do you do with it?

Re: Systems Programming with Racket

#22
post #21
post #11

Earlier quoted context omitted.

Always has been. Guile is absolutely amazing these days: it has a JIT for speed, superb POSIX support, plus you can dynamic-link in any functionality you need from a C library.

What are the pros of using Guile instead of Racket? I've just started with scheme rather recently. Or what kind of things do you do with it?

Racket is kind of its own ecosystem. Guile is much more intended to integrate well with a POSIX-like environment, and the GNU system in particular. I've used it for 25 years or so as a scripting language, where other people might've used Perl or Python.

It's also more easily embeddable than Racket. Many GNU programs, including GNU Make, gdb, and GNU TeXmacs, are scriptable with an embedded Guile runtime.

Re: Systems Programming with Racket

#23
post #22
post #21

Earlier quoted context omitted.

What are the pros of using Guile instead of Racket? I've just started with scheme rather recently. Or what kind of things do you do with it?

Racket is kind of its own ecosystem. Guile is much more intended to integrate well with a POSIX-like environment, and the GNU system in particular. I've used it for 25 years or so as a scripting language, where other people might've used Perl or Python. It's also more easily embeddable than Racket. Many GNU programs, including GNU Make, gdb, and GNU TeXmacs, are scriptable with an embedded Guile runtime.

Where is the community and how is it? I've honestly found vanishingly small community for anything lisp. Generally I find 10 year old comments everywhere.

While I understand any of the relevant scheme communities will generally work/be the same, it does feel lonely. On the other hand, perhaps that's a good thing and can enable a (personal) return to the days of a single programmer.

Do you use your Guile scripts in production, alongside other engineers or is it mostly for small personal projects at home?

Re: Systems Programming with Racket

#24
post #20
post #6

Instead of that `xml` library and format, many people use the SXML format defined by Oleg Kiselyov: https://docs.racket-lang.org/sxml-intro/ SXML became the de facto standard in the Scheme community after Oleg and others developed some powerful libraries for it, starting with Oleg's SSAX parser. SXML is also better-suited to efficient manipulation of large HTML/XML when using immutable lists. Also, if you're looking…

> SXML became the de facto standard in the Scheme community Is there a good guide to this kind of stuff as someone new to Scheme? Like a community intro, showing what the core packages are etc.?

Great question. Not that I know of. (The SRFIs unfortunately aren't necessarily this.)

How it worked in the past was that people would ask or Web search as-needed, and then others would answer.

Unfortunately, with the demise of Usenet, there was fragmenting in where you had to go to ask, as a lot of people gravitated towards implementation-specific forums. For Racket (nee PLT Scheme), there was a wealth of good advise in the email lists, but at some point after hosting was moved to Google Groups, Google searches themselves seemed to stop finding many of the articles that were in Google's own archive, even when you explicitly directed the search.

I suppose the thing to do is to just ask on demand, in one of the forum for whatever implementation you're using. (The Racket community, for one, was exceedingly good at this, when I was more involved. And I suspect some of the other popular Scheme implementations are, as well.)

Post reply on HN