00:05:42 | * | EXetoC quit (Ping timeout: 265 seconds) |
00:27:59 | * | pingjocky joined #nim |
00:28:19 | * | pingjocky left #nim (#nim) |
00:29:10 | * | yglukhov joined #nim |
00:34:12 | * | yglukhov quit (Ping timeout: 272 seconds) |
01:04:28 | * | NimBot joined #nim |
01:09:44 | * | bendiken joined #nim |
01:20:11 | * | NimBot joined #nim |
01:23:06 | * | thotypous quit (Ping timeout: 240 seconds) |
01:24:09 | * | thotypous joined #nim |
01:31:09 | * | gunn quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
01:32:11 | * | gunn joined #nim |
01:34:19 | * | bendiken_ joined #nim |
01:36:10 | * | Raimondi joined #nim |
01:37:10 | * | bendiken quit (Ping timeout: 240 seconds) |
01:37:31 | * | bendiken_ is now known as bendiken |
01:38:05 | * | jaco60 quit (Ping timeout: 244 seconds) |
01:38:17 | * | NimBot joined #nim |
01:42:02 | * | bendiken quit () |
01:42:39 | * | chemist69 joined #nim |
01:43:01 | * | bendiken joined #nim |
01:45:30 | * | chemist69_ quit (Ping timeout: 250 seconds) |
01:59:41 | * | vendethiel joined #nim |
02:19:11 | * | bendiken quit () |
02:19:52 | * | bendiken joined #nim |
02:22:05 | * | Enamex quit (Ping timeout: 240 seconds) |
02:22:26 | * | vendethiel quit (Ping timeout: 240 seconds) |
02:37:55 | * | Kingsquee joined #nim |
03:07:09 | * | NimBot joined #nim |
03:13:40 | * | bendiken quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
03:14:30 | * | bendiken joined #nim |
03:15:23 | * | FedeOmoto joined #nim |
03:24:46 | * | bendiken quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
03:25:34 | * | bendiken joined #nim |
03:33:59 | * | darkf joined #nim |
03:35:52 | * | bendiken quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
03:36:35 | * | bendiken joined #nim |
03:46:50 | * | bendiken quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
03:47:29 | * | bendiken joined #nim |
03:56:09 | * | umurgdk joined #nim |
03:57:47 | * | bendiken quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
03:58:26 | * | bendiken joined #nim |
04:01:00 | * | umurgdk quit (Ping timeout: 264 seconds) |
04:07:12 | * | NimBot joined #nim |
04:27:17 | * | bendiken quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
04:28:06 | * | bendiken joined #nim |
04:42:32 | * | BitPuffin|osx quit (Ping timeout: 244 seconds) |
05:07:42 | * | yglukhov joined #nim |
05:11:53 | * | FedeOmoto quit (Quit: Leaving) |
05:12:23 | * | yglukhov quit (Ping timeout: 256 seconds) |
05:13:18 | * | NimBot joined #nim |
05:13:43 | * | bendiken quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
05:14:33 | * | bendiken joined #nim |
05:26:18 | * | gokr joined #nim |
05:29:15 | * | NimBot joined #nim |
06:19:50 | * | Enamex joined #nim |
06:23:26 | * | umurgdk joined #nim |
06:26:53 | * | umurgdk quit (Remote host closed the connection) |
06:27:11 | * | umurgdk joined #nim |
06:27:33 | * | umurgdk quit (Client Quit) |
06:31:37 | * | enamex_campus joined #nim |
06:32:46 | * | kilon quit (Read error: Connection reset by peer) |
06:33:45 | * | kilon joined #nim |
06:46:27 | * | Enamex quit (Ping timeout: 256 seconds) |
07:03:18 | * | Enamex joined #nim |
07:05:35 | * | Ven joined #nim |
07:10:50 | * | enamex_campus quit (Quit: Page closed) |
07:25:45 | * | Demon_Fox quit (Quit: Leaving) |
07:28:10 | * | EXetoC joined #nim |
07:28:27 | * | Trustable joined #nim |
07:39:28 | * | kilon quit () |
07:50:43 | * | chemist69 quit (Quit: WeeChat 1.3) |
08:10:36 | * | coffeepot joined #nim |
08:12:22 | NimBot | nim-lang/Nim devel bbe4afc Araq [+0 ±1 -0]: fixes #1782 |
08:14:40 | * | chemist69 joined #nim |
08:16:49 | * | bendiken quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
08:17:37 | * | bendiken joined #nim |
08:24:05 | * | Kingsquee quit (Read error: Connection reset by peer) |
08:24:11 | * | Kingsqueee joined #nim |
08:24:45 | * | bjz joined #nim |
08:25:53 | * | yglukhov joined #nim |
08:45:29 | * | yglukhov quit (Remote host closed the connection) |
08:46:05 | * | yglukhov joined #nim |
08:50:29 | * | yglukhov quit (Ping timeout: 244 seconds) |
08:56:08 | * | NimBot joined #nim |
08:56:12 | * | jaco60 joined #nim |
08:57:21 | * | yglukhov joined #nim |
09:03:38 | * | yglukhov quit (Ping timeout: 260 seconds) |
09:04:04 | * | M-max quit (Remote host closed the connection) |
09:05:16 | * | NimBot joined #nim |
09:09:05 | * | Enamex quit (Ping timeout: 244 seconds) |
09:09:42 | * | Ven quit (Ping timeout: 260 seconds) |
09:12:54 | * | yglukhov joined #nim |
09:22:44 | * | M-max joined #nim |
09:27:56 | * | Enamex joined #nim |
09:46:57 | * | yglukhov_ joined #nim |
09:46:57 | * | yglukhov quit (Read error: Connection reset by peer) |
09:55:59 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
09:56:45 | * | bjz joined #nim |
10:02:26 | * | bendiken quit () |
10:13:33 | * | Enamex quit (Ping timeout: 246 seconds) |
10:26:22 | * | yglukhov_ quit (Remote host closed the connection) |
10:31:44 | * | Enamex joined #nim |
10:32:48 | * | infinity0 joined #nim |
10:38:53 | * | yglukhov joined #nim |
10:46:33 | * | strcmp1 joined #nim |
10:50:52 | * | Enamex quit (Ping timeout: 244 seconds) |
10:52:31 | * | elrood joined #nim |
10:58:17 | * | raza joined #nim |
11:08:29 | * | mikolalysenko quit (Ping timeout: 244 seconds) |
11:10:02 | * | mikolalysenko joined #nim |
11:21:49 | * | Kingsqueee quit (Quit: http://i.imgur.com/EsXzoum.png) |
11:22:08 | * | Ven joined #nim |
11:23:52 | * | Enamex joined #nim |
11:53:02 | * | smodo joined #nim |
11:56:09 | * | pregressive joined #nim |
11:58:53 | * | Demon_Fox joined #nim |
12:07:45 | * | Enamex quit (Ping timeout: 255 seconds) |
12:08:30 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
12:14:11 | * | Enamex joined #nim |
12:20:05 | * | pregress_ joined #nim |
12:21:28 | * | pregressive quit (Ping timeout: 246 seconds) |
12:38:55 | * | BitPuffin joined #nim |
12:43:52 | * | pregress_ quit (Remote host closed the connection) |
12:45:05 | * | Noein joined #nim |
12:47:21 | * | Enamex quit (Ping timeout: 255 seconds) |
12:47:35 | * | pregressive joined #nim |
12:47:56 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
12:48:55 | * | pregressive quit (Read error: Connection reset by peer) |
12:49:00 | * | pregress_ joined #nim |
12:55:15 | * | Ven joined #nim |
12:56:21 | * | FedeOmoto joined #nim |
13:05:55 | * | pregress_ quit (Remote host closed the connection) |
13:13:22 | * | pregressive joined #nim |
13:17:27 | * | softinio joined #nim |
13:17:43 | * | pregressive quit (Ping timeout: 252 seconds) |
13:22:44 | * | softinio quit (Remote host closed the connection) |
13:24:56 | * | softinio joined #nim |
13:32:21 | * | softinio quit (Ping timeout: 255 seconds) |
13:37:23 | * | softinio joined #nim |
13:39:00 | * | enamex_campus joined #nim |
13:41:36 | * | Demos joined #nim |
13:45:18 | * | Noein quit (Ping timeout: 246 seconds) |
13:47:34 | * | softinio quit (Ping timeout: 244 seconds) |
13:51:24 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
13:52:30 | * | Ven joined #nim |
13:53:00 | * | rkj-b joined #nim |
13:56:30 | * | Noein joined #nim |
13:58:29 | * | softinio joined #nim |
14:05:34 | * | softinio quit (Ping timeout: 260 seconds) |
14:10:52 | * | drewsrem joined #nim |
14:11:51 | * | Enamex joined #nim |
14:12:20 | * | saml joined #nim |
14:13:11 | * | coffeepot joined #nim |
14:13:51 | * | keyle quit (Quit: http://twitter.com/keyle/) |
14:14:55 | * | Noein quit (Ping timeout: 265 seconds) |
14:18:13 | * | kilon joined #nim |
14:20:11 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
14:20:30 | * | Enamex quit (Ping timeout: 255 seconds) |
14:22:52 | * | softinio joined #nim |
14:24:52 | * | Ven joined #nim |
14:27:06 | * | pregressive joined #nim |
14:27:23 | * | softinio quit (Ping timeout: 252 seconds) |
14:31:21 | * | Demos quit (Ping timeout: 265 seconds) |
14:31:27 | * | pregressive quit (Remote host closed the connection) |
14:35:41 | * | Demos joined #nim |
14:36:23 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
14:36:26 | * | softinio joined #nim |
14:38:27 | * | raza quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
14:40:19 | * | softinio_ joined #nim |
14:40:51 | * | softinio quit (Ping timeout: 250 seconds) |
14:41:15 | * | NimBot joined #nim |
14:41:18 | * | softinio_ quit (Remote host closed the connection) |
14:46:44 | * | bjz joined #nim |
14:50:40 | * | softinio joined #nim |
14:53:19 | softinio | hi just discovered nim |
14:53:33 | reactormonk | softinio, o/ |
14:53:37 | softinio | how close are we to a release 1.0? How stable to use in production ? |
14:54:06 | softinio | First impressions I have are very good so am excited to justify learning and using it over languagaes like go |
14:54:34 | r-ku | its stable and its used in production |
14:55:23 | dom96 | hello softinio |
14:55:26 | dom96 | welcome! |
14:56:06 | softinio | @r-ku Good to know |
14:56:10 | softinio | @dom96 ty |
14:56:13 | * | Enamex joined #nim |
14:56:31 | softinio | other than the docs on nim website, any other resources I should know about? |
14:56:42 | dom96 | http://howistart.org/posts/nim/1 |
14:56:56 | dom96 | https://nim-by-example.github.io/ |
14:56:58 | dom96 | Are good |
14:57:48 | r-ku | rosetta-code has quite a lot nim examples |
14:59:24 | * | pregressive joined #nim |
14:59:45 | enamex_campus | Are there any important discussion threads/posts/whetever on (current plans for) Concepts in Nim? /Besides/ that they're not gonna make it into 1.0 |
15:00:42 | reactormonk | enamex_campus, I felt like pushing them, but apparently not enough to do something about it |
15:01:44 | enamex_campus | Mmm, I'm more interested in the proposed semantics. AIUI, the problems were mostly with implementation? But not all semantics were published and, 'cause the implementation was incomplete, um, what? |
15:03:14 | EXetoC | yes there are bugs that prevents many use cases from working |
15:04:47 | * | enamex_campus quit (Quit: Page closed) |
15:09:12 | * | Demos quit (Ping timeout: 244 seconds) |
15:10:40 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
15:14:25 | * | Ven joined #nim |
15:15:50 | * | gunn quit (Ping timeout: 240 seconds) |
15:28:52 | * | Enamex quit (Ping timeout: 265 seconds) |
15:31:45 | * | yglukhov_ joined #nim |
15:32:17 | NimBot | nim-lang/Nim devel aeff576 Yuriy Glukhov [+0 ±1 -0]: Fixed JS gen for generic array types. |
15:32:17 | NimBot | nim-lang/Nim devel 272df1e Andreas Rumpf [+0 ±1 -0]: Merge pull request #3325 from yglukhov/js-generic-types-fix... 2 more lines |
15:35:02 | * | yglukhov quit (Ping timeout: 244 seconds) |
15:35:54 | * | yglukhov_ quit (Ping timeout: 246 seconds) |
15:37:58 | NimBot | nim-lang/Nim devel 6b8bd2b Roger Shi [+0 ±1 -0]: Fix issue #2245 |
15:37:58 | NimBot | nim-lang/Nim devel 8f9ce52 Roger Shi [+0 ±1 -0]: fix #2367 |
15:37:58 | NimBot | nim-lang/Nim devel 58e1068 Roger Shi [+0 ±1 -0]: test case for #2245 |
15:37:58 | NimBot | nim-lang/Nim devel 16fe631 Roger Shi [+0 ±1 -0]: test case for #2367 |
15:37:58 | NimBot | 1 more commits. |
15:41:44 | * | Demos joined #nim |
15:41:59 | * | pregressive quit (Remote host closed the connection) |
15:43:30 | * | pregressive joined #nim |
15:46:26 | gokr | softinio: You may like some of my articles: http://goran.krampe.se/category/nim |
15:48:40 | EXetoC | bias ;) |
15:49:26 | gokr | I hope some of them can be of use :) |
15:51:27 | EXetoC | yeah read them! |
15:52:07 | * | softinio quit (Remote host closed the connection) |
15:52:51 | * | softinio joined #nim |
15:54:06 | * | Demos quit (Ping timeout: 255 seconds) |
15:54:21 | * | rkj-b quit (Quit: ChatZilla 0.9.92 [Firefox 40.0.3/20150826023504]) |
15:57:15 | * | softinio quit (Ping timeout: 256 seconds) |
15:57:33 | * | Ven quit (Ping timeout: 250 seconds) |
15:57:57 | * | Sembei joined #nim |
16:02:57 | * | softinio joined #nim |
16:03:50 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
16:06:49 | * | Demon_Fox_ joined #nim |
16:06:52 | * | Demon_Fox quit (Ping timeout: 246 seconds) |
16:07:10 | * | softinio quit (Ping timeout: 240 seconds) |
16:09:34 | * | softinio joined #nim |
16:20:26 | * | Enamex joined #nim |
16:21:43 | * | softinio quit (Remote host closed the connection) |
16:22:09 | * | softinio joined #nim |
16:27:15 | softinio | gokr: thanks ! I actually first heard about nim by reading this: http://goran.krampe.se/2014/10/20/i-missed-nim/ I had not looked for other articles on your blog (assume it is your blog) so thanks to you posting link will look at some of them now |
16:28:04 | * | pregressive quit (Remote host closed the connection) |
16:29:27 | * | Enamex quit (Ping timeout: 246 seconds) |
16:30:32 | * | Demon_Fox_ quit (Quit: Leaving) |
16:31:33 | * | pregressive joined #nim |
16:35:53 | * | Enamex joined #nim |
16:47:56 | * | softinio quit (Remote host closed the connection) |
16:51:44 | * | softinio joined #nim |
16:54:29 | * | Sembei quit (Ping timeout: 256 seconds) |
16:57:16 | * | vendethiel joined #nim |
16:57:30 | * | yglukhov joined #nim |
17:01:45 | * | yglukhov quit (Ping timeout: 252 seconds) |
17:05:13 | * | iamd3vil joined #nim |
17:15:43 | * | yglukhov joined #nim |
17:19:57 | softinio | whats nim's learning curve like compared to Go for an experienced C/Python dev would you say? |
17:27:40 | dom96 | softinio: I'd say the learning curve is similar for the basics of the two languages. |
17:27:47 | * | strcmp1 quit (Ping timeout: 252 seconds) |
17:27:56 | dom96 | For the more advanced stuff Nim's learning curve is higher. |
17:28:19 | * | strcmp1 joined #nim |
17:28:23 | softinio | @dom96 for the advanced stuff is it as steep as rust would u say |
17:28:41 | dom96 | Don't think so |
17:28:56 | softinio | @dom96 ok thanks |
17:30:11 | * | Enamex quit (Ping timeout: 265 seconds) |
17:31:01 | Araq | Rust still has a plenty of different pointer types. that all but 2 or 3 are implemented in the stdlib and are not built into the language doesn't really help. IMHO |
17:39:54 | * | M-max quit (Remote host closed the connection) |
17:49:41 | * | pregressive quit (Remote host closed the connection) |
17:50:26 | * | pregressive joined #nim |
17:50:36 | * | pregressive quit (Remote host closed the connection) |
17:51:50 | * | pregressive joined #nim |
17:52:52 | * | softinio quit (Remote host closed the connection) |
17:56:24 | * | softinio joined #nim |
17:58:48 | * | M-max joined #nim |
18:01:41 | * | Enamex joined #nim |
18:06:40 | Araq | Enamex: currently I think 'concept' has a much better chance of getting stable than static[T] ... |
18:10:36 | * | Enamex quit (Ping timeout: 246 seconds) |
18:11:30 | * | Enamex joined #nim |
18:16:34 | * | unclechu joined #nim |
18:16:39 | * | unclechu quit (Max SendQ exceeded) |
18:17:21 | * | unclechu joined #nim |
18:17:25 | * | unclechu quit (Max SendQ exceeded) |
18:17:28 | * | Matthias247 joined #nim |
18:17:48 | * | darkf quit (Quit: Leaving) |
18:27:21 | * | NimBot joined #nim |
18:30:31 | * | NimBot joined #nim |
18:32:53 | * | NimBot joined #nim |
18:34:51 | * | NimBot joined #nim |
18:43:06 | * | BitPuffin quit (Ping timeout: 240 seconds) |
18:43:53 | NimBot | nim-lang/Nim devel 6ac2ba1 Yuriy Glukhov [+0 ±2 -0]: Uint64 to string in pure nim. array[char] to string fixed in vm. |
18:43:53 | NimBot | nim-lang/Nim devel be43467 Andreas Rumpf [+0 ±2 -0]: Merge pull request #3322 from yglukhov/fix-uint64-str-vm... 2 more lines |
18:45:53 | Araq | can somebody explain to me why so many people use "Unix sockets"? aren't these by definition non-portable beasts? |
18:49:02 | ldlework | they're fast, and safe |
18:51:53 | * | Sembei joined #nim |
18:54:30 | * | boopisaway is now known as boop |
18:58:28 | * | iamd3vil quit (Remote host closed the connection) |
18:59:39 | * | Sembei quit (Quit: WeeChat 1.4-dev) |
19:04:00 | * | aziz joined #nim |
19:16:18 | * | softinio quit (Remote host closed the connection) |
19:16:43 | * | softinio joined #nim |
19:20:39 | * | softinio quit (Remote host closed the connection) |
19:25:40 | * | softinio joined #nim |
19:26:42 | * | softinio quit (Remote host closed the connection) |
19:28:09 | * | softinio joined #nim |
19:33:33 | * | softinio quit (Ping timeout: 246 seconds) |
19:35:50 | * | softinio joined #nim |
19:40:27 | * | Sembei joined #nim |
19:42:05 | * | umurgdk joined #nim |
19:43:58 | softinio | is there a contributors guide for nim? |
19:47:30 | * | yglukhov quit (Remote host closed the connection) |
19:51:08 | * | matkuki joined #nim |
19:53:05 | * | enquora joined #nim |
19:58:45 | * | Mat4 joined #nim |
19:59:15 | dom96 | softinio: https://github.com/nim-lang/Nim/blob/devel/contributing.rst |
19:59:48 | softinio | @dom96 ty |
20:01:32 | Mat4 | hello |
20:02:11 | * | FedeOmoto quit (Quit: Leaving) |
20:02:38 | * | FedeOmoto joined #nim |
20:10:17 | * | umurgdk quit (Read error: Connection reset by peer) |
20:11:03 | * | umurgdk joined #nim |
20:14:02 | * | smodo quit (Ping timeout: 265 seconds) |
20:15:21 | softinio | I wish nim didn't have the $ operator. Though its clever it reminds of php and it upsets me :-) |
20:15:43 | softinio | just a joke like it really |
20:15:53 | softinio | I hate PHP fyi !!! |
20:16:51 | Mat4 | what operator would you prefer ? |
20:19:18 | softinio | it was a joke I am good with $ |
20:19:45 | Mat4 | ok |
20:20:23 | softinio | I use a mac and use homebrew for installing packages. Oddly nim is still called nimrod on homebrew |
20:32:57 | matkuki | What (if any) is the prefered mechanism in Nim that can be used as an interface? An inheritable base type with proc attributes? |
20:44:57 | * | Trustable quit (Remote host closed the connection) |
20:50:08 | Mat4 | ask Aaq |
20:50:18 | Mat4 | sorry Araq |
20:50:53 | Mat4 | also I think readed something about interfaces in the documentation yesterday |
20:51:24 | * | softinio quit (Remote host closed the connection) |
20:51:42 | * | softinio joined #nim |
20:52:51 | matkuki | Mat4: which document was it in? |
20:55:37 | dom96 | matkuki: concepts or object with closures |
20:56:30 | Mat4 | matkuki: Give me some time to take a look again, I'm work on some sources at moment |
20:56:58 | matkuki | dom96: Thanks! |
20:57:20 | Mat4 | ok, it was some explanation about concepts |
20:57:47 | matkuki | Mat4: Ok, thanks. |
20:59:48 | Araq | softinio: actually $ is a joke about perl, like "hey look! with a sane language you don't need weak typing that pretends scalar vs hash vs array is all you need to know about your types" |
21:01:09 | * | softinio quit (Remote host closed the connection) |
21:03:08 | * | softinio joined #nim |
21:07:31 | * | softinio quit (Ping timeout: 246 seconds) |
21:08:11 | * | Sembei quit (Read error: Connection reset by peer) |
21:10:30 | * | umurgdk quit (Read error: Connection reset by peer) |
21:11:07 | * | umurgdk joined #nim |
21:21:38 | * | pigmej quit (Remote host closed the connection) |
21:25:20 | * | umurgdk quit (Read error: Connection reset by peer) |
21:25:56 | * | umurgdk joined #nim |
21:29:22 | * | enquora quit (Quit: enquora) |
21:31:07 | * | kilon quit (Read error: Connection reset by peer) |
21:31:42 | * | kilon joined #nim |
21:34:33 | * | Sahnvour joined #nim |
21:35:04 | * | pregressive quit (Remote host closed the connection) |
21:38:04 | strcmp1 | Araq, OSX, Linux, and all the *BSDs support unix sockets. theyre def useful. i see them used as a medium between a proxy http server(apache) and http servers written in ruby often. |
21:38:27 | * | aziz quit (Remote host closed the connection) |
21:38:39 | strcmp1 | i am pretty sure its not unique to ruby. |
21:39:28 | NimBot | nim-lang/Nim devel ac16b15 Dominik Picheta [+0 ±1 -0]: Added more bugfixes to news.txt |
21:42:13 | Araq | strcmp1: but *why*? the sockets API is a pain in the butt either way, you might as well use "ordinary" sockets instead |
21:43:02 | strcmp1 | Araq, a TCP socket? yeah, it works, but if you have many ruby web servers on one host, a unix socket does not require binding each to a port. |
21:51:10 | drewsrem | Araq, you can pass file-descriptors only over Unix Sockets I think |
21:52:39 | drewsrem | And they might be faster? |
21:53:01 | reactormonk | drewsrem, might be linux-only even |
21:54:17 | drewsrem | At least Wiki claims "Linux and BSD" |
21:54:42 | * | boop is now known as boopisaway |
21:59:13 | drewsrem | I assume their prevalency is mostly due to efficiency tho. |
21:59:19 | * | yglukhov joined #nim |
21:59:34 | * | FedeOmoto quit (Quit: Leaving) |
22:02:25 | * | EXetoC quit (Ping timeout: 252 seconds) |
22:03:47 | * | yglukhov quit (Ping timeout: 264 seconds) |
22:04:26 | strcmp1 | drewsrem, i think this has been benched already, and TCP sockets on a local machine are as fast/faster. |
22:05:04 | drewsrem | strcmp1, random google results: http://stackoverflow.com/questions/14973942/performance-tcp-loopback-connection-vs-unix-domain-socket - got a link? |
22:05:26 | * | BitPuffin|osx joined #nim |
22:06:30 | drewsrem | strcmp1, I certainly see no reason that TCP sockets would be faster on a local machine, that would make absolutely no sense |
22:06:52 | strcmp1 | drewsrem, nope. you may very well be right, but i remember having this discussion with someone before but i was on the opposite side of the argument, and he provided a link or gist that basically argued you may as well use a TCP socket instead, and i thought speed was one of the reasons. it was probably not. |
22:09:20 | drewsrem | strcmp1, well w/o hearing the argument nor seeing at least some sort of bench... |
22:09:34 | strcmp1 | yep |
22:09:35 | strcmp1 | 1sec |
22:09:39 | strcmp1 | asking guy for a link |
22:15:17 | drewsrem | Araq, this also seems to be of interest from FreeBSD ML: https://lists.freebsd.org/pipermail/freebsd-performance/2005-February/001143.html |
22:18:18 | Mat4 | Unix sockets are designed for local usage. Dependent on the operating system this means there implementation is able to avoid some check-ups and routing. This can result in potential faster execution |
22:19:44 | drewsrem | You also can use fs pathnames as addresses which come with usual permissions I guess |
22:21:50 | Mat4 | in these case the complexity of the file system matters (and most modern file systems are very complex) |
22:22:32 | strcmp1 | yeah |
22:22:39 | strcmp1 | there are many cases where they're useful |
22:22:47 | drewsrem | That post from the FreeBSD ML was from 2005 and claims there is no optimizations over TCP loopback, " It's really TCP, it just goes over |
22:22:48 | drewsrem | a loopback interface by virtue of a special address" - you don't need to know much about systems programming to know that this is not what you want |
22:22:59 | strcmp1 | drewsrem, he hasn't replied. i say forget it, it looks like theyre faster. |
22:23:14 | drewsrem | strcmp1, they? |
22:23:27 | strcmp1 | unix sockets |
22:24:07 | drewsrem | strcmp1, agreed |
22:26:10 | drewsrem | Mat4, I'm unsure but I suspect unix socket inodes aren't actually stored on the fs on a medium, but sit above |
22:27:11 | drewsrem | So it shouldn't matter what underlying fs is mounted underneath, permissions for unix sockets should always work |
22:28:51 | Mat4 | I think the interface and function procession overhead of file systems can be a limiting factor (which depends on how an operating system is organized) |
22:29:45 | drewsrem | Mat4, unix sockets just uses pathnames as addresses, how is the fs involved in the actual communication? |
22:31:40 | Mat4 | because Unix oriented operating systems handles internal memory structures as files, should use an unified file oriented interface for various kernel calls for example |
22:32:35 | drewsrem | Mat4, I've lost you, I don't see how this relates to unix sockets vs tcp or udp for IPC |
22:33:43 | * | Matthias247 quit (Read error: Connection reset by peer) |
22:33:50 | drewsrem | In any case, another argument I would propose is that because unix sockets are that prevalent among userspace, kernel will quite obviously be optimized for them, instead of optimizing TCP loopbacks in a special treatment that unix sockets would not get. |
22:33:51 | Mat4 | I questioned the implementation of Unix sockets for Unix oriented operating systems (which I don't remember) |
22:34:31 | Mat4 | anyhow, wy not write a benchmark ? |
22:35:33 | drewsrem | Mat4, because Google returns me 4 on top that all agree with what I'd expect and I see no reason why adding additional levels of indirection would make things faster as well as what I wrote above |
22:35:50 | * | Mat4 found this an interesting excuse to take a look at kernel sources again |
22:37:38 | matkuki | dom96: I'm not familiar with concepts, can concepts check for procs/methods that can be applied to an object? |
22:38:26 | * | silven quit (Ping timeout: 260 seconds) |
22:38:49 | * | silven joined #nim |
22:39:00 | Mat4 | drewsrem: well, if you trust thouse benchmarks, then go on use Unix sockets |
22:39:01 | * | elrood quit (Quit: Leaving) |
22:44:54 | matkuki | Example: https://bpaste.net/show/d88525f143de . Keep in mind, I am totally new to concepts. |
22:45:50 | reactormonk | matkuki, IIRC concepts aren't fully supported yet, few bugs around |
22:46:17 | matkuki | reactormonk: Should they not be used yet? |
22:46:34 | Mat4 | ciao |
22:46:42 | * | Sahnvour quit (Read error: Connection reset by peer) |
22:47:00 | * | Kingsquee joined #nim |
22:47:10 | * | Mat4 quit (Quit: Konversation terminated!) |
22:49:11 | reactormonk | matkuki, you can use them, but there might be a few bugs - https://github.com/nim-lang/nim/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+concept |
22:50:00 | matkuki | reactormonk: Ok, can you look at the example and tell me if this is doable? |
22:51:03 | reactormonk | matkuki, I don't know :-( |
22:51:40 | matkuki | reactormonk: No problem, that make two of us :) |
22:54:37 | matkuki | Araq: Can you look at the example, please? Is it possible to do this kind of checking in the last line of the example? https://bpaste.net/show/d88525f143de |
22:56:08 | * | umurgdk quit (Read error: Connection reset by peer) |
22:56:42 | * | umurgdk joined #nim |
23:02:32 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
23:10:54 | * | umurgdk quit (Read error: Connection reset by peer) |
23:11:51 | * | umurgdk joined #nim |
23:12:19 | matkuki | bye |
23:12:22 | * | matkuki quit (Quit: ChatZilla 0.9.92 [Firefox 40.0.3/20150826023504]) |
23:14:34 | * | umurgdk quit (Remote host closed the connection) |
23:16:19 | Araq | cool we have an tdont_be_stupid test |
23:16:38 | Xe | lol |
23:18:56 | * | Noein joined #nim |
23:20:58 | * | NimBot joined #nim |
23:21:35 | * | Enamex quit (Ping timeout: 244 seconds) |
23:33:06 | * | redshitmuppet quit (Ping timeout: 255 seconds) |