gcv / julia-snail

An Emacs development environment for Julia
GNU General Public License v3.0
244 stars 25 forks source link

Cheating performance and responsiveness via create sysimages: possible? #166

Open alecStewart1 opened 22 hours ago

alecStewart1 commented 22 hours ago

Hello, friend!

Firstly, thanks for creating this package. I really enjoy doing working with Julia and doing so within Emacs.

As you probably might've guessed from the title, I was curious if it's feasible or even worth creating a sysimage for julia-snail to potentially increase performance/responsiveness of julia-snail. This is not saying julia-snail is slow, but I imagine the bigger the project, the more the code, the more extensions one uses with julia-snail, the less responsive things get.

The package julia-formatter.el does allow you to create a sysimage for JuliaFormatter to make things more responsive, so maybe this is also possible for julia-snail.

I know things could also improve should your and or others work through #149, but I thought I'd ask this anyway.

gcv commented 19 hours ago

There's an existing discussion here: How to use with PackageCompiler?. I tried following the guide a couple of years ago, and ran into trouble. I think the Julia compilation story has improved since then, but I haven't had time to investigate.