Re: [racket-users] Racket BC versus CS unsafe flonums

2020-11-06 Thread Matthew Flatt
At Fri, 6 Nov 2020 20:14:51 +0100, Dominik Pantůček wrote: > I assume that CS' unsafe-flvector-set! is actually pretty safe when it > comes to flonum-convertible numbers. It might be a bit faster because it > lacks the contract, but definitely it is not a "low level" variant. Hm, right --- it's im

[racket-users] Racket BC versus CS unsafe flonums

2020-11-06 Thread Dominik Pantůček
Hello Racketeers, going through some more possible optimizations of my side projects, I encountered a different behavior of unsafe-flvector-set! between BC and CS implementations: CUT HERE #lang racket (require racket/unsafe/ops racket/flonum) (define flv (make-flvector 10))

Re: [racket-users] cross-module `error` changed?

2020-11-06 Thread Sorawee Porncharoenwase
This is the same problem as https://github.com/racket/racket/issues/3355. It's already been fixed in Racket 7.9. On Fri, Nov 6, 2020 at 5:30 AM Shriram Krishnamurthi wrote: > Has something changed in how `error` works across modules? This code that > I used last year without trouble seems to run

[racket-users] cross-module `error` changed?

2020-11-06 Thread Shriram Krishnamurthi
Has something changed in how `error` works across modules? This code that I used last year without trouble seems to run into trouble now. Here's the code all in one module: #lang racket (provide yield resume) (define resumer #f) (define (yield) (let/cc k (set! resumer k) (error 'yie