00:29:08 | * | mac01021 quit (Ping timeout: 260 seconds) |
01:34:09 | * | ltbarcly_ joined #nimrod |
01:38:59 | * | ltbarcly_ quit (Ping timeout: 260 seconds) |
01:39:40 | * | ltbarcly_ joined #nimrod |
01:40:00 | * | ltbarcly_ quit (Client Quit) |
01:50:01 | * | ltbarcly_ joined #nimrod |
01:53:58 | * | ltbarcly_ quit (Client Quit) |
02:03:52 | * | BitPuffin joined #nimrod |
02:04:19 | * | q66 quit (Quit: Leaving) |
02:06:58 | * | BitPuffin_ joined #nimrod |
02:12:54 | * | XAMPP joined #nimrod |
03:25:16 | * | brson quit (Ping timeout: 240 seconds) |
03:52:23 | * | ltbarcly_ joined #nimrod |
03:59:36 | * | ltbarcly_ quit (Ping timeout: 260 seconds) |
04:00:52 | * | ltbarcly_ joined #nimrod |
04:02:28 | * | BitPuffin quit (Remote host closed the connection) |
04:05:46 | * | ltbarcly_ quit (Ping timeout: 256 seconds) |
04:06:29 | * | ltbarcly_ joined #nimrod |
04:15:28 | * | ltbarcly_ quit (Quit: Computer has gone to sleep.) |
04:29:56 | * | ltbarcly_ joined #nimrod |
04:38:49 | * | ltbarcly_ quit (Quit: Computer has gone to sleep.) |
04:48:29 | * | ltbarcly_ joined #nimrod |
04:50:34 | * | ltbarcly_ quit (Client Quit) |
04:59:40 | * | DAddYE joined #nimrod |
05:00:52 | * | brson joined #nimrod |
05:04:11 | * | ltbarcly_ joined #nimrod |
05:09:17 | * | ltbarcly_ quit (Ping timeout: 256 seconds) |
05:11:47 | * | ltbarcly_ joined #nimrod |
05:18:55 | * | ltbarcly_ quit (Ping timeout: 260 seconds) |
05:20:16 | * | ltbarcly_ joined #nimrod |
05:25:09 | * | ltbarcly_ quit (Ping timeout: 257 seconds) |
05:26:46 | * | ltbarcly_ joined #nimrod |
05:31:23 | * | ltbarcly_ quit (Ping timeout: 256 seconds) |
05:32:17 | * | ltbarcly_ joined #nimrod |
05:37:08 | * | ltbarcly_ quit (Ping timeout: 260 seconds) |
05:38:16 | * | ltbarcly_ joined #nimrod |
05:48:23 | * | ltbarcly_ quit (Ping timeout: 256 seconds) |
05:50:17 | * | ltbarcly_ joined #nimrod |
06:00:56 | * | ltbarcly_ quit (Ping timeout: 260 seconds) |
06:31:40 | * | noam_ quit (Ping timeout: 264 seconds) |
06:52:07 | * | DAddYE quit (Remote host closed the connection) |
06:52:37 | * | DAddYE joined #nimrod |
06:53:05 | * | brson quit (Quit: leaving) |
06:56:54 | * | DAddYE quit (Ping timeout: 256 seconds) |
07:07:11 | * | EXetoC joined #nimrod |
07:07:57 | * | DAddYE joined #nimrod |
07:18:19 | * | Araq_ joined #nimrod |
07:37:56 | Associat0r | dom96: http://www.youtube.com/watch?v=VE8B4KptyVI |
07:49:05 | * | Associat0r quit (Quit: Associat0r) |
07:49:25 | * | Associat0r joined #nimrod |
07:49:25 | * | Associat0r quit (Changing host) |
07:49:26 | * | Associat0r joined #nimrod |
08:15:58 | * | DAddYE quit (Remote host closed the connection) |
08:16:25 | * | DAddYE joined #nimrod |
08:20:38 | * | DAddYE quit (Ping timeout: 240 seconds) |
09:26:08 | * | ltbarcly_ joined #nimrod |
09:30:31 | * | ltbarcly_ quit (Ping timeout: 256 seconds) |
09:36:28 | * | ltbarcly_ joined #nimrod |
09:36:43 | * | q66 joined #nimrod |
09:40:55 | * | ltbarcly_ quit (Ping timeout: 246 seconds) |
10:25:51 | * | BitPuffin_ quit (Ping timeout: 260 seconds) |
11:11:12 | * | shafire joined #nimrod |
11:11:13 | shafire | hi |
11:13:00 | EXetoC | hi |
11:15:43 | shafire | Is someone using ada in productive? |
11:18:37 | EXetoC | I don't know |
11:18:39 | * | EXetoC quit (Quit: WeeChat 0.4.1) |
11:28:48 | Araq_ | shafire: wrong channel :P |
11:30:26 | shafire | lol |
11:30:34 | shafire | I someone using nimrod in productive |
11:32:38 | shafire | Is someone using nimrod in productive? :) so... |
11:32:59 | Araq_ | yeah, http://forum.nimrod-code.org/t/189 |
11:33:44 | shafire | :) |
11:56:47 | shafire | So, nimrod was written original in Object Pascal? |
12:34:44 | * | Associ8or joined #nimrod |
12:34:44 | * | Associ8or quit (Changing host) |
12:34:44 | * | Associ8or joined #nimrod |
12:35:26 | * | Associat0r quit (Ping timeout: 240 seconds) |
13:30:37 | Araq_ | shafire: yes |
13:36:12 | * | OrionPK joined #nimrod |
13:36:47 | * | Araq_ quit (Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812]) |
13:48:12 | * | ltbarcly_ joined #nimrod |
13:52:50 | * | ltbarcly_ quit (Ping timeout: 256 seconds) |
13:58:31 | * | ltbarcly_ joined #nimrod |
14:03:19 | * | ltbarcly_ quit (Ping timeout: 260 seconds) |
14:16:26 | * | mal`` quit (Ping timeout: 264 seconds) |
14:19:43 | * | mal`` joined #nimrod |
14:56:39 | * | EXetoC joined #nimrod |
15:01:48 | * | comex quit (Read error: Operation timed out) |
15:09:13 | * | comex joined #nimrod |
16:30:31 | * | Trixar_za quit (Quit: ZNC - http://znc.in) |
17:03:51 | * | BitPuffin joined #nimrod |
17:04:11 | BitPuffin | dom96: Does jester have dynamic code reloading? |
17:04:26 | BitPuffin | It would be awesome to have that |
17:04:46 | BitPuffin | and have a means to set up directories where you can write nimrod that compiles to js that also reloads dynamically |
17:05:31 | OrionPK | why not make u a coffee too |
17:05:51 | BitPuffin | that would also be nice |
17:05:51 | OrionPK | :) |
17:07:31 | * | MFlamer joined #nimrod |
17:09:21 | * | DAddYE joined #nimrod |
17:11:31 | * | DAddYE quit (Remote host closed the connection) |
17:12:11 | * | DAddYE joined #nimrod |
17:24:11 | * | Mat2 joined #nimrod |
17:24:11 | Mat2 | hi all |
17:26:51 | BitPuffin | hey Mat2 |
17:27:11 | BitPuffin | Araq: Other than calling it via shell, is there a way to compile stuff from code? |
17:27:31 | BitPuffin | Like calling procs to compile nimrod to js or c or whatever or binary |
17:29:11 | * | io2 joined #nimrod |
17:29:31 | Mat2 | hi BitPuffin |
17:32:32 | Mat2 | hi io2 |
17:32:47 | io2 | hello Mat2, how are you doing :) |
17:36:42 | Mat2 | fine, weekend time :D |
17:41:52 | dom96 | BitPuffin: yeah, it would also be nice if I didn't have to go to school and "learn" how to use MS Word. |
17:42:12 | Mat2 | hi dom96 |
17:42:12 | dom96 | hi ma |
17:42:12 | dom96 | *Mat2 |
17:42:27 | Mat2 | hmm, Word96 ? |
17:42:27 | Araq | hey guys |
17:42:37 | Mat2 | hi Araq |
17:42:52 | Araq | BitPuffin: you can import compiler/jsgen and see how to do that ;-) |
18:03:12 | * | ltbarcly_ joined #nimrod |
18:04:12 | * | MFlamer quit (Quit: Page closed) |
18:18:12 | shevy | should I get latest git source of nimrod or use the tarball? (Note: I'd also want to make use of aporia) |
18:20:42 | * | brson joined #nimrod |
18:21:42 | Araq | latest git version |
18:35:52 | * | ltbarcly_ quit (Quit: Computer has gone to sleep.) |
18:52:12 | * | mac01021 joined #nimrod |
18:56:48 | * | mac01021 quit (Ping timeout: 264 seconds) |
19:03:53 | BitPuffin | Araq: Cool, just what I was looking for. I just didn't see any compiler part in the docs |
19:07:43 | * | ltbarcly_ joined #nimrod |
19:08:23 | BitPuffin | Araq: so there isn't just one proc I can call to compile a nimrod text to js? |
19:08:23 | BitPuffin | gen? |
19:13:23 | BitPuffin | Ah |
19:13:23 | BitPuffin | Araq: Is it JSgenPass? |
19:24:08 | BitPuffin | hmm yeah if I am gonna make an ORM I am probably gonna use Sequel as reference. But I wonder how to make a good one in nimrod |
19:26:53 | BitPuffin | maybe I should just write to a db I wanna use |
19:28:28 | * | ltbarcly_ quit (Ping timeout: 256 seconds) |
19:32:08 | * | ltbarcly_ joined #nimrod |
19:33:13 | Araq | BitPuffin: it's not that simple but main.nim should be easy enough to figure out |
20:05:53 | BitPuffin | Araq: in compiler? |
20:05:53 | Araq | yeah |
20:06:03 | BitPuffin | Alright |
20:06:13 | BitPuffin | woot |
20:06:23 | BitPuffin | llvmgen? |
20:06:53 | BitPuffin | I was hoping that we could bring say Jester (or something that builds on Jester) so that you can write as much as possible in nimrod |
20:07:13 | BitPuffin | like the javascript, possibly html, probably not CSS |
20:09:23 | BitPuffin | Hmm |
20:09:33 | BitPuffin | yeah that was a bit different than what I expected |
20:09:53 | BitPuffin | this uses command line params |
20:10:23 | BitPuffin | would be neat if there was a version of these things that was intended to be called from code |
20:10:33 | BitPuffin | I mean it has huge potential |
20:10:53 | BitPuffin | You could practically use nimrod as a scripting engine by compiling to a dynamic lib that you reload |
20:11:03 | BitPuffin | and track for file changes etc |
20:13:53 | Araq | sure but I don't get why you need a dynamic lib for that |
20:14:23 | Araq | just make some nice build script that runs the compiler when a file changes |
20:37:53 | * | io2 quit () |
21:10:23 | * | silven_ joined #nimrod |
21:14:14 | * | silven quit (Ping timeout: 246 seconds) |
21:23:34 | BitPuffin | Araq: Well I mean so that you can modify scripts while for example the game is running |
21:23:44 | BitPuffin | tweaking variable values etc |
21:23:44 | BitPuffin | like jump velocity or whatever |
21:23:54 | BitPuffin | and then in the final build you build it properly |
21:24:09 | BitPuffin | but it's useful when making |
21:24:44 | Araq | oh I thougth you were talking about web apps |
21:27:04 | BitPuffin | Well that was just an example of something cool you could do if you could call the compiler easily from code |
21:27:29 | BitPuffin | making webapps you just have it generate the java script and refresh in the browser haha |
21:32:54 | Araq | well it is quite easy to call the compiler from code :P |
21:36:04 | shafire | Araq: is there a technical paper for nimrod? |
21:37:29 | * | EXetoC quit (Read error: Operation timed out) |
21:41:44 | Araq | no |
21:42:49 | BitPuffin | Araq: Well I mean like other than executing via shell :P |
21:43:09 | BitPuffin | Because otherwise you probably have to do when defined(windows) etc for .exe |
21:44:14 | BitPuffin | such a hell xD |
21:51:09 | shafire | good night guys |
21:51:09 | Mat2 | ciao |
21:51:24 | * | shafire quit (Quit: Page closed) |
21:51:24 | * | Mat2 quit (Quit: Verlassend) |
21:51:44 | Araq | BitPuffin: no I mean importing the compiler's modules |
21:51:54 | Araq | and fyi we have os.exeExt etc. to deal with these things |
21:52:04 | BitPuffin | Araq: Ah! |
21:52:04 | BitPuffin | Oh |
21:52:04 | BitPuffin | course ): |
21:52:04 | BitPuffin | :)* |
21:52:29 | * | ltbarcl__ joined #nimrod |
21:53:24 | BitPuffin | Araq: Well like how do I invoke the compiler modules, looks like it is using command line parameters |
21:55:09 | * | ltbarcly_ quit (Ping timeout: 256 seconds) |
21:55:24 | Araq | of "js", "compiletojs": |
21:55:24 | Araq | gCmd = cmdCompileToJS |
21:55:24 | Araq | wantMainModule() |
21:55:24 | Araq | CommandCompileToJS() |
21:55:44 | BitPuffin | Yes I did read that |
21:55:54 | Araq | so ... you need to set the global gProjectFull and perform the above steps |
21:56:04 | Araq | yeah not pretty |
21:56:14 | Araq | but you can easily wrap it in a proc and make a pull request |
21:57:09 | BitPuffin | Where did gProjectFull come in? |
22:01:29 | Araq | that's what the command line parsing sets |
22:06:14 | BitPuffin | oh I see! |
22:06:24 | BitPuffin | well yeah it shouldn't be too hard I suppose |
22:06:44 | BitPuffin | you just copy the value of gProjectFull for backup |
22:06:44 | BitPuffin | then set it |
22:06:44 | BitPuffin | run |
22:06:44 | BitPuffin | and set it back |
22:06:54 | BitPuffin | or whatever |
22:15:14 | * | ltbarcl__ quit (Quit: Computer has gone to sleep.) |
22:19:54 | * | ltbarcly_ joined #nimrod |
22:28:04 | * | brson quit (Ping timeout: 256 seconds) |
22:45:03 | * | brson joined #nimrod |
22:50:35 | * | ltbarcly_ quit (Quit: Computer has gone to sleep.) |
22:52:10 | * | ltbarcly_ joined #nimrod |
23:08:41 | * | MFlamer joined #nimrod |
23:10:14 | MFlamer | is there a "newShared[T](): ptr T" proc, or do I need to create one? |
23:10:54 | Araq | the latter |
23:12:29 | MFlamer | ok, is there any difference between allocated memory that is just not GC'd and what we call "shared memory"? |
23:13:11 | Araq | not if you're talking about the type system |
23:13:24 | Araq | 'alloc' is thread local, 'allocShared' global |
23:15:56 | MFlamer | OK, I dont totally understand what the difference is, other than neither is managed. But thats ok for now, Everything in my table needs to be shared |
23:16:37 | Araq | well it's a ptr either way, so wrt the type system there is no difference |
23:16:58 | Araq | it's just that alloc is faster if you don't need the sharing |
23:18:00 | MFlamer | ok, that makes sense. Need to make sure shared alloc is in a place thats safe from each thread |
23:18:47 | Araq | well allocShared acquires a lock if that's what you're talking about |
23:18:54 | Araq | it is thread safe |
23:19:10 | MFlamer | got it |
23:24:45 | * | shevy left #nimrod ("I'll be back ... maybe") |
23:29:34 | BitPuffin | Araq: Does allocShared make use of TLS if available? |
23:29:39 | BitPuffin | I mean alloc |
23:29:40 | BitPuffin | * |
23:29:54 | Araq | yes |
23:29:59 | BitPuffin | well |
23:30:12 | BitPuffin | then that's another thing to be aware of for MFlamer I guess |
23:31:05 | Araq | why? |
23:31:42 | BitPuffin | dunno, good to know I think |
23:32:14 | Araq | it's irrelevant |
23:32:25 | BitPuffin | I don't think so |
23:32:32 | BitPuffin | I mean it doesn't change the code |
23:32:40 | BitPuffin | but it's nice to know that it will do the right thing |
23:34:43 | Araq | well I need to sleep now. good night guys |
23:35:04 | BitPuffin | good night! |
23:35:33 | MFlamer | Whats TLS? |
23:35:43 | BitPuffin | MFlamer: thread local storage |
23:35:54 | MFlamer | ok, got it |
23:36:15 | MFlamer | so it could be cached on a core or something? |
23:37:10 | MFlamer | I guess all I need to know is that it's not appropriate for shared use for the moment. |
23:37:42 | BitPuffin | MFlamer: Well no, for shared you should use allocShared |
23:38:19 | BitPuffin | MFlamer: http://en.wikipedia.org/wiki/Thread-local_storage |
23:38:35 | MFlamer | Yes, I get that. allocShared vs. alloc |
23:40:11 | MFlamer | OK, thanks that's pretty straight forward. |