Hacker GitHub

← All repos

dmolina/DaemonMode.jl

View on GitHub ↗ ★ 304 Julia

Client-Daemon workflow to run faster scripts in Julia

22 mentions on Hacker News by 12 people: 0 stories, 22 comments · first 2020-08-03 · latest 2023-12-04

Mentions per year 22 mentions · busiest year 2021 (11)
20082026
  1. …dependency), and there is precompiletools.jl but these are on your side. You can also look into https://github.com/dmolina/DaemonMode.jl for running a Julia process in the background and do your stuff in the shell without startup time…
  2. …And if you need to do the same in Julia, you should also pre-compile or some other method like https://github.com/dmolina/DaemonMode.jl (their demo shows loading a database, with subsequent loads after the first one taking roughly ~0.2% of…
    comment by Nanana909 · 2023-05-14 · in Julia 1.9.0 lives up to its promise
  3. Then precompile or use https://github.com/dmolina/DaemonMode.jl . But 1.7 seconds at first startup isn't even enough time to articulate a serious thought, much less write any good code. I struggle to believe it's a dent in anyones workflow.
    comment by Nanana909 · 2023-05-14 · in Julia 1.9.0 lives up to its promise
  4. …majority of scripts is an issue, you can pre-compile it ahead of time or simply use something like https://github.com/dmolina/DaemonMode.jl Julia has issues as with all languages but "not being able to quickly run a script" is by far one…
    comment by Nanana909 · 2023-05-14 · in Julia 1.9.0 lives up to its promise
  5. > Making a "busybox" style executable that replaces all coreutils I wonder if DaemonMode ( https://github.com/dmolina/DaemonMode.jl ) is the right approach for this, having each of those tools' functionality loaded in the server process,…
    comment by sundarurfriend · 2023-05-13 · in Julia 1.9.0 lives up to its promise
  6. Reduce Julia startup/JIT time for scripts with https://github.com/dmolina/DaemonMode.jl
    comment by Nanana909 · 2023-04-07 · in Administrative Scripting with Julia
  7. For one off Julia scripts consider using https://github.com/dmolina/DaemonMode.jl
    comment by Nanana909 · 2023-03-21 · in GNU Octave 8.1
  8. > CLI Well, not nicely certainly, but: https://github.com/dmolina/DaemonMode.jl > portable Neither is python - it just relies on universal availability. Over time… > Multiple dispatch, it's system of abstract inheritance and lack of static…
    comment by Nanana909 · 2023-03-21 · in Ask HN: Why is Julia so underrated?
  9. …script like DL training, a long startup time will not matter. https://github.com/timholy/Revise.jl https://github.com/dmolina/DaemonMode.jl
  10. There's https://github.com/dmolina/DaemonMode.jl .
  11. Just keep it running as a daemon? https://github.com/dmolina/DaemonMode.jl
    comment by shele · 2021-06-22 · in Is Julia Really Fast?
  12. While I definitely agree, I'd say Julia is totally fine for short scripts too. Just spin up https://github.com/dmolina/DaemonMode.jl and you can launch lots of short scripts without excessively restarting julia. There's also…
  13. You can have what you want here by using DaemonMode.jl https://github.com/dmolina/DaemonMode.jl
  14. …instead of constantly closing and opening sessions. This package makes that workflow really easy: https://github.com/dmolina/DaemonMode.jl
  15. …a pain point. Fortunately there has been some tooling to make running many jobs in a row easier: https://github.com/dmolina/DaemonMode.jl
    comment by pdeffebach · 2021-04-29 · in Introduction to Pluto.jl
  16. …others suggested) is probably the better option, an alternative you could consider is DaemonMode: https://github.com/dmolina/DaemonMode.jl I.e., have a background Julia process so that you only have to pay the precompile cost once.
    comment by celrod · 2021-03-08 · in Julia: A Post-Mortem
  17. …to run scripts as fast as in REPL by leaving a julia Daemon running and just sending work to it https://github.com/dmolina/DaemonMode.jl
  18. …no need to only use REPL. If you're a old school editor -> terminal run kind of person, checkout https://github.com/dmolina/DaemonMode.jl
  19. …if you do find yourself running lots of scripts and paying this penalty all the time, I'd suggest https://github.com/dmolina/DaemonMode.jl as a great way around these pains.
    comment by eigenspace · 2021-02-14 · in Julia 1.6: what has changed since Julia 1.0?
  20. You may want to look at [DaemonMode.jl]( https://github.com/dmolina/DaemonMode.jl ), which spins up a persistent Julia process in the background so you don't have to pay the TTFP penalty more than once, even when shell-scripting.
    comment by stillyslalom · 2021-02-14 · in Julia 1.6: what has changed since Julia 1.0?
  21. I think for that, you might want to look into https://github.com/dmolina/DaemonMode.jl . This is essentially a just a clever utility for keeping a background julia session running that you feed scripts to, rather than spinning up a new…
    comment by eigenspace · 2020-08-07 · in JuliaCon2020: Julia Is Production Ready
  22. …with everything AOT compiler. PackageCompiler.jl [2] makes this workflow pretty easy nowadays. [1] https://github.com/dmolina/DaemonMode.jl [2] https://github.com/JuliaLang/PackageCompiler.jl
    comment by eigenspace · 2020-08-03 · in Julia 1.5 Highlights