4 ms·
I agree it lacks all of these things, but in scientific computing - at the current state - it is already ahead of fortran, python, and C++ in terms of convenien
by dermesser 4y ago
I agree it lacks all of these things, but in scientific computing - at the current state - it is already ahead of fortran, python, and C++ in terms of convenience. Precompilation doesn't matter as much here, and the packaging and JIT compilation as well as relatively simple FFI are making one's life a lot easier.
And NB, python also doesn't offer many of these features, such as dependency management and simple single-binary builds. Yet it's popular.
- lenkite 4y ago"And NB, python also doesn't offer many of these features, such as dependency management and simple single-binary builds" Python has tools for both of these - including virtualenv in standard Python. Nuitka if you want native compilation to a single binary. Julia has none.
- ChrisRackauckas 4y ago> Julia has none. Weird, since we ship natively compiled single binaries with Julia to customers all of the time using the standard open source tooling...
- lenkite 4y agoI did mention simple single-binary builds using the CLI. (ie - it just works with one command). Not fiddling around for hours with PackageCompiler.jl. Fiddling around with snoopfiles, then forced to ask questions on the forums to do what other languages do out of the box is not the way to go for developer ergonomics.
- ChrisRackauckas 4y agoUhh, you don't have to do anything with snoop files, and it's just a one line CLI call. julia -e 'using PackageCompiler; create_sysimage(["MyPackage"], sysimage_path="MyPackage.so"; precompile_execution_file = "MyScriptOfWhatToCompile.jl")' and now you have a binary. How are people "forced to ask questions on the fourms" if the only thing to do is to change file location names? Are you talking about PackageCompiler from 2019 or PackageCompiler from 2023?