News for hackers. Stuff that matters.
Re:Prettier $20k Bounty was Claimed by afjeafaj848 on Monday November 27, 2023 @01:55PM (#38436547)
Maybe I missed it but I don't get how this improves the JS implementation

Are they planning to run Rust in the browser? Or make some sort of node module that calls down into rust?

Re:Prettier $20k Bounty was Claimed by WorldMaker on Monday November 27, 2023 @02:49PM (#38437247)
There are node modules already that call into WASM-wrapped rust. (One of the most common source map generation packages does exactly that and it is very heavily installed by a lot of frameworks and packagers today.)

I don't think prettier is intending to do that in this case, they seem to want to continue to compete as a pure JS implementation but having a "worst case, we WASM wrap biome as the future of prettier" possibility opens up future opportunities and pushes "internal" competition.

Re:Prettier $20k Bounty was Claimed by adam_arthur on Monday November 27, 2023 @01:56PM (#38436568)
Rust can run in the browser via compiling down to, and running as, WebAssembly. So I don't see why not.

Prettier is run mostly on the serverside though, not the browser. I assume supporting both is still desirable though