00:04:21 | dom96 | I think for C++ headers might be necessary |
00:09:09 | ephja | yeah |
00:10:06 | BlueProtoman | Okay. So, Box2D. Wrapper for a C++ project. Have wrappers refer to headers AND DLL? Do I need to include either with the wrapper? And can I support static builds of Box2D? |
00:12:02 | * | Matthias247 quit (Read error: Connection reset by peer) |
00:12:43 | ephja | and it reduces code bloat. there's a C wrapper I think, but it was outdated last time I checked |
00:13:17 | BlueProtoman | There's no Box2D wrapper. It's for Chipmunk. |
00:14:33 | ephja | there is, somewhere, but it doesn't matter |
00:14:59 | * | brson quit (Ping timeout: 265 seconds) |
00:15:08 | ephja | DLL's are not needed at compile-time |
00:16:57 | ephja | there are some importcpp pattern examples on the forum too (just search for it) |
00:19:50 | * | kniteli joined #nim |
00:46:47 | * | bitcrusher quit (Read error: Connection reset by peer) |
01:03:03 | * | brson joined #nim |
01:16:51 | * | yglukhov quit (Remote host closed the connection) |
01:18:05 | * | desophos quit (Remote host closed the connection) |
01:47:31 | * | brson quit (Read error: Connection reset by peer) |
01:48:41 | * | desophos joined #nim |
01:58:35 | * | flaviu_ quit (Ping timeout: 240 seconds) |
02:15:40 | * | flaviu joined #nim |
02:17:22 | * | yglukhov joined #nim |
03:28:44 | * | Demon_Fox quit (Quit: Leaving) |
03:29:53 | * | desophos_ joined #nim |
03:30:12 | desophos | hey gmpreussner|work, want to port Sodium to Nim? :D |
03:30:21 | desophos | re: the FRP book |
03:31:25 | * | cazov_ is now known as cazov |
03:34:45 | * | desophos_ quit (Ping timeout: 255 seconds) |
03:41:35 | * | ephja quit (Ping timeout: 240 seconds) |
03:57:51 | * | exebook quit (Remote host closed the connection) |
04:20:42 | * | nande quit (Remote host closed the connection) |
04:44:55 | * | vqrs quit (Ping timeout: 240 seconds) |
04:47:13 | * | vqrs joined #nim |
04:51:13 | * | kniteli quit (Remote host closed the connection) |
04:59:40 | * | strcmp1 quit (Ping timeout: 272 seconds) |
05:00:01 | * | BlueProtoman quit (Remote host closed the connection) |
05:19:12 | * | darkf joined #nim |
05:24:03 | * | Kingsquee joined #nim |
05:51:57 | * | desophos quit (Read error: Connection reset by peer) |
05:55:59 | * | xtagon joined #nim |
06:45:37 | * | desophos joined #nim |
06:49:54 | * | desophos quit (Ping timeout: 260 seconds) |
07:14:50 | * | vqrs quit (Ping timeout: 240 seconds) |
07:16:56 | * | vqrs joined #nim |
07:30:05 | * | strcmp1 joined #nim |
07:31:30 | * | yglukhov quit (Ping timeout: 240 seconds) |
07:40:36 | * | kniteli joined #nim |
07:42:42 | * | gour joined #nim |
07:49:16 | * | xtagon quit () |
08:04:37 | * | strcmp2 joined #nim |
08:07:10 | * | strcmp1 quit (Ping timeout: 240 seconds) |
08:25:04 | * | jaco60 joined #nim |
08:31:36 | * | Varriount-Laptop joined #nim |
08:32:56 | * | gokr joined #nim |
08:41:22 | * | Trustable joined #nim |
08:50:04 | * | yglukhov joined #nim |
09:06:39 | * | Varriount-Laptop quit (Ping timeout: 265 seconds) |
09:12:14 | * | coffeepot joined #nim |
09:12:19 | * | makoLine quit (Ping timeout: 252 seconds) |
09:21:24 | * | gokr1 joined #nim |
09:24:02 | * | gokr quit (Ping timeout: 246 seconds) |
09:28:59 | * | antoniomo joined #nim |
09:29:54 | NimBot | nim-lang/Nim devel 716c12a Charles Blake [+0 ±1 -0]: Fix loop index bug in scan for a[s] in b[s..s+len2-1].... 3 more lines |
09:29:54 | NimBot | nim-lang/Nim devel a1df79d Charles Blake [+0 ±1 -0]: Add a unit test that covers issue 3477... 1 more lines |
09:29:54 | NimBot | nim-lang/Nim devel 3c5a0b1 Andreas Rumpf [+0 ±2 -0]: Merge pull request #3563 from c-blake/devel... 2 more lines |
09:30:08 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
09:32:22 | * | Aericy joined #nim |
09:32:32 | * | Aericy left #nim (#nim) |
09:37:41 | yglukhov | hey guys, chech out the future of gamedev: https://github.com/yglukhov/nimsl |
09:42:45 | * | antoniomo quit (Quit: WeeChat 1.3) |
09:43:02 | * | antoniomo joined #nim |
09:59:08 | * | andrewvos joined #nim |
10:13:41 | * | vqrs quit (Ping timeout: 244 seconds) |
10:16:10 | * | vqrs joined #nim |
10:38:02 | * | coffeepot joined #nim |
10:42:12 | * | gokr1 quit (Quit: Leaving.) |
10:44:32 | * | Sembei quit (Quit: WeeChat 1.4-dev) |
11:00:49 | * | Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif) |
11:01:04 | * | lokulin quit (Changing host) |
11:01:04 | * | lokulin joined #nim |
11:18:35 | dom96 | yglukhov: awesome! |
11:18:44 | * | strcmp1 joined #nim |
11:21:51 | * | strcmp2 quit (Ping timeout: 255 seconds) |
11:21:55 | * | strcmp3 joined #nim |
11:24:06 | * | strcmp1 quit (Ping timeout: 255 seconds) |
11:49:22 | * | elrood joined #nim |
12:04:27 | * | aziz joined #nim |
12:32:47 | * | ephja joined #nim |
12:37:57 | * | strcmp4 joined #nim |
12:39:55 | * | strcmp3 quit (Ping timeout: 240 seconds) |
12:43:46 | * | Guest48911isaway is now known as Guest48911 |
12:49:14 | * | wan joined #nim |
12:51:19 | * | octoploid joined #nim |
12:58:14 | * | BitPuffin joined #nim |
13:11:25 | * | strcmp4 quit (Ping timeout: 240 seconds) |
13:13:49 | * | kniteli quit (Remote host closed the connection) |
13:16:42 | * | octoploid quit (Quit: WeeChat 1.3-rc1) |
13:18:08 | * | gokr joined #nim |
13:35:21 | * | BitPuffin quit (Read error: Connection reset by peer) |
13:35:56 | * | antoniomo quit (Quit: WeeChat 1.3) |
13:36:12 | * | BitPuffin joined #nim |
13:38:46 | * | aziz quit (Remote host closed the connection) |
13:48:44 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
13:49:32 | * | coffeepot joined #nim |
13:55:57 | * | Trustable quit (Read error: Connection reset by peer) |
13:56:01 | * | Trustable_2 joined #nim |
13:56:54 | * | Guest48911 is now known as Guest48911isaway |
14:03:43 | * | gokr quit (Quit: Leaving.) |
14:12:45 | * | Trustable_2 quit (Read error: Connection reset by peer) |
14:12:58 | * | Trustable joined #nim |
14:13:10 | * | Trustable quit (Client Quit) |
14:15:36 | theduke | Am i right in assuming that data structures like tables / sequences basically can only be used in a multi-threading context when they only hold non-garbage collected memory? since every thread has it's own heap, all traced objects get destroyed when the the thread finishes (right?) |
15:01:06 | * | brson joined #nim |
15:05:13 | coffeepot | theduke: AFAIK that's mostly correct, though you can of course lock/unlock them to use them across threads, but it's generally a better idea to use ptr type across threads |
15:05:19 | * | yglukhov_ joined #nim |
15:05:59 | coffeepot | although as you say if the thread finishes I think it might end up being unsafe to use GC refs. Best just use ptr |
15:06:50 | coffeepot | ptr can be typed and aside from manually managing memory alloc/dealloc can be used like ref |
15:07:50 | * | yglukhov quit (Ping timeout: 260 seconds) |
15:08:02 | * | BitPuffin is now known as KHAAAAAAN |
15:08:08 | coffeepot | there is also channels specifically for this purpose though http://nim-lang.org/docs/channels.html |
15:12:19 | * | aziz joined #nim |
15:12:25 | coffeepot | and http://nim-lang.org/docs/threadpool.html though I've not used either of these personally |
15:23:29 | * | aziz quit (Remote host closed the connection) |
15:41:05 | * | yglukhov_ quit (Remote host closed the connection) |
15:41:21 | * | pregressive joined #nim |
15:41:38 | * | yglukhov joined #nim |
16:00:06 | * | strcmp4 joined #nim |
16:03:23 | andrewvos | Anyone cross compiled a binary 32+64 bit? |
16:25:02 | * | UberLambda joined #nim |
16:33:23 | * | smodo joined #nim |
16:39:13 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
16:45:13 | * | C10RD joined #nim |
16:50:17 | * | Trustable joined #nim |
16:57:31 | * | C10RD left #nim (#nim) |
17:04:57 | * | andrewvos quit (Quit: WeeChat 0.4.2) |
17:23:50 | * | antoniomo joined #nim |
17:28:53 | * | antoniomo quit (Quit: WeeChat 1.3) |
17:29:11 | * | antoniomo joined #nim |
17:38:22 | * | pregressive quit (Remote host closed the connection) |
17:43:27 | * | theduke quit (Ping timeout: 252 seconds) |
17:57:06 | * | thotypous quit (Quit: WeeChat 1.3) |
17:58:39 | * | thotypous joined #nim |
18:01:57 | * | pregressive joined #nim |
18:09:15 | * | yglukhov_ joined #nim |
18:12:08 | * | yglukhov quit (Ping timeout: 250 seconds) |
18:13:59 | * | yglukhov_ quit (Ping timeout: 264 seconds) |
18:14:22 | * | vqrs quit (Ping timeout: 260 seconds) |
18:15:58 | * | UberLambda quit (Quit: GTG) |
18:18:16 | * | vqrs joined #nim |
18:24:02 | * | KHAAAAAAN quit (Ping timeout: 276 seconds) |
18:26:47 | * | smodo quit (Remote host closed the connection) |
18:31:06 | * | Guest48911isaway is now known as Guest48911 |
18:41:14 | * | Matthias247 joined #nim |
18:44:14 | * | darkf quit (Quit: Leaving) |
18:52:45 | * | desophos joined #nim |
18:55:02 | * | cyraxjoe_ joined #nim |
18:56:58 | * | cyraxjoe quit (Ping timeout: 260 seconds) |
18:57:13 | * | yglukhov joined #nim |
19:01:32 | * | yglukhov quit (Ping timeout: 250 seconds) |
19:03:17 | * | cyraxjoe_ is now known as cyraxjoe |
19:05:58 | gmpreussner|work | desophos: yesterday i was about to say "no, i'm not in the porting business", but after reading the first two chapters, I'd like to reconsider :) |
19:06:39 | gmpreussner|work | i think there are some good ideas in the book. i have struggled with the same kind of problems for the past two years and also came to the conclusion that there are no good solutions in the context of OOP |
19:06:56 | gmpreussner|work | i think that I, too, would have arrived at something like FRP |
19:07:15 | gmpreussner|work | that being said, i looked at the Java implementation and, naturally, found it quite convoluted |
19:07:41 | gmpreussner|work | their Haskell implementation is more concise, but, of course, completely unreadable |
19:08:02 | gmpreussner|work | i think Nim could be a great fit for this. the only problem i see right now is our lack of a compact syntax for lambdas |
19:10:24 | gmpreussner|work | certainly, their acrobatics with CellLoop and StreamLoop wouldn't be needed in Nim though. we also wouldn't need their emulation of lambdas in Java. |
19:11:36 | gmpreussner|work | i still need to better understand their use and implementation of transactions. it seems like a lot of added complexity, which may be necessary, but gives me stomach cramps - especially since there may be thousands of streams and cells in an application, and the overhead seems significant |
19:15:18 | * | Demon_Fox joined #nim |
19:19:04 | federico3 | do we need hex stickers for Nim as well? https://git-annex.branchable.com/stickers/ |
19:23:19 | * | brson quit (Read error: Connection reset by peer) |
19:25:51 | desophos | gmpreussner|work: i've only read the first chapter so far, so i don't really have ideas about *how* to port it yet |
19:26:00 | desophos | it was just an idea |
19:26:14 | desophos | i think it would be great to have it in Nim |
19:28:03 | gmpreussner|work | we should definitely study it and see how exactly it fits. the book is excellent - perhaps the best programming book i read this year - but the Java implementation somewhat curbed my enthusiasm |
19:28:24 | gmpreussner|work | so i think i'm just going to read the rest of the book this weekend to fully understand the concepts |
19:28:30 | * | brson joined #nim |
19:30:53 | desophos | cool! me too |
19:37:22 | * | Jesin quit (Ping timeout: 244 seconds) |
19:40:40 | * | Jesin joined #nim |
19:44:03 | * | Xaseron quit (Ping timeout: 255 seconds) |
19:46:21 | * | allan0 left #nim ("oo") |
19:46:48 | * | allan0 joined #nim |
19:49:40 | * | Matthias247 quit (Read error: Connection reset by peer) |
19:51:04 | * | Matthias247 joined #nim |
19:51:30 | * | BitPuffin|osx joined #nim |
19:54:50 | * | yglukhov joined #nim |
20:23:51 | * | brson quit (Read error: Connection reset by peer) |
20:26:44 | * | gour quit (Quit: WeeChat 1.3) |
20:28:37 | * | brson joined #nim |
20:39:11 | * | brson quit (Ping timeout: 246 seconds) |
20:54:47 | * | Jesin quit (Quit: Leaving) |
20:57:53 | * | Jesin joined #nim |
20:59:24 | * | Jesin quit (Remote host closed the connection) |
21:03:42 | * | Jesin joined #nim |
21:07:12 | * | Jesin quit (Client Quit) |
21:28:35 | * | mat4 joined #nim |
21:28:46 | * | makoLine joined #nim |
21:34:54 | * | desophos quit (Remote host closed the connection) |
21:35:21 | * | ephja quit (Quit: WeeChat 1.3) |
22:18:17 | * | pregressive quit (Remote host closed the connection) |
22:30:43 | * | brson joined #nim |
22:38:35 | * | zemm_ quit (Ping timeout: 264 seconds) |
22:39:08 | * | zemm joined #nim |
22:44:24 | mat4 | does there exist the possibility to import all definations of a module inclusive private ones ? |
22:44:35 | * | zemm quit (Ping timeout: 264 seconds) |
22:44:37 | * | desophos joined #nim |
22:44:49 | * | zemm joined #nim |
22:44:54 | mat4 | (beside 'include') |
22:47:04 | * | pregressive joined #nim |
22:49:19 | * | wan quit (Quit: WeeChat 1.3) |
22:49:52 | * | zemm quit (Ping timeout: 276 seconds) |
22:50:28 | * | zemm joined #nim |
22:52:56 | * | Sornaensis quit (Excess Flood) |
22:53:23 | * | Sornaensis joined #nim |
22:56:34 | * | desophos quit (Remote host closed the connection) |
22:58:03 | * | desophos joined #nim |
23:01:58 | * | Demon_Fox quit (Ping timeout: 260 seconds) |
23:04:49 | * | antoniomo quit (Quit: WeeChat 1.3) |
23:08:15 | gmpreussner|work | mat4: make the symbols not private? |
23:08:29 | gmpreussner|work | other than that, include is the way to go |
23:08:41 | gmpreussner|work | import for private symbols seems like a bad idea |
23:10:08 | * | saml quit (Quit: Leaving) |
23:15:16 | * | desophos quit (Remote host closed the connection) |
23:15:54 | * | pregressive quit (Remote host closed the connection) |
23:18:12 | * | pregressive joined #nim |
23:21:00 | * | desophos joined #nim |
23:28:21 | * | pregressive quit (Remote host closed the connection) |
23:28:59 | * | yglukhov quit (Remote host closed the connection) |
23:30:15 | * | Jesin joined #nim |
23:33:31 | * | desophos_ joined #nim |
23:33:45 | * | desophos quit (Ping timeout: 265 seconds) |
23:38:37 | * | desophos_ quit (Ping timeout: 276 seconds) |
23:48:02 | * | Kingsquee joined #nim |
23:48:57 | * | mat4 quit (Quit: Leaving) |
23:50:49 | * | elrood quit (Quit: Leaving) |
23:58:50 | * | makoLine quit (Read error: Connection reset by peer) |