-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
separate julia-compile
from julia
#15864
Comments
Straw man separation of flags (now updated). Common (
Interactive only (
Compilation only (
|
I think |
Yes I think --track-allocation and --code-coverage are probably also needed by both, for building instrumented binaries. |
After some more input, we can post another version with options moved around to where they should be. |
Updated to reflect feedback. |
Will |
Is there any progress or further thoughts on this? Presumably still pending? I'd also like to note that when Julia has the ability to produce executables, it should probably also be able to produce dynamic libraries; Go has an issue with this as there would be multiple GC instances - in Go's case, they would all attempt to use the same storage area, and trample over each other, last I looked. |
@StefanKarpinski Just ran across this issue. Good idea, in general. But why a separate command? I would suggest keeping |
This could potentially be called |
At this point it makes sense to separate
julia
into an interactivejulia
which runs scripts and starts the REPL andjulia-compile
which provides various bootstrapping and compilation features. The basic usage ofjulia-compile
should bejulia-compile program.jl
which should produce an executable calledprogram
which, when run behaves the same way thatjulia program.jl
would. In more advanced modes, it can behave like the currentjulia --compile=all
, etc. Let's use this issue to discuss the desired API and how to split up the options.The text was updated successfully, but these errors were encountered: