Re:Brett Slatkin: Why am I building a new functional program...
by lenkite on Monday March 06, 2023 @08:05AM
(#35040486)
"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.
Re:Brett Slatkin: Why am I building a new functional program...
by ChrisRackauckas on Monday March 06, 2023 @10:56AM
(#35042522)
> 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...
Re:Brett Slatkin: Why am I building a new functional program...
by lenkite on Monday March 06, 2023 @11:16AM
(#35042786)
I 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.
Re:Brett Slatkin: Why am I building a new functional program...
by ChrisRackauckas on Wednesday March 08, 2023 @09:01AM
(#35069045)
Uhh, 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?
And NB, python also doesn't offer many of these features, such as dependency management and simple single-binary builds. Yet it's popular.