Earlier quoted context omitted.
It just requires the build tools. If you use scoop, that entails to: > run `scoop install vs_2022_cpp_build_tools` (from the "required libraries" link in https://crystal-lang.org/install/on_windows/ )
That just installs Visual Studio: https://github.com/neatorobito/scoop-crystal/blob/main/bucke... no thank you.
The Crystal Programming Language
111–116 of 116 posts
Re: The Crystal Programming Language
#112Earlier quoted context omitted.
That just installs Visual Studio: https://github.com/neatorobito/scoop-crystal/blob/main/bucke... no thank you.
This specifically installs the Visual C++ Compiler and the Windows headers so that you can get a command prompt with all that in your PATH. It is not a full-fat VS install. The difference is something like 20-30GBs for the full VS install vs 1-2GB for these specific components.
Re: The Crystal Programming Language
#113Earlier quoted context omitted.
You can ditch Nims GC and runtime and bring your own if you want. Of course you'd lose access to most of the stdlib but this is why Nim can be used and is popular for embedded / bare metal. Tmk Crystal still lacks Windows support as well and probably other os's / archs's compared to Nim
Windows support is close. See this issue: https://github.com/crystal-lang/crystal/issues/5430
Re: The Crystal Programming Language
#114Earlier quoted context omitted.
This specifically installs the Visual C++ Compiler and the Windows headers so that you can get a command prompt with all that in your PATH. It is not a full-fat VS install. The difference is something like 20-30GBs for the full VS install vs 1-2GB for these specific components.
Meanwhile, LLVM-MinGW is 108 MB: https://github.com/mstorsjo/llvm-mingw/releases
Re: The Crystal Programming Language
#115Earlier quoted context omitted.
Meanwhile, LLVM-MinGW is 108 MB: https://github.com/mstorsjo/llvm-mingw/releases
now you are just arguing for the sake of argument. unzip the file and it will expand to a 400MB folder.
Re: The Crystal Programming Language
#116Among the problems :
- A too long compilation. For 2 projects, the compilation in dev env takes more than 30 seconds for each compil, the developer experience is dead at this cadence.
- IDE integration: auto-completion, go to def, API docs, etc works when it wants (almost never).
- The community is too small which results in a lack of docs, examples, help. I spent days searching in Github projects, just to see examples of basic things.
- Instead of focusing on a main framework that makes everyone agree, everyone makes their own framework, their own libs (including me). The result is a lot of time and energy spent on duplicate packages and frameworks that are not necessarily maintained.
I continue to follow the evolution from afar, one day it may be possible to integrate Crystal in WASM, acceptable compile times, maybe a productive main framework :)