News for hackers. Stuff that matters.
Re:Deep Learning in JavaScript by sroussey on Thursday March 28, 2024 @09:38PM (#39859637)
Agreed. My suggestion is for Bun to do that since they are already transforming typescript to JS.

But you can do it β€”- there a babel plugin in the TC39 proposal:

https://github.com/tc39/proposal-operator-overloading

Re:Deep Learning in JavaScript by csjh on Friday March 29, 2024 @01:15AM (#39860950)
I'm glad that proposal was withdrawn; it would've been by far, in my opinion, the worst implementation of operator overloading, in any (mainstream) language
Re:Deep Learning in JavaScript by sroussey on Friday March 29, 2024 @04:07PM (#39868447)
I had glanced through it a long time ago. Maybe it’s time for someone to create a new (and better!) proposal.