Bruno Deferrari

Results 138 comments of Bruno Deferrari

> That's what I was thinking, but the results spoke for themselves. Maybe the code getting generated was excessively noisy in some way, but I'm not sure how. There were...

Just a quick update on this. I tried the following functions: ```shen (define do-times 0 F -> done N F -> (do (F void) (do-times (- N 1) F))) (define...

On another topic, based on the code I see on `backend.js` I thought the `asX` wrappers would not be generated for this case: ```shen * M N -> (* M...

Using `const` vs IIFEs: ```shen (define let-test N -> (let N+1 (+ N 1) N+2 (+ N+1 1) N+3 (+ N+2 1) N+4 (+ N+3 1) N+5 (+ N+4 1)...

Just out of curiosity, I tried the version with the `asNumber` wrappers removed, and as you said, there is almost no runtime overhead (or not at all, because of measuring...

> But can't those Shen functions just use the [blocking I/O versions](https://nodejs.org/api/fs.html#fs_fs_writesync_fd_string_position_encoding) of the underlying platform? Just wanted to update on this, turns out I was very wrong here, it...

@jaccarmac just to discard the most basic case, what do you get from this: ``` (0-) ((+ 1) 2) 3 ```

@jaccarmac arity was added back but as you can see in that commit those two symbols were special-cased so that the init function doesn't create lambdas for them, which solves...