<< 23-07-2014 >>

00:00:10Araqbtw we should really think about: type Path = distinct string
00:00:17Araqbye
00:02:37*boydgreenfield quit (Quit: boydgreenfield)
00:10:52*boydgreenfield joined #nimrod
00:12:07*woodgiraffe quit (Ping timeout: 256 seconds)
00:14:44*woodgiraffe joined #nimrod
00:37:34*boydgreenfield quit (Quit: boydgreenfield)
00:43:06*boydgreenfield joined #nimrod
00:43:33*brson quit (Ping timeout: 240 seconds)
01:01:48Skrylarhm.
01:02:36SkrylarI was hoping a macro could resolve an identifier to an object name.
01:06:21*bjz_ joined #nimrod
01:26:00*q66 quit (Quit: Leaving)
01:31:00boydgreenfieldQuick question for anyone that’s up — if I wanted to submit a PR to add support for the MAP_POPULATE flag with mmap on Linux systems, would people want it to be an optional argument to memfiles.open() or a default flag that’s always on? (In my experience, I’ve never seen MAP_POPULATE hurt, though it can help a lot with page faults in some cases).
01:31:32*ics quit (Ping timeout: 245 seconds)
01:34:14*bjz_ quit (Quit: Textual IRC Client: www.textualapp.com)
01:35:53*boydgreenfield quit (Quit: boydgreenfield)
01:38:03flaviuHow about an optional default?
01:38:21flaviuoh, a bit late
01:41:09*ics joined #nimrod
01:56:23*flaviu quit (Ping timeout: 264 seconds)
02:07:28*Fx00F joined #nimrod
02:16:54*saml_ joined #nimrod
02:33:19*flaviu joined #nimrod
02:48:07*ics quit (Ping timeout: 245 seconds)
03:10:46*ics joined #nimrod
03:12:44*BitPuffin quit (Ping timeout: 260 seconds)
03:12:52*bugsnrugs joined #nimrod
03:14:47*bugsnrugs quit (Client Quit)
03:16:28*ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
03:17:36*bugsnrugs joined #nimrod
03:26:46*ics joined #nimrod
03:32:21*xenagi quit (Quit: Leaving)
03:34:19*saml_ quit (Ping timeout: 250 seconds)
03:36:29*mwbrown quit (Ping timeout: 250 seconds)
04:01:08*Jesin quit (Quit: Leaving)
04:09:25*flaviu quit (Ping timeout: 250 seconds)
04:10:04*bugsnrugs quit (Quit: This computer has gone to sleep)
04:48:09*Jesin joined #nimrod
04:53:48*Jesin quit (Quit: Leaving)
04:55:07*Jesin joined #nimrod
04:55:18*Jesin quit (Read error: Connection reset by peer)
04:56:51*Jesin joined #nimrod
04:58:33*gsingh93 joined #nimrod
05:02:37*Varriount_ joined #nimrod
05:05:16*Varriount quit (Ping timeout: 240 seconds)
05:06:58*nande quit (Remote host closed the connection)
05:31:17*kshlm joined #nimrod
05:37:49*bsoist joined #nimrod
05:38:52*boydgreenfield joined #nimrod
05:45:03boydgreenfieldOops sorry I got disconnected shortly after asking that. Will try and follow up tomorrow. (Question was re: community preference on structuring a PR for adding the MAP_POPULATE flag into the memfiles.nim module)
05:45:58*bsoist quit (Remote host closed the connection)
05:58:27*Fx00F quit (Quit: leaving)
06:38:35*bjz quit (Ping timeout: 256 seconds)
06:50:41*boydgreenfield quit (Quit: boydgreenfield)
06:50:53*bjz joined #nimrod
07:02:14*Demos quit (Read error: Connection reset by peer)
07:07:16*goobles joined #nimrod
07:21:41*kunev joined #nimrod
07:41:52*johnsoft quit (Ping timeout: 245 seconds)
07:42:53*johnsoft joined #nimrod
08:21:41*darkf quit (Read error: Connection reset by peer)
08:23:11*darkf joined #nimrod
09:02:42*q66 joined #nimrod
09:03:14*BitPuffin joined #nimrod
09:21:33*darkf_ joined #nimrod
09:23:35*darkf quit (Ping timeout: 250 seconds)
09:27:31*darkf_ is now known as darkf
09:59:33*johnsoft quit (Ping timeout: 240 seconds)
10:00:46*johnsoft joined #nimrod
10:41:03*bdsatish joined #nimrod
10:43:16*EXetoC joined #nimrod
10:43:38*EXetoC quit (Client Quit)
10:46:55*io2 joined #nimrod
11:25:03*xenagi joined #nimrod
11:56:09*mwbrown joined #nimrod
11:56:15*saml_ joined #nimrod
11:56:54*bdsatish left #nimrod (#nimrod)
12:29:46*xenagi quit (Quit: Leaving)
12:31:54*flaviu joined #nimrod
12:33:37*untitaker quit (Ping timeout: 245 seconds)
12:39:55*untitaker joined #nimrod
12:44:32*malthe joined #nimrod
12:44:44maltheis the emacs nimrod-mode.el actively maintained?
12:44:48maltheI can't install under emacs 24
12:48:09flaviumalthe: It doesn't seem to have an active maintainer, but a few people seem to have forked it on github.
12:48:37flaviulooking over the forks, https://github.com/lyro/nimrod-mode has been updated most recently
12:56:25*saml_ quit (Quit: Leaving)
12:59:49*mwbrown quit (Ping timeout: 250 seconds)
12:59:57def-I made my random nimrod code into testcases (which is where the recent issues come from). A lot breaks with tcc and cpp, should I extract bug reports from them?
13:04:12def-Oh, and it's here in case someone wants to keep their CPU busy: https://github.com/def-/nimrod-unsorted/blob/master/test_all.nim
13:38:19gooblesnimrod so boss
13:38:24gooblesu inject statements
13:38:32gooblesand somehow that compiles nimrod
13:39:53goobleswhat does {.inject.} do
13:42:14*darkf quit (Quit: Leaving)
13:43:40flaviuit inserts that variable into the target code with that name
13:43:58flaviuif you call a template that injects foo, you can use foo as a variable
13:50:27goobles let it {.inject.} = name
13:50:34gooblesso that replaces the inject with contents of name?
14:00:33*kshlm quit (Ping timeout: 240 seconds)
14:03:30*Demos joined #nimrod
14:17:59*johnsoft quit (Ping timeout: 264 seconds)
14:18:41*johnsoft joined #nimrod
14:35:08flaviugoobles: no, it means that outside the template, I can do it[123], foo(it) or any other operation with foo
14:35:35flaviuit sets a variable `it`, outside the scope of the template, to `name`
14:39:41*malthe quit (Ping timeout: 256 seconds)
15:27:03*BitPuffin quit (Ping timeout: 240 seconds)
15:33:20gooblesanyone use nimrod 4 real stuff, or everyone just work on nimrod to learn nimrod
15:35:40*Trustable joined #nimrod
15:38:31flaviuJehan is doing some math stuff, Skrylar is making a game, filwit is making a game engine, Araq is doing something super secret, another guy is using it for one-off programs
15:41:42*mwbrown joined #nimrod
15:42:05gooblesoh, what u use it for?
15:42:24flaviuNothing really, I just mess around with it
15:43:23DemosI am learning graphics programming using nimrod
15:43:26Demosquite delightful really
15:43:35Demoseven when using pretty low level C libraries
15:55:55*brson joined #nimrod
15:57:41*BitPuffin joined #nimrod
16:10:22*Matthias247 joined #nimrod
16:25:42*kunev quit (Ping timeout: 245 seconds)
16:26:01*shodan45 joined #nimrod
16:52:11*BitPuffin quit (Ping timeout: 264 seconds)
16:57:30*BitPuffin joined #nimrod
17:08:50*Matthias247 quit (Read error: Connection reset by peer)
17:15:54*ics quit (Ping timeout: 255 seconds)
17:16:25*boydgreenfield joined #nimrod
17:17:52*ics joined #nimrod
17:19:29*BitPuffin quit (Ping timeout: 255 seconds)
17:22:45*Trustable quit (Quit: Leaving)
17:26:41*BitPuffin joined #nimrod
17:32:18*kunev joined #nimrod
17:46:59*leru joined #nimrod
18:27:25*flaviu quit (Read error: Connection reset by peer)
18:28:14*flaviu joined #nimrod
18:30:41*Ven joined #nimrod
18:55:38*kunev quit (Ping timeout: 260 seconds)
19:27:12*kunev joined #nimrod
19:45:52*Fx00F joined #nimrod
19:46:50*bugsnrugs joined #nimrod
19:46:54*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
19:48:51*malthe joined #nimrod
19:52:16*Ven joined #nimrod
19:55:59*bugsnrugs quit (Quit: Leaving)
20:01:53jh32hi, what would be the right way to get the free-/dfly-bsd build fix in (http://flpsed.org/tmp/nimrod_dfly.diff)?
20:05:32*Johz joined #nimrod
20:11:48flaviujh32: Development is on github, so just send a PR to https://github.com/Araq/Nimrod
20:13:28jh32ok, thanks
20:22:49*adoniscik joined #nimrod
20:26:10*kunev quit (Ping timeout: 260 seconds)
20:30:12*eigenlicht joined #nimrod
20:30:13Araqjh32: this is not a PR
20:30:28AraqI can of course apply it anyway
20:32:06jh32ah sorry, whatever is easier for you
20:32:52*leru quit (Ping timeout: 246 seconds)
20:41:31*Jehan_ joined #nimrod
21:02:56Araqdom96: why is only processClient produced?
21:03:18AraqI mean only its generated code is listed when compiling asynchttpserver
21:03:51dom96Araq: Because I limited it to that
21:04:05dom96otherwise there is too much output from other functions
21:10:48*BlameStross quit (Ping timeout: 240 seconds)
21:11:42*BlameStross joined #nimrod
21:12:50*jyc left #nimrod ("Leaving")
21:15:37*Jehan_ quit (Quit: Leaving)
21:15:48*BlameStross quit (Ping timeout: 240 seconds)
21:16:27*Jehan_ joined #nimrod
21:21:04*nande joined #nimrod
21:22:37*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
21:35:29*BlameStross joined #nimrod
21:43:22*Mat3 joined #nimrod
21:43:29Mat3hi all
21:46:30adoniscikhello there
21:48:04Araqservus
21:48:44*io2 quit (Quit: ...take irc away, what are you? genius, billionaire, playboy, philanthropist)
21:51:03AraqMat3: how's the progress on the native code backend?
21:51:31*Johz quit (Quit: Leaving)
21:59:28*zahary quit (Quit: Leaving.)
22:00:59Mat3hi Araq
22:01:08*BitPuffin quit (Ping timeout: 260 seconds)
22:01:45AraqMat3: how's the progress on the native code backend?
22:01:50Mat3the code generator is finished (beside some bug fixing)
22:02:07Araqyay
22:02:21Araqhow do we integrate it into the core?
22:03:05dom96Mat3: when can I try it? :P
22:04:23Mat3I'm working currently on a little monitor program which can be used by Nimrod's code generator
22:04:55Mat3another possibitlity would be writing a backend for Small C
22:05:50Mat3the first approach would have the advantage of possible code introspection (?) at runtime
22:07:47Mat3^possibility
22:08:48dom96Is it currently integrated with the Nimrod compiler? if not then how does it work?
22:09:16AraqMat3: I think the best way is to copy&paste&modify vmgen.nim to use your code generator instead of generating bytecode
22:09:38*boydgreenfield quit (Quit: boydgreenfield)
22:10:18Araqbut it also depends on whether you generate the ELF/EXE/OBJ format or not
22:12:15AraqMat3: your codegen is designed for JIT compilation, right?
22:12:23Mat3yes
22:12:58Mat3dom96: think of it in terms of JIT compilation
22:17:15Mat3Araq: there exist an inline assembler already so I hope to patch your vm
22:17:45Mat3I can also try patching cgen for direct native-code generation
22:17:55Araqyup
22:18:06*shodan45 quit (Quit: Konversation terminated!)
22:18:25Araqwell I can only guess what is easier to modify
22:19:07Araqbut I guess vmgen is much easier to work with
22:19:34Mat3simply let's try and see
22:21:53*Trustable joined #nimrod
22:22:17Mat3beside: Does see someone a demand for ARMv8 devices (would be easy to write a backend) ?
22:23:24dom96I think demand will be there. Smartphones dominate nowadays.
22:25:17*malthe quit (Ping timeout: 245 seconds)
22:26:20Mat3ok, I add the port to my list
22:27:02dom96Mat3: Which CPUs will/does your backend support?
22:29:00Araqbtw there is a new small C compiler that is worth checking out: https://github.com/rui314/8cc
22:29:15Araqonly generates code for x86_64 afaict
22:29:40Mat3x86_64, x86 at current
22:29:49Araqbut somebody should try it out
22:31:45Mat3I plan to add ARMv7, PowerPC and Coldfire backends + ARMv8
22:31:50Mat3at current
22:32:16AraqARM is most important
22:33:59Mat3right, other ports can wait
22:37:11Mat3get some sleep, ciao
22:38:43*Mat3 quit (Quit: Verlassend)
22:42:53*darkf joined #nimrod
22:43:30*Trustable quit (Quit: Leaving)
22:46:53dom96Araq: looks interesting
22:49:22*mwbrown quit (Ping timeout: 245 seconds)
23:04:07*Fx00F quit (Quit: leaving)
23:22:09*ics quit (Ping timeout: 256 seconds)
23:27:12*boydgreenfield joined #nimrod
23:28:09*Jehan_ quit (Quit: Leaving)
23:31:08*BitPuffin joined #nimrod
23:31:30*mwbrown joined #nimrod
23:32:58flaviuIt looks like seqs are not covariant unfortunatly
23:33:56flaviuIts not technically safe, but it really limits usefulness without casts
23:36:08*ics joined #nimrod