News for hackers. Stuff that matters.
Re:From TypeScript to ReScript by yawaramin on Wednesday January 12, 2022 @10:57AM (#29908198)
Yes--if you target Node.js which I believe is supported first-class for AWS Lambda. ReScript compiles to very clean JS that looks almost hand-written. Should be easy to deploy to a lambda.
Re:From TypeScript to ReScript by mxz3000 on Thursday January 13, 2022 @03:26AM (#29918141)
The quality of the generated JS is a bit irrelevant as they'll probably want to minify the generated JS to reduce the size of the assets and make cold starts quicker anyways.