News for hackers. Stuff that matters.
Re:Julia 1.6: what has changed since Julia 1.0? by fishmaster on Sunday February 14, 2021 @01:48PM (#26134946)
> even just redefining a struct field requires restarting the interpreter

It really doesn't if you use a module.

Re:Julia 1.6: what has changed since Julia 1.0? by saiojd on Sunday February 14, 2021 @06:11PM (#26137198)
I mean, I still need to recompile the module no? Or do you split your project into several small modules to avoid this? (I've avoided this so far as I found the module system a bit tedious tbh, as it requires to explicitly list everything you need to export, as well as manually import stuff from the parent module).
Re:Julia 1.6: what has changed since Julia 1.0? by fishmaster on Monday February 15, 2021 @04:59PM (#26148055)
Usually as long as I develop I have structs that I change inside a small module, then I can recompile just the module and access the new struct, e.g. for neural networks.

It's not perfect but it's something.

Re:Julia 1.6: what has changed since Julia 1.0? by saiojd on Tuesday February 16, 2021 @07:46PM (#26161089)
Useful trick, I'll try that, thanks.