Live data from Hacker News

Racket 7.3

download.racket-lang.org

1–10 of 58 posts

Re: Racket 7.3

#2
And yet I'm still too stupid to understand the macro system. Oh well.

I also didn't know there was a Chez version. Racket already has a native AOT compiler, right? What would the advantage be to run on Chez, faster or smaller compiled code?

Re: Racket 7.3

#3
post #2

And yet I'm still too stupid to understand the macro system. Oh well. I also didn't know there was a Chez version. Racket already has a native AOT compiler, right? What would the advantage be to run on Chez, faster or smaller compiled code?

See http://blog.racket-lang.org/2019/01/racket-on-chez-status.ht... and scroll down to “Performance of Compiled Code.” That was back in January, so things may be even better now.

Re: Racket 7.3

#4
post #2

And yet I'm still too stupid to understand the macro system. Oh well. I also didn't know there was a Chez version. Racket already has a native AOT compiler, right? What would the advantage be to run on Chez, faster or smaller compiled code?

Is it the general Scheme syntax-rules macros that you're struggling with? Or something unique to Racket? (which I haven't used)

If it's the former, I found this little article helpful when I was new to Scheme:

http://www.willdonnelly.net/blog/scheme-syntax-rules/

Re: Racket 7.3

#5
post #2

And yet I'm still too stupid to understand the macro system. Oh well. I also didn't know there was a Chez version. Racket already has a native AOT compiler, right? What would the advantage be to run on Chez, faster or smaller compiled code?

Getting rid of C dependency and bootstrap Racket in Scheme.

Re: Racket 7.3

#6
post #2

And yet I'm still too stupid to understand the macro system. Oh well. I also didn't know there was a Chez version. Racket already has a native AOT compiler, right? What would the advantage be to run on Chez, faster or smaller compiled code?

Try out this guide perhaps: http://www.greghendershott.com/fear-of-macros/

Re: Racket 7.3

#7
post #2

And yet I'm still too stupid to understand the macro system. Oh well. I also didn't know there was a Chez version. Racket already has a native AOT compiler, right? What would the advantage be to run on Chez, faster or smaller compiled code?

[deleted]

Re: Racket 7.3

#8
post #2

And yet I'm still too stupid to understand the macro system. Oh well. I also didn't know there was a Chez version. Racket already has a native AOT compiler, right? What would the advantage be to run on Chez, faster or smaller compiled code?

[deleted]

Re: Racket 7.3

#9
post #2

And yet I'm still too stupid to understand the macro system. Oh well. I also didn't know there was a Chez version. Racket already has a native AOT compiler, right? What would the advantage be to run on Chez, faster or smaller compiled code?

Is it the general Scheme syntax-rules macros that you're struggling with? Or something unique to Racket? (which I haven't used) If it's the former, I found this little article helpful when I was new to Scheme: http://www.willdonnelly.net/blog/scheme-syntax-rules/

For Racket specific macro tooling syntax-parse [0] in combination with syntax classes is usually the suggested starting point. Hygenic with pattern matching and a bunch of other features for parsing s-expression grammars. As mentioned down-thread Greg Hendershott's Fear of Macros [1] is a good starting point for a number of folks. The curriculum for Racket School 2018 [2] also has exercises that help introduce the syntax-parse tooling.

0. https://docs.racket-lang.org/syntax/Parsing_Syntax.html 1. https://www.greghendershott.com/fear-of-macros/ 2. https://summer-school.racket-lang.org/2018/plan/

Re: Racket 7.3

#10
post #2

And yet I'm still too stupid to understand the macro system. Oh well. I also didn't know there was a Chez version. Racket already has a native AOT compiler, right? What would the advantage be to run on Chez, faster or smaller compiled code?

Is it the general Scheme syntax-rules macros that you're struggling with? Or something unique to Racket? (which I haven't used) If it's the former, I found this little article helpful when I was new to Scheme: http://www.willdonnelly.net/blog/scheme-syntax-rules/

This is great tutorial. I used to be confused by the macros in scheme
Post reply on HN