00:05:23 | * | NimBot joined #nim |
00:08:01 | * | ddmgy joined #nim |
00:08:36 | ddmgy | dom96: http://i.imgur.com/apqzDoP.jpg :D |
00:08:43 | ddmgy | Thanks for merging! |
00:09:03 | * | pregressive joined #nim |
00:09:08 | dom96 | ddmgy: np :) |
00:09:14 | dom96 | thank you for the PR |
00:12:28 | * | zepolen joined #nim |
00:14:25 | * | pregressive quit (Ping timeout: 250 seconds) |
00:15:19 | * | OnwardEuler joined #nim |
00:17:02 | * | zepolen quit (Ping timeout: 248 seconds) |
00:26:27 | * | toaoMgeorge quit (Quit: Bye) |
00:28:39 | * | PMunch quit (Quit: leaving) |
00:29:41 | * | ddmgy quit (Quit: Quit) |
00:43:50 | * | brson_ joined #nim |
00:44:41 | * | cheatfate_ joined #nim |
00:45:58 | * | zielmicha_ joined #nim |
00:47:06 | * | clone1018_ joined #nim |
00:48:55 | * | OnO joined #nim |
00:49:04 | * | mahasamoot quit (Ping timeout: 248 seconds) |
00:49:04 | * | clone1018 quit (Ping timeout: 248 seconds) |
00:49:04 | * | OnO_ quit (Ping timeout: 248 seconds) |
00:49:05 | * | brson quit (Ping timeout: 248 seconds) |
00:49:05 | * | cheatfate quit (Ping timeout: 248 seconds) |
00:49:06 | * | zielmicha quit (Ping timeout: 248 seconds) |
00:49:06 | * | zxtx quit (Ping timeout: 248 seconds) |
00:49:09 | * | zxtx_ joined #nim |
00:49:24 | * | zielmicha_ is now known as zielmicha |
00:49:25 | * | zxtx_ is now known as zxtx |
00:50:07 | * | clone1018_ is now known as clone1018 |
00:50:26 | * | mahasamoot joined #nim |
00:58:33 | * | yglukhov joined #nim |
01:02:05 | * | [CBR]Unspoken quit (Read error: Connection reset by peer) |
01:02:57 | * | jaco60 quit (Ping timeout: 250 seconds) |
01:03:31 | * | brson_ quit (Ping timeout: 248 seconds) |
01:03:42 | * | yglukhov quit (Ping timeout: 276 seconds) |
01:10:04 | * | drewkett quit (Ping timeout: 240 seconds) |
01:19:17 | * | [CBR]Unspoken joined #nim |
01:21:25 | * | brson joined #nim |
01:33:55 | * | desophos quit () |
02:12:43 | * | pregressive joined #nim |
02:13:55 | * | francisl joined #nim |
02:18:28 | * | pregressive quit (Ping timeout: 264 seconds) |
02:22:40 | * | Kingsquee quit (Ping timeout: 264 seconds) |
02:37:06 | * | niv quit (Ping timeout: 246 seconds) |
02:39:50 | * | niv joined #nim |
02:41:39 | * | arne__ quit (Ping timeout: 248 seconds) |
02:41:55 | * | arne__ joined #nim |
02:50:07 | * | desophos joined #nim |
03:03:58 | * | bjz joined #nim |
03:04:09 | * | bjz quit (Client Quit) |
03:04:35 | * | bjz joined #nim |
03:04:41 | * | arne__ quit (Quit: Verlassend) |
03:05:34 | * | niv quit (Ping timeout: 248 seconds) |
03:09:16 | * | GangstaCat quit (Read error: Connection reset by peer) |
03:09:54 | * | GangstaCat joined #nim |
03:13:54 | * | niv joined #nim |
03:40:01 | * | Varriount_ quit (Read error: Connection reset by peer) |
03:45:33 | * | brson quit (Ping timeout: 276 seconds) |
03:54:59 | * | niv quit (Ping timeout: 250 seconds) |
03:55:20 | * | OnwardEuler quit (Read error: Connection reset by peer) |
03:59:02 | * | zepolen joined #nim |
03:59:26 | * | niv joined #nim |
04:03:28 | * | zepolen quit (Ping timeout: 244 seconds) |
04:08:50 | * | yglukhov joined #nim |
04:13:00 | * | yglukhov quit (Ping timeout: 246 seconds) |
04:15:09 | * | pregressive joined #nim |
04:19:47 | * | pregressive quit (Ping timeout: 248 seconds) |
04:37:50 | * | endragor joined #nim |
04:48:04 | * | endragor quit (Remote host closed the connection) |
04:48:15 | * | endragor joined #nim |
04:55:57 | * | francisl quit (Quit: francisl) |
05:01:47 | * | desophos quit (Read error: Connection reset by peer) |
05:07:47 | * | brson joined #nim |
05:23:02 | * | bjz quit (Ping timeout: 244 seconds) |
05:25:34 | * | bjz joined #nim |
05:32:25 | * | vendethiel joined #nim |
05:40:25 | * | zxtx quit (*.net *.split) |
05:46:10 | * | zxtx joined #nim |
05:47:05 | * | cheatfate_ quit (Quit: Leaving) |
05:56:16 | * | vendethiel quit (Ping timeout: 264 seconds) |
05:58:27 | * | cheatfate joined #nim |
06:02:57 | * | zxtx quit (*.net *.split) |
06:08:38 | * | zxtx joined #nim |
06:17:22 | * | pregressive joined #nim |
06:18:26 | * | endragor_ joined #nim |
06:21:50 | * | endragor quit (Ping timeout: 248 seconds) |
06:22:04 | * | pregressive quit (Ping timeout: 240 seconds) |
06:22:56 | * | bjz_ joined #nim |
06:24:03 | * | bjz quit (Ping timeout: 240 seconds) |
06:39:02 | * | endragor_ quit (Remote host closed the connection) |
06:39:31 | * | endragor joined #nim |
06:48:23 | * | vendethiel joined #nim |
07:09:13 | * | vendethiel quit (Ping timeout: 240 seconds) |
07:15:34 | * | zepolen joined #nim |
07:18:52 | * | pregressive joined #nim |
07:19:54 | * | zepolen quit (Ping timeout: 246 seconds) |
07:23:25 | * | pregressive quit (Ping timeout: 252 seconds) |
07:41:41 | * | yglukhov joined #nim |
07:59:47 | * | endragor quit (Remote host closed the connection) |
08:00:31 | * | girvo quit (Quit: leaving) |
08:05:37 | * | gour joined #nim |
08:10:53 | * | ModeLockedCat joined #nim |
08:11:55 | * | ModeLockedCat left #nim (#nim) |
08:18:42 | * | gokr joined #nim |
08:31:49 | * | sdw_ quit (Read error: Connection reset by peer) |
08:32:51 | * | dorei joined #nim |
08:36:13 | * | clone1018 quit (Ping timeout: 250 seconds) |
08:36:14 | * | CARAM__ quit (Ping timeout: 250 seconds) |
08:36:39 | * | NhanH quit (Ping timeout: 250 seconds) |
08:36:47 | * | exebook quit (Ping timeout: 244 seconds) |
08:36:56 | * | endragor joined #nim |
08:37:06 | * | exebook joined #nim |
08:39:44 | * | CARAM__ joined #nim |
08:40:02 | * | NhanH joined #nim |
08:49:00 | * | Arrrr joined #nim |
08:49:00 | * | Arrrr quit (Changing host) |
08:49:00 | * | Arrrr joined #nim |
08:53:50 | * | brson quit (Ping timeout: 248 seconds) |
09:01:09 | * | clone1018 joined #nim |
09:08:39 | * | GangstaCat quit (Quit: Leaving) |
09:14:10 | * | ics quit (Quit: Connection closed for inactivity) |
09:16:54 | cheatfate | dom96, why are you thinking that adding cancel to futures is a tough task? |
09:18:24 | * | GangstaCat joined #nim |
09:20:40 | * | pregressive joined #nim |
09:23:03 | * | bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
09:25:22 | * | pregressive quit (Ping timeout: 268 seconds) |
09:26:39 | * | toaoMgeorge joined #nim |
09:29:37 | * | jaco60 joined #nim |
09:32:38 | * | bjz joined #nim |
09:40:02 | * | Demon_Fox quit (Quit: Leaving) |
09:49:37 | * | Trustable joined #nim |
09:51:30 | * | Varriount joined #nim |
09:58:54 | Araq | cheatfate: did you check out my crazy_concurrency branch? |
09:59:01 | Araq | it makes async multi-core ready |
09:59:51 | vegansk | Araq, hi! And when crazy_concurrency will be in devel? :-) |
10:02:43 | * | zepolen joined #nim |
10:03:38 | * | zepolen quit (Remote host closed the connection) |
10:04:13 | Araq | good question. The code is a mess, I don't understand all this 'register' business. |
10:04:59 | * | zepolen joined #nim |
10:22:18 | * | pregressive joined #nim |
10:24:09 | * | gokr1 joined #nim |
10:26:52 | * | pregressive quit (Ping timeout: 244 seconds) |
10:27:47 | * | gokr quit (Ping timeout: 248 seconds) |
11:14:48 | * | darkf quit (Quit: Leaving) |
11:26:49 | * | Varriount quit (Disconnected by services) |
11:26:49 | * | Varriount_ joined #nim |
11:31:41 | vegansk | Hey, tiny c compiler users. I worked on threading support for tcc, and found the bug in tcc itself, not related with threads. Here it is: https://gist.github.com/vegansk/d08f7da5345395667e77 |
11:32:45 | vegansk | So, do we really need this compiler? ``parseInt`` fails with it! |
11:35:21 | def- | vegansk: well, it's already not officially supported by Nim |
11:35:47 | def- | it's just something nice to have when you want very short compilation time, that's all |
11:51:58 | * | jaco60 quit (Ping timeout: 248 seconds) |
11:52:51 | * | arnetheduck joined #nim |
11:54:21 | vegansk | Ok, so here is the PR, that restores compilation with tcc: https://github.com/nim-lang/Nim/pull/3959 |
11:57:34 | * | Arrrr quit (Ping timeout: 260 seconds) |
11:59:09 | vegansk | And when tcc developers fixed this bug (http://savannah.nongnu.org/bugs/?47379), it will be more usable :-) |
12:14:24 | * | Arrrr joined #nim |
12:14:24 | * | Arrrr quit (Changing host) |
12:14:24 | * | Arrrr joined #nim |
12:24:04 | cheatfate | Araq, your crazy_concurrency is based on current selectors.nim, which i want to replace with new one (which will support Timers) |
12:24:06 | * | pregressive joined #nim |
12:24:34 | cheatfate | i have finished linux/bsd version and now i'm making tests for windows |
12:25:48 | dom96 | cheatfate: Thank you for working on it :) |
12:27:19 | * | toaoMgeorge quit (Ping timeout: 260 seconds) |
12:27:46 | cheatfate | np dom96 i'm almost done |
12:28:36 | * | pregressive quit (Ping timeout: 246 seconds) |
12:32:08 | Araq | cheatfate: exactly. |
12:34:14 | * | Varriount joined #nim |
12:34:53 | * | wicast joined #nim |
12:37:54 | * | Varriount_ quit (Ping timeout: 276 seconds) |
12:52:58 | * | gour_ joined #nim |
12:53:06 | * | cheatfate_ joined #nim |
12:53:58 | * | zepolen_ joined #nim |
12:54:25 | * | cheatfate quit (Read error: Connection reset by peer) |
12:55:26 | * | gour quit (Ping timeout: 248 seconds) |
12:57:34 | * | zepolen quit (Ping timeout: 248 seconds) |
13:02:59 | * | wicast quit (Ping timeout: 248 seconds) |
13:04:49 | * | gour_ is now known as gour |
13:08:33 | * | bjz quit (Ping timeout: 244 seconds) |
13:09:44 | * | bjz joined #nim |
13:09:57 | * | cheatfate_ is now known as cheatfate |
13:13:11 | * | wicast joined #nim |
13:25:36 | * | wicast quit (Ping timeout: 244 seconds) |
13:28:41 | * | francisl joined #nim |
13:42:50 | * | wicast joined #nim |
13:50:30 | * | myvaheed joined #nim |
13:52:55 | * | myvaheed quit (Client Quit) |
13:53:32 | * | wicast quit (Ping timeout: 244 seconds) |
14:06:57 | * | francisl quit (Quit: francisl) |
14:19:51 | * | filwit joined #nim |
14:29:55 | * | zepolen joined #nim |
14:31:06 | * | zepolen_ quit (Ping timeout: 246 seconds) |
14:49:40 | * | zepolen quit (Read error: Connection reset by peer) |
14:50:40 | * | zepolen joined #nim |
14:51:19 | * | francisl joined #nim |
15:01:48 | * | PMunch joined #nim |
15:03:46 | * | regtools_ quit (Ping timeout: 244 seconds) |
15:10:35 | * | pregressive joined #nim |
15:13:23 | * | gokr1 quit (Quit: Leaving.) |
15:15:00 | * | regtools joined #nim |
15:15:51 | * | pregressive quit (Ping timeout: 276 seconds) |
15:29:57 | * | pregressive joined #nim |
15:43:22 | * | arnetheduck quit (Ping timeout: 252 seconds) |
15:49:00 | * | jaco60 joined #nim |
15:49:01 | * | Gonzih quit (Quit: WeeChat 1.4) |
15:50:53 | * | toaoMgeorge joined #nim |
15:51:35 | * | Gonzih joined #nim |
16:07:59 | * | endragor_ joined #nim |
16:11:27 | * | endragor quit (Ping timeout: 244 seconds) |
16:12:27 | * | endragor_ quit (Ping timeout: 244 seconds) |
16:14:21 | * | Arrrr quit (Ping timeout: 276 seconds) |
16:15:14 | * | dorei quit (Quit: Page closed) |
16:20:10 | * | desophos joined #nim |
16:20:46 | * | PMunch quit (Quit: leaving) |
16:21:51 | * | jaco60 quit (Quit: Leaving) |
16:22:12 | * | jaco60 joined #nim |
16:33:14 | * | brson joined #nim |
16:40:11 | * | Jesin joined #nim |
16:40:29 | * | yglukhov quit (Ping timeout: 260 seconds) |
16:41:24 | * | Arrrr joined #nim |
16:41:24 | * | Arrrr quit (Changing host) |
16:41:24 | * | Arrrr joined #nim |
17:00:36 | * | ics joined #nim |
17:06:41 | * | matkuki joined #nim |
17:07:25 | matkuki | Araq: Where should this be clipped? 'proc pyComplexRealAsDouble*(op: PyObjectPtr): float64{.cdecl, importc: "PyComplex_RealAsDouble" dynlib: dllname.}' |
17:07:52 | matkuki | Or anyone else who is familiar with NEP-1 |
17:12:48 | matkuki | dom96: a little help help? |
17:19:30 | def- | matkuki: I would do this: ... {.cdecl,\n importc: ..." |
17:19:54 | * | antoniomo joined #nim |
17:20:13 | * | Sembei quit (Quit: WeeChat 1.5-dev) |
17:20:28 | matkuki | def-: thanks, will do! |
17:29:24 | * | jaco60 quit (Quit: Leaving) |
17:33:59 | * | drewkett joined #nim |
17:34:55 | * | jaco60 joined #nim |
17:40:01 | * | vendethiel joined #nim |
17:40:49 | * | yglukhov joined #nim |
17:45:07 | * | yglukhov quit (Ping timeout: 248 seconds) |
17:48:20 | * | yglukhov joined #nim |
17:50:13 | * | matkuki quit (Quit: ChatZilla 0.9.92 [Firefox 44.0.2/20160210153822]) |
17:50:42 | * | boopsies quit (Ping timeout: 260 seconds) |
17:51:56 | * | Jesin quit (Quit: Leaving) |
17:56:15 | * | Jesin joined #nim |
17:56:57 | * | Matthias247 joined #nim |
17:58:36 | filwit | what is the Nim equivalent of GCC/Clang -L ? |
17:59:40 | filwit | --passL:foo is the same as -l, but I need to specify where the linker can look for 'foo' and --path seems to be just a Nim source thing |
17:59:57 | def- | --passL:-L |
18:00:13 | * | zepolen quit (Remote host closed the connection) |
18:00:32 | filwit | k.. |
18:01:58 | * | vendethiel quit (Ping timeout: 252 seconds) |
18:03:53 | * | boopsies joined #nim |
18:06:53 | filwit | def-: that doesn't seem to work... I mean, the output looks correct, but i get a link error "execution of an external program failed" |
18:07:14 | filwit | to be clear, I have a basic C file and pass (to GCC or Clang): -L%VK_SDK_PATH%\Bin -lvulkan-1 |
18:07:36 | filwit | in the Nim cfg file I have: |
18:07:47 | filwit | --passL:r"-L%VK_SDK_PATH%\Bin" |
18:07:51 | def- | --parallelBuild:1 should show you the error |
18:07:52 | filwit | --passL:r"-lvulkan-1" |
18:08:22 | filwit | def-: i already tried that but it didn't show anything more... let me check again real quick |
18:08:31 | def- | I guess your shell substitutes VK_SDK_PATH for the actual path and Nim does not |
18:09:08 | def- | and I'm not sure if the r in front of strings works |
18:09:31 | filwit | def-: yeah that appears to be it cause if I use --passL:r"C:\VulkanSDK\...\vulkan-1" then it works... |
18:10:18 | filwit | def-: the r"" does work, apparently.. Nim auto-converts \ stuff otherwise.. |
18:10:34 | def- | yeah, i understand the intention, just wasn't sure if it's supported in configs |
18:11:08 | filwit | with parallelBuild:1 it just says cannot find -lvulkan-1 |
18:11:23 | def- | sounds like the correct error |
18:11:34 | def- | with a higher verbosity you could see the actual linker command I guess |
18:11:35 | filwit | yeah except it's working in the C version.. |
18:11:52 | def- | only because the shell substitutes VK_SDK_PATH |
18:12:05 | filwit | ahh... okay, i understand |
18:15:43 | gmpreussner_ | oh noes, don't tell me you'll have a vulkan example before i have time to make one :D |
18:16:24 | gmpreussner_ | please also take a look at https://github.com/nimious/vulkan |
18:17:16 | * | toaoMgeorge quit (Ping timeout: 264 seconds) |
18:17:22 | filwit | gmpreussner_: hehe, I wish.. but I can't even get vkCreateInstance to properly work in either C or Nim (for different reasons though) |
18:17:37 | filwit | also, yes the nimious wrapper is what I'm using |
18:17:44 | * | toaoMgeorge joined #nim |
18:17:44 | * | irrequietus joined #nim |
18:18:06 | gmpreussner_ | awesome... pull request away for any needed fixes. i'm trying to get a sample up and running this weekend |
18:18:34 | gmpreussner_ | i got basic stuff to run on Windows. haven't tried Linux yet |
18:18:38 | filwit | oh, are you the author? cool cool |
18:19:16 | filwit | I'm working off Windows right now too.. I'm waiting on a new HDD to dual-boot my machine with Linux again (and will be trying it out there when it's up) |
18:20:04 | filwit | btw, maybe you can help me out with a Vulkan problem... in C calling vkCreateInstance (in the most basic of examples) simply crashes my program (no error, just crash) |
18:20:30 | filwit | in Nim.. calling vkCreateInstance results in a "Segfault: attempt to read from nil?" on that line.. |
18:21:14 | filwit | I'm just starting to try Vulkan out, and not sure what's going on.. maybe it's cause I'm using the officially released Nvidia Vulkan drivers that where released, then pulled, a few days ago.. |
18:21:53 | filwit | but I don't think so cause I can complile and run the Nvidia Vulkan demos from VS just fine.. and they all work without error. |
18:22:06 | gmpreussner_ | i haven't tried the official drivers yet |
18:22:21 | filwit | I'm still reading up on the documentation, but if you have any tips I'd love to hear them. |
18:22:22 | * | toaoMgeorge quit (Ping timeout: 248 seconds) |
18:22:41 | gmpreussner_ | i've had access to vulkan for almost a year and used the internal SDK releases and prototype drivers |
18:23:14 | ldlework | gmpreussner_: asdf got your stuff to work on linux |
18:23:18 | gmpreussner_ | i'll check out the new stuff this weekend. i only updated the wrapper to the latest API headers, but haven't installed the official drivers yet |
18:24:33 | filwit | gmpreussner_: I see. Well you can't install the official drivers now (they pulled them due to a install bug), but I don't think it's related to the drivers really cause I can compile & run the Nvidia Vulkan C++ demos just fine |
18:25:14 | filwit | gmpreussner_: either way, thanks for your work on the wrapper! And I'm glad I know who you are on here now cause I'm sure I'll have more questions about it soon |
18:25:15 | filwit | :) |
18:25:36 | gmpreussner_ | yeah, let's make Nim a cool Vulkan platform :) |
18:29:09 | filwit | oh no wait, there's a new Nvidia driver update.. so the official drivers are out. Gonna update and see if that fixes it. Will report back. |
18:29:56 | * | vendethiel joined #nim |
18:33:49 | * | yglukhov quit (Remote host closed the connection) |
18:35:49 | * | filwit quit (Quit: Leaving) |
18:41:09 | * | filwit joined #nim |
18:41:20 | filwit | nope.. same problem :\ |
18:42:21 | * | niv quit (Ping timeout: 244 seconds) |
18:44:46 | filwit | def-: do you know of any way to use environment variables inside a .nim.cfg file? Or is that only possible in a .nims? |
18:50:49 | * | vendethiel quit (Ping timeout: 240 seconds) |
18:51:55 | * | Sembei joined #nim |
18:52:06 | * | yglukhov joined #nim |
18:52:57 | * | yglukhov quit (Remote host closed the connection) |
18:58:57 | * | vendethiel joined #nim |
18:59:58 | * | toaoMgeorge joined #nim |
19:03:02 | def- | filwit: no idea |
19:03:09 | filwit | k |
19:03:32 | * | Arrrr quit (Quit: WeeChat 1.4) |
19:05:13 | * | antoniomo quit (Quit: WeeChat 1.4) |
19:14:23 | * | drewkett quit (Ping timeout: 244 seconds) |
19:18:36 | * | vonh joined #nim |
19:39:47 | vonh | knock knock is anybody there? |
19:40:30 | flyx | nope |
19:40:44 | filwit | no one |
19:45:59 | * | yglukhov joined #nim |
19:49:33 | * | drewkett joined #nim |
19:50:27 | * | allan0 quit (Ping timeout: 248 seconds) |
19:50:29 | * | boopsies quit (Ping timeout: 250 seconds) |
19:55:21 | * | allan0 joined #nim |
19:59:04 | * | drewkett quit (Ping timeout: 240 seconds) |
19:59:11 | * | drewkett joined #nim |
20:00:54 | * | kett joined #nim |
20:01:14 | * | drewkett_ joined #nim |
20:04:01 | * | drewkett quit (Ping timeout: 240 seconds) |
20:05:03 | * | kett quit (Ping timeout: 240 seconds) |
20:05:42 | * | boopsies joined #nim |
20:06:42 | Araq | vonh: hi |
20:09:53 | vonh | Araq: Hi. Nice to be welcomed by the Man himself :) |
20:13:07 | * | yglukhov quit (Remote host closed the connection) |
20:13:25 | * | thotypous quit (Ping timeout: 252 seconds) |
20:18:14 | * | thotypous joined #nim |
20:20:19 | * | darkf joined #nim |
20:23:38 | * | yglukhov joined #nim |
20:33:06 | federico3 | Is there any usable game library? |
20:35:17 | * | yglukhov quit (Remote host closed the connection) |
20:36:03 | def- | federico3: sdl2 and csfml worked last time i tested |
20:36:23 | federico3 | ...how long ago? |
20:36:59 | * | toaoMgeorge quit (Ping timeout: 244 seconds) |
20:38:00 | * | kett joined #nim |
20:39:44 | * | jaco60 quit (Remote host closed the connection) |
20:41:07 | * | drewkett_ quit (Ping timeout: 244 seconds) |
20:41:10 | * | drewkett joined #nim |
20:41:37 | * | jaco60 joined #nim |
20:41:57 | * | drewkett_ joined #nim |
20:43:04 | * | kett quit (Ping timeout: 240 seconds) |
20:45:03 | * | kett joined #nim |
20:45:33 | def- | federico3: a few months ago, but they should be fine |
20:45:50 | * | drewkett quit (Ping timeout: 244 seconds) |
20:46:47 | * | drewkett_ quit (Ping timeout: 268 seconds) |
20:46:49 | federico3 | Thanks. Any game worth looking at? |
20:49:33 | * | drewkett joined #nim |
20:52:28 | * | kett quit (Ping timeout: 252 seconds) |
20:53:29 | * | gour quit (Quit: WeeChat 1.4) |
20:58:26 | def- | federico3: not sure, I only have the NimES emulator in SDL2, csfml has a few demos |
21:02:36 | * | Kingsquee joined #nim |
21:10:04 | * | drewkett quit (Ping timeout: 240 seconds) |
21:17:33 | cheatfate | Is it possible to cast[] function from pointer? |
21:18:13 | Araq | cheatfate: yup, but not directly for .closure procs |
21:20:28 | cheatfate | i'm getting mingw error on https://gist.github.com/cheatfate/ea93aa28ed4edcaa9d02 |
21:22:34 | cheatfate | added comment with error |
21:25:33 | * | yglukhov joined #nim |
21:25:37 | Sembei | nim has anything similar to python datetime.datetime.strptime ? |
21:26:19 | cheatfate | i found an error, missed ( {.stdcall,gcsafe.} ) |
21:30:50 | * | yglukhov quit (Remote host closed the connection) |
21:30:56 | * | gokr joined #nim |
21:33:03 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
21:37:45 | * | francisl quit (Quit: francisl) |
21:38:16 | * | vendethiel quit (Ping timeout: 264 seconds) |
21:38:43 | cheatfate | Sembei, c has similar, and nim can easily import it |
21:39:07 | Sembei | oh |
21:39:12 | Sembei | didnt think about that |
21:41:38 | * | vendethiel joined #nim |
21:47:07 | * | Jesin quit (Quit: Leaving) |
22:02:15 | * | francisl joined #nim |
22:15:29 | * | yglukhov joined #nim |
22:29:25 | * | dorei joined #nim |
22:29:29 | dorei | hello |
22:29:38 | dorei | is there something like abort at nim? |
22:30:23 | Varriount | dorei: `quit`? |
22:32:51 | dorei | well, something to insert at my code so it immediately aborts back to shell |
22:33:15 | filwit | quit "your message" |
22:34:01 | filwit | does anyone know why trying to build Nim's csources/build64.bat results in errors like: |
22:34:02 | filwit | c_code\1_2\stdlib_system.o:stdlib_system.c:(.text+0x7c93): undefined reference to `_wfopen' |
22:34:11 | filwit | at the linking step? |
22:34:28 | Varriount | filwit: Platform/compiler? |
22:35:07 | filwit | Windows + Msys2 64 + GCC 4.9.3 |
22:36:17 | filwit | let me try build.bat.. maybe it'll build 64bit since GCC is 64bit |
22:37:10 | * | Jesin joined #nim |
22:37:22 | filwit | nope.. get a type-error with build.bat (invalid size_t sizes, like expected) |
22:37:51 | Varriount | filwit: There should be a build64.bat |
22:38:20 | filwit | yes I know.. that compiles, but the link step has errors (see my comment above) |
22:38:27 | Varriount | Oh. Hm. |
22:38:31 | Varriount | Let me try. |
22:38:42 | filwit | I don't think I've ever gotten this to work.. which is why I just installed the 0.13 release a few months ago.. but that GCC version doesn't work with Vulkan apparently... |
22:39:11 | filwit | (plus G++ doesn't actually work... and messes up Windows Clang too so I can't compile C++ code outside of VisualC++) |
22:39:12 | Varriount | filwit: Regarding the error that occurs when the Nim and C compiler disagree on pointer sizes, what do you think of making one of the variables an actualy message? |
22:39:59 | filwit | Varriount: I can post you the actual error message.. but I'm almost positive running build.bat is not the correct path (it's always built a 32bit Nim for me before) |
22:40:00 | Varriount | Like, 'Your_C_compiler_and_Nim_disagree_on_pointer_size' |
22:40:22 | filwit | Varriount: c_code/nimbase.h:412:13: error: size of array 'assert_numbits' is negative |
22:40:23 | filwit | typedef int assert_numbits[sizeof(NI) == sizeof(void*) && NIM_INTBITS == sizeof(NI)*8 ? 1 : -1]; |
22:40:51 | Varriount | filwit: You now that a 32 bit Nim compiler can technically output 64-bit code. You just need to pass the right flags |
22:40:55 | Varriount | *know |
22:41:12 | filwit | yeah, but I'd prefer it to just be setup correctly by default.. |
22:41:35 | filwit | and I'm not even sure how I could build a 32bit Nim with a 64bit GCC |
22:41:56 | filwit | if I have a 32bit GCC, then the build.bat works (and makes a 32bit Nim which works) |
22:42:17 | filwit | (at least.. that's what I remember when I tried it awhile ago) |
22:43:19 | filwit | it's kinda crazy I can't easily get this to work.. there's something I'm missing... I've added all the Msys2 dirs to my user PATH.. maybe I need to add them to the global path? IDK how that would be any different though... |
22:47:34 | * | francisl quit (Quit: francisl) |
22:48:01 | * | vendethiel quit (Ping timeout: 240 seconds) |
22:51:23 | Varriount | filwit: http://forum.nim-lang.org/t/1185 |
22:52:00 | filwit | Varriount: thanks I'll read through that |
22:52:34 | filwit | (also I think I might have found out I might need to use MinGW-GCC version.. but I'll read your post first) |
22:53:19 | Varriount | filwit: CSources builds for me. |
22:53:23 | filwit | er... |
22:53:38 | Varriount | gcc (x86_64-win32-seh-rev0, Built by MinGW-W64 project) 5.2.0 |
22:54:04 | filwit | Varriount: yeah, I think I need the MinGW-GCC |
22:54:15 | filwit | apparently there's a difference I don't understand |
22:55:02 | * | dorei quit () |
22:58:03 | Varriount | filwit: It also builds for me using my local Msys2 gcc |
22:58:06 | Varriount | gcc (Rev1, Built by MSYS2 project) 5.3.0 |
22:58:30 | filwit | Varriount: yeah I know, I think it's going to work now.. (building it) |
22:58:34 | Varriount | filwit: Of course, I have to invoke cmd /C to run the build64.bat script. |
22:59:00 | filwit | I had to install the MinGW-GCC version... what's odd though, is now I have both GCC 4.9 and GCC 5.3 on my machine somehow.. |
22:59:30 | filwit | need to remove one, as it seems the Windows cmd prompt chooses the non-MinGW version for some reason |
23:00:00 | filwit | yep, cool it built with the MinGW-GCC 5.3 version |
23:00:06 | filwit | thanks for your help, Varriount |
23:01:27 | * | pregressive quit (Remote host closed the connection) |
23:06:58 | * | boopsies is now known as boopsiesisaway |
23:16:34 | * | drewkett joined #nim |
23:20:41 | * | toaoMgeorge joined #nim |
23:22:36 | * | francisl joined #nim |
23:23:24 | * | kett joined #nim |
23:26:01 | * | drewkett quit (Ping timeout: 240 seconds) |
23:31:01 | * | yglukhov quit (Remote host closed the connection) |
23:31:05 | * | Trustable quit (Remote host closed the connection) |
23:33:22 | * | francisl quit (Quit: francisl) |
23:35:14 | * | kett quit (Ping timeout: 244 seconds) |
23:52:38 | * | irrequietus quit () |
23:58:11 | * | drewkett joined #nim |