Original Post: Using Wasm and Javascript to support OCaml on Windows
Semgrep, a super fast SAST tool, does not currently have binaries available for Windows. To overcome this limitation, the team transpiled OCaml to Javascript to run the tool in the browser using Node. They encountered issues with OS-specific nuances, JSON parsing, and a time-consuming compiler pass. After resolving these challenges, Semgrep can now be used on Windows systems with improved efficiency. The team continues to refine and optimize the tool for Windows support.
Go here to read the Original Post