[DiscordArchive] Oh awesome!!!! thank you for the answer!
[DiscordArchive] Oh awesome!!!! thank you for the answer!
Archived author: Foe • Posted: 2023-08-30T14:06:10.714000+00:00
Original source
It's not very hard to implement really
Archived author: Foe • Posted: 2023-08-30T14:06:19.604000+00:00
Original source
Just look at TCs dynamic script loading
Archived author: mynameismeat • Posted: 2023-08-30T14:06:31.544000+00:00
Original source
That's what ive been using as a base lol
Archived author: Foe • Posted: 2023-08-30T14:06:36.607000+00:00
Original source
They compile all their scripts as a shared library with an extern C interface
Archived author: Foe • Posted: 2023-08-30T14:07:05.018000+00:00
Original source
I don't think hotloading is a necessity, it causes more issues than it's worth
Archived author: Foe • Posted: 2023-08-30T14:07:21.501000+00:00
Original source
But loading of shared libraries on startup should be relatively easy
Archived author: mynameismeat • Posted: 2023-08-30T14:11:00.395000+00:00
Original source
yeah hotloading seemed unnecessary to me as well, unless you're actively developing on it
Even then I'd be worried about not starting from a "clean" state.
Archived author: Bench • Posted: 2023-08-30T14:11:29.040000+00:00
Original source
Restart still better than recompile
Archived author: Foe • Posted: 2023-08-30T14:11:49.262000+00:00
Original source
Definitely, you can just build the module, update the library, reboot
Archived author: Kitzunu • Posted: 2023-08-30T14:12:09.121000+00:00
Original source
If you are working on just script you only rebuilt that file anyways. So hotswapping is useless imo