
Shared because of it is FP-related. Small benefit of pandemic/home-confinement, I’ve attended 4 int’l (remote) conferences in the last month. 2 were originally in-person, 2nd 2 were remote from the start. NEScala, LibrePlanet, ScalaUA and ScalaLove. While ScalaLove people are busy getting the videos from http://Twitch.tv\|Twitch.tv over to YouTube, they mentioned another one coming up: HaskellLove: https://haskell.love/ https://join.slack.com/t/haskelllove/shared_invite/zt-e5ahxcd1-c9G~AeOxbsp4mi7Nhue2XQ

Interesting - how did they work? I’m wondering if racketcon will be virtual this year??

The organizers are discussing, still.

Understandable.

Is anyone by chance up-to-date on the latest status of TCO in JavaScript? I know it was in ES6 and was implemented in but NodeJS 10, but was removed. Is there hope for some kind of TCO in Chrome at some point?

I think it’s dead in the water. Tail calls in webasm, on the other hand, are more likely.



I am still hoping for explicit tail calls to a accepted - but I haven’t heard any news for a long time.

I think Andreas’ comments on SO are still accurate, and we are unlikely to have tail calls in JS ever. The most likely route would be add them to WASM, and then that somehow creates pressure to add them to JS

I fear you are right. It’s somewhat annoying though - lots of languages compile to js these days.

@alex.r.laurie has joined the channel


What does everyone think about syntactic tail call?

woah! super cool

as one of the people who pushed hard for tail calls in the first place in JS, I’ve come around to it as an acceptable option

Is it possible to implementing TCO at source level?

that’s what stopify does

Scheme2Js has an option to perform TCO
—tailrec Transform (obvious) tail-recursive loops into ‘while’-loops.

@notjack has joined the channel