4 ms·
No Windows support yet: https://github.com/returntocorp/semgrep/issues/1330 https://github.com/returntocorp/semgrep/issues/1330
by layer8 6y ago
No Windows support yet: https://github.com/returntocorp/semgrep/issues/1330 https://github.com/returntocorp/semgrep/issues/1330
- twh270 6y agoFrom the thread you link it looks like they're getting close, there's been activity in the past few days. (I'm guessing from your comment that this is important to you (i.e. WSL/Docker is not a solution).)
- IshKebab 6y agoKind of crazy that you can make a tool like this in the modern age that isn't cross platform. Maybe they just can't face the Python packaging nightmare on Windows. Also kind of surprising it's written in Python given that they advertise its speed.
- prepend 6y agoI’m always surprised at stuff I take for granted that doesn’t work on Windows. So yeah, it seems like cross-platform should be easy but since my dev environment is zsh, it’s easy for my stuff to work sort of “everywhere but Windows.” Add to that that the reason things fail on Windows is usually something Windows specific and “their fault.” So it’s unusual for me to fire up a Windows VM just to sanity check my code. And since Windows CI runners cost 2x or more, I don’t usually run cross platform CI.
- IshKebab 6y agoThis is an open source project on Github. They can use Github Actions which has free runners for Windows, Mac and Linux.
- prepend 6y agoWindows runners consume 2x minutes, Mac runners consume 10x minutes [0]. Free projects only get 2,000 minutes per month so running on all three platforms means you only get 1/13th of the minutes of only using Linux. I rarely use anything but Linux runners even on my paid projects. I like saving money, so unless I really need integration testing on Windows or Mac, I don’t do it. [0] https://docs.github.com/en/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions https://docs.github.com/en/github/setting-up-and-managing-bi...
- IshKebab 6y agoThe 2000 minute limit only applies to private projects.
- dlukeomalley 6y agoI was surprised by this too, but as a maintainer of the project we’ve had comparatively little Windows requests compared to other systems. Qualitatively, for the folks who have asked for Windows support, WSL has been a viable option and reduced the support surface area for the small team behind the tool. On the speed front, the core of Semgrep is OCaml, with a Python wrapper to add niceties like pattern composition. I’m less close to that part of the codebase, but think more and more logic is being moved to OCaml for performance reasons.