Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6-toolchain, 2016-01-23

| Channels | #perl6-toolchain index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:12 leont joined #perl6-toolchain
07:04 domidumont joined #perl6-toolchain
07:11 domidumont joined #perl6-toolchain
08:19 hankache joined #perl6-toolchain
08:38 hankache joined #perl6-toolchain
11:36 camelia joined #perl6-toolchain
11:36 camelia joined #perl6-toolchain
12:37 leont joined #perl6-toolchain
16:11 hankache joined #perl6-toolchain
17:32 nine_ ugexe: regarding https://ci.appveyor.com/project/ugexe/zef/build/1.0.13#L1120 I wonder why the precomp file is still opened by any process. Loading a module should just open the file, read it and close it again. As at least currently only one process can load modules from a repo at any given point in time, I don't see why deleting files should conflict.
18:30 tony-o_ nine_: i was looking through the source yesterday, it looked like that would be more easily solved if we could read the module in memory and load from that but it needs apis exposed from the vm.  thats what it looked like, anyway.  otherwise its reading and holding the file
18:30 tony-o_ i may be misremembering that, planes are exhausting
18:31 ugexe due to it not being reproducible locally it almost seems like a race condition between that delete precomp folder stuff and some type of file handle cleanup (maybe specific to windows)
18:44 leont joined #perl6-toolchain
20:16 nine_ probably the file handle is only closed when the GC kicks in
20:30 leont Which is really something to avoid
20:31 leont I'm wondering if we should have a language construct that automatically closes something at the end of scope, much like a using block in C#
20:38 jdv79 you mean a phaser like CLOSE or LAST or something like that
20:38 jdv79 i haven't used those yet though
20:38 jdv79 i meant LEAVE
20:44 leont Yeah, but doing that well often requires creating a new scope
20:44 leont Or manually checking if the handle is defined
20:45 leont In fact, without that check it will go belly up if an exception is thrown during opening (because the handle isn't defined by definition)
21:22 hankache joined #perl6-toolchain

| Channels | #perl6-toolchain index | Today | | Search | Google Search | Plain-Text | summary