samth changed the topic of #racket to: Racket v7.7 has been released: https://blog.racket-lang.org/2020/05/racket-v7-7.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
sonata has quit [Ping timeout: 256 seconds]
sonata has joined #racket
libertyprime has quit [Ping timeout: 256 seconds]
catonano has quit [Ping timeout: 264 seconds]
tilpner_ has joined #racket
tilpner has quit [Ping timeout: 246 seconds]
tilpner_ is now known as tilpner
sonata has quit [Ping timeout: 256 seconds]
<nisstyre> > (for/list ([_ (in-range 10)]) 4)
<nisstyre> or just (build-list 10 (const 4))
<nisstyre> probably that's the right way
<nisstyre> but neither of those will do the same thing as [0]*n in python
<nisstyre> because it's creating copies, not references to the same value
sonata has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
<aaaaaa> I want to write "(foldl or #f l)", but bad syntax. Have to "(foldl (lambda (x y) (or x y)) #f l)". Why not?
libertyprime has joined #racket
orivej has joined #racket
jellie has joined #racket
jellie has quit [Client Quit]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #racket
<dzoe> samth: of course I am not sure about how the set! hack affects everything, but that's how I get the disassembly without much hassle there
<dzoe> samth: for the count1 function, everything gets unboxed and the loop does not allocate memory at all
Lowl3v3l has quit [Remote host closed the connection]
<dzoe> samth: with count2, where I am adding step values to u and v variables, everything is boxed and unboxed and allocated in each and every iteration
<dzoe> I am talking about latest CS master, of course ...
Lowl3v3l has joined #racket
narimiran has joined #racket
nebunez has quit [Ping timeout: 272 seconds]
<samth> aaaaaa: or is a macro, not a function
<samth> dzoe: I would expect that the set! is potentially problematic
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #racket
sonata has quit [Ping timeout: 256 seconds]
<dzoe> samth: but without that I am unable to disassemble the loop
<dzoe> And measurements suggest, that no unboxing happens really :)
<dzoe> I must probably look into extending your disassemble to support "follow call" feature
<phoe> hello, #racket
<phoe> I am organizing a series of Online Lisp Meets that started after this year's electronic European Lisp Symposium - the announcement mailing is at https://mailman.common-lisp.net/pipermail/online-lisp-meets/ and the talk videos so far have been posted at https://www.youtube.com/channel/UCymtXMj1M7cKiV9TKLoTtEg
<phoe> so far the talks have been mostly utilizing Common Lisp for the practical parts (I guess because I am a CL programmer and most of the Lisp people I know are CL people), but obviously that isn't the idea behind ELS nor I want that to be the idea behind this post-ELS online series - I've wanted this place to be a meeting grounds for people doing more Lisp dialects than just CL, and the people who've been
<phoe> joining us on Twitch so far share the same wishes
<phoe> so, since I'm already doing a wall of text - please let me know if you're working on something related to Lisp in any any way and you consider it interesting enough to record a video about it, anywhere from a few minutes to ~1h. I've decided to have a go at the meeting series to provide a place where the wider Lisp community can meet and talk and where the ideas can mix and breed, and so far it's been
<phoe> well-received on #lisp - it's just that it's comfortable to post stuff there because it's my online home, much unlike e.g. here on #racket
<phoe> please feel free to throw your ideas and videos at me, and I'll be happy to host them on Twitch for everyone to see - thanks a lot. ;; wall of text ends here
benaiah has quit [Read error: Connection reset by peer]
benaiah has joined #racket
Sgeo has quit [Read error: Connection reset by peer]
kinope has joined #racket
kinope has left #racket [#racket]
jellie has joined #racket
jellie has quit [Read error: Connection reset by peer]
jellie has joined #racket
jellie has quit [Ping timeout: 240 seconds]
jellie has joined #racket
<dzoe> phoe: I'd address racket-users@ ML with this - not everyone who might want to be involved is here and I can think of at least few people that might be interested and read the ML
<phoe> dzoe: OK - what is the mailing list server?
<phoe> I found users@racket-lang.org over at https://lists.racket-lang.org/
<dzoe> Oh
<dzoe> it is racket-users@googlegroups.com
<phoe> gasp
<dzoe> But I am not a Google user, so I am subscribed the old-fashioned way.
<phoe> OK - I'll use that one. Thanks!
jellie has quit [Quit: WeeChat 2.8]
libertyprime has quit [Ping timeout: 256 seconds]
libertyprime has joined #racket
libertyprime has quit [Ping timeout: 258 seconds]
libertyprime has joined #racket
libertyprime has quit [Ping timeout: 272 seconds]
libertyprime has joined #racket
<samth> dzoe: did you try just lifting it out to the top level?
<phoe> dzoe: posted, thank you.
catonano has joined #racket
<dzoe> samth: making the loop a top level procedure with tail-call
<dzoe> ?
<dzoe> Because just lifting the loop does not allow me to disassemble it
<samth> right
<dzoe> Btw, those safe-fl+ and other tricks are Matthew's suggestions and they seem to match the np-unbox-fp-vars! pass
<dzoe> Although it seems to me that let loop will be treated differently than the tail-recursive function.
<dzoe> Although there are cases for calls as well ... alright - I'll re-test.
<dzoe> That's a good idea anyway.
<samth> dzoe: let loop just expands to exactly the code you would write
<samth> the only difference is passing in the free variables vs referencing them from the outer environment
<dzoe> samth: I know, but it looks like the np-unbox-fp-vars! stage is somewhere in between, really I am not fully accustomed to the whole cpnanopass.ss details (but I am working on that)
badkins has joined #racket
nikita` has joined #racket
libertyprime has quit [Ping timeout: 258 seconds]
libertyprime has joined #racket