-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support and test on Windows #287
Comments
Split from #284 |
Since I am the one who asked for Windows support I will puts my 2 cents in. I am a Windows developer with little knowledge with Elixir/Erlang and Elm and that much in node too, so please take my words with a grain of salt. From my (little) knowledge, Elm and Elixir/Erlang/OTP have good support for Windows so it seems safe to say if the usage made of those tools does not dive to close to some OS specific stuff most code written with those languages should work the same on Windows and Linux. Taking that into account, I browse through the repo and They are: First, Then, the That leaves only 2 files: Firstly, they can be rewritten for a specific shell for Windows. From my experience this will be painful to maintain and fragile at the same time since the Linux and Windows version should maintained in parallel while keeping the same behavior. Then, To my knowledge, there are 2 shells under Windows. There is The other option for porting these file is to rewrite them using cross platform technologies (ie, same tool on every platform). It may be a Mix task for the It may also be for instance, a gulp script for the Hope this helps. |
Hi @codec-abc. Great report! That would be correct. The only two files requiring tweaks would be a Not sure what is a way that other common tools use to support Windows, but I'm assuming writing that I'll mark this issue as "Help needed" and maybe there'll be someone with enough will to fight to make the port a whole thing 👍 |
Do note, powershell cannot run powershell scripts unless the script is signed with a security certificate or unsigned scripts are allowed via system options (requires admin). |
You know, if they have elixir anyway, why not just make the elchemy and makefile or whatever just normal elixir stand-alone escripts? Then they could just run it via |
@OvermindDL1 But rewriting it to an escript would solve all of the platform related problems. Both the language of date, Windows support and probably many more in future. And also the code would be much more manageable. |
The beam is designed for IO, so although not all of the 'obvious' calls are efficient, you can get things efficient. If you need help with anything definitely ask on the forums! Also for benchmarking elixir code, nothing beats Benchee. :-) |
Also, as Elixir will inherently use every-single-core-on-every-single-cpu-possible, you'll be able to parallize everything that is possible to parallize with ease. |
Blocked by #288 |
Test and write down possible differences when setting up Elchemy for developers using Windows
The text was updated successfully, but these errors were encountered: