Timestamps are in GMT/BST.
| 00:02:33 | | bobdaduck Quit (Remote host closed the connection) |
| 00:25:44 | raptor | hey sam686, my fix for that CPU spike bug made it into SDL hg: http://hg.libsdl.org/SDL/rev/737cc5bad795 |
| 00:25:57 | raptor | also, bitfighter is mentioned in a commit message |
| 00:26:00 | raptor | we're famous! |
| 00:27:02 | | sam686 Quit (Ping timeout: 245 seconds) |
| 01:16:26 | raptor | well, I found what's causing the resize issue |
| 01:16:30 | raptor | on windows |
| 01:17:05 | raptor | when going from fullscreen to windowed mode, we set the window size again, like 800x600 |
| 01:18:15 | raptor | this triggers an SDL event, SDL_WINDOWEVENT_RESIZED, which makes sense |
| 01:21:04 | raptor | however, what doesn't make sense is that in that event, the new size is different than what was set |
| 01:21:39 | raptor | it's like the width, height get corrupted somewhere in SDL between the posting of the event and the reading of it... |
| 01:47:04 | watusimoto1 | hi |
| 01:47:15 | raptor | hello |
| 01:47:20 | raptor | oh my goodness it's late |
| 01:47:21 | watusimoto1 | more sdl bugs?? |
| 01:47:26 | watusimoto1 | yes, it is! |
| 01:47:31 | raptor | i got a patch in! |
| 01:47:36 | watusimoto1 | excellent!! |
| 01:47:37 | raptor | and I'm working on another.. |
| 01:47:57 | watusimoto1 | we'd be totally screwed without you, raptor! |
| 01:48:02 | raptor | ha |
| 01:48:38 | watusimoto1 | what time is it there? |
| 01:48:46 | raptor | 1:48 |
| 01:48:54 | raptor | I'm practicing for when the new kid comes... :) |
| 01:49:02 | watusimoto1 | good plan! |
| 01:49:05 | raptor | ok not really |
| 01:49:23 | watusimoto1 | I'm usually up until 2 as well, so I know how it feels... the next morning |
| 01:49:30 | watusimoto1 | like... now |
| 01:49:34 | raptor | blech |
| 01:50:26 | kaen | good news! I have to be at work in three hours. |
| 01:50:33 | raptor | hi kaen! |
| 01:50:35 | raptor | wait |
| 01:50:36 | watusimoto1 | awesome! |
| 01:50:36 | kaen | so I'm really going to bed now, but congrats on the patch, raptor |
| 01:50:46 | raptor | man |
| 01:50:47 | watusimoto1 | good night kaen |
| 01:50:52 | raptor | night! |
| 01:51:02 | raptor | uhh... not for me though.. have to write a bug report |
| 01:51:33 | watusimoto1 | and look! all our chat messages from the whole night are here in the window of my "suspended" computer |
| 01:51:40 | raptor | hahaha |
| 01:52:03 | watusimoto1 | it doesn't even make pretenses anymore... not even asking me for a password in the morning |
| 01:52:15 | | Flynnn Quit (Quit: Leaving) |
| 01:52:20 | raptor | did the computer feel warm when opening the lid? that's usually a giveaway |
| 01:52:49 | watusimoto1 | I'll check that... the power light is off when I leave in the evening |
| 01:53:00 | raptor | oh.. |
| 01:53:05 | watusimoto1 | maybe it has wake on lan? |
| 01:53:07 | raptor | maybe something is making it comeback on? |
| 01:53:08 | raptor | yes that |
| 01:53:15 | raptor | a tricky NIC |
| 01:53:34 | watusimoto1 | well, I'll install the new mint in a week or so and then I'll try to fix it |
| 01:53:59 | raptor | after you fix the sound drivers... and the graphics drivers... oh, and recompile the kernel |
| 01:54:13 | watusimoto1 | sounds like my life with gentoo |
| 01:54:24 | watusimoto1 | a new reality show coming soon on AMC |
| 01:55:22 | raptor | how to install Linux? spanning 13 episodes! |
| 01:55:55 | watusimoto1 | maybe with hacker girls dressed in bikinis and swearing a lot |
| 01:56:01 | watusimoto1 | #$%^&* this driver! |
| 01:57:49 | watusimoto1 | or better, two teams racing to be the first to a working machine, perhaps each voting one member off the team each week |
| 02:03:44 | raptor | oh my.. my almost 2 year old just cried out and I found him sleeping on the floor 5 feet from his bed |
| 02:03:54 | watusimoto1 | ha! |
| 02:04:22 | raptor | i don't even get how that could happen, unless he's a sleep climber |
| 02:04:23 | watusimoto1 | it's only been in the last couple of years I could share a bed with my kids... they do eventually settle down but it takes a while |
| 02:04:47 | watusimoto1 | roll of the bed and just keep rolling |
| 02:08:48 | raptor | it has 10in guard rails! |
| 02:09:20 | watusimoto1 | no prison cell can hold me! I'm the Eagle! Son of Raptor! |
| 02:09:27 | raptor | haha |
| 02:15:15 | raptor | bug submitted: http://bugzilla.libsdl.org/show_bug.cgi?id=1899 |
| 02:18:28 | raptor | ok, i should really go to bed now.. |
| 02:18:31 | raptor | good night! |
| 02:20:19 | watusimoto1 | night! |
| 02:22:51 | | raptor Quit () |
| 09:20:13 | | bobdaduck has joined |
| 09:55:23 | | Watusimoto has joined |
| 10:17:28 | | Nothing_Much has joined |
| 10:29:04 | | raptor has joined |
| 10:29:04 | | ChanServ sets mode +o raptor |
| 10:33:24 | raptor | good day! |
| 10:34:32 | bobdaduck | GDAY |
| 10:52:06 | | Nothing_Much Quit (Ping timeout: 248 seconds) |
| 10:56:22 | | watusimoto1 Quit (Quit: Leaving.) |
| 11:05:28 | | Nothing_Much has joined |
| 11:17:16 | | Watusimoto Quit (Ping timeout: 245 seconds) |
| 12:22:37 | raptor | triple-decker PBH sandwiches are tasty |
| 12:28:11 | bobdaduck | So is cookies and cream pie day. |
| 12:42:38 | | Nothing_Much Quit (Remote host closed the connection) |
| 12:52:44 | | Watusimoto has joined |
| 12:55:50 | | bobdaduck Quit (Ping timeout: 248 seconds) |
| 13:02:28 | | bobdaduck has joined |
| 13:12:13 | raptor | bobdaduck: are you hosting your thingy today? |
| 13:12:26 | bobdaduck | I am. |
| 13:12:27 | bobdaduck | 6 our time |
| 13:12:37 | raptor | oh goodie |
| 13:13:20 | bobdaduck | I almost wonder if I should have like kaen or someone try to host for me because the network factor |
| 13:13:34 | raptor | just don't host over wireless |
| 13:13:51 | raptor | but if someone else does, then you can restart/fix stuff as fast |
| 13:13:55 | raptor | *can't |
| 13:35:40 | bobdaduck | Oh I always host over wireless |
| 13:35:45 | bobdaduck | Does it affect that much? |
| 13:35:48 | raptor | YES |
| 13:35:49 | raptor | like |
| 13:35:54 | raptor | everything affects it |
| 13:36:06 | raptor | your neighbors wireless introduces interference |
| 13:36:18 | raptor | your neighbors baby monitor introduces interference |
| 13:36:31 | raptor | and your microwave (sometimes) |
| 13:36:41 | bobdaduck | lol |
| 13:37:03 | raptor | also, other people using the wireless at the same time will fight for bandwidth |
| 13:37:04 | bobdaduck | I would think those would be minimal though |
| 13:37:08 | raptor | no |
| 13:37:10 | raptor | they're not! |
| 13:37:54 | raptor | the home consumer wireless spectrum most common on routers is so saturated now, that it is impossible to have a constant signal |
| 13:38:35 | raptor | and other weird things happen |
| 13:38:41 | raptor | like data collisions are crazy |
| 13:38:44 | raptor | and cause lag |
| 13:39:22 | raptor | repeat after me: "never play a game over wireless and expect stable gameplay" |
| 13:39:29 | bobdaduck | rofl |
| 13:43:27 | raptor | network on wireless is similar to when there's an ice cream part but there's only one scoop |
| 13:43:32 | raptor | *party |
| 13:43:44 | raptor | and everyone wants icecream now |
| 13:44:12 | bobdaduck | so whys different with wired? |
| 13:44:30 | raptor | because there is relatively little interference on wired |
| 13:45:04 | bobdaduck | but isn't everyone still trying for a scoop of the ice cream? |
| 13:45:28 | raptor | yes, but wired guarantees delivery |
| 13:45:57 | raptor | it's not trying to sniff anything it can out of the air |
| 13:46:00 | raptor | and make sense of it |
| 13:46:18 | bobdaduck | hm. |
| 13:46:37 | raptor | it's like using a hose to get water 100ft away |
| 13:46:52 | raptor | wireless would be trying to throw the water with a bucket |
| 13:47:24 | raptor | except there are lots of other people with buckets, too |
| 13:47:37 | raptor | but the location that needs teh water only wants it from you |
| 13:47:44 | bobdaduck | lol these analogies |
| 13:47:55 | bobdaduck | are amazing |
| 13:48:19 | raptor | i'm making them up as i go.. |
| 13:49:56 | bobdaduck | yeah they're amazing |
| 14:00:32 | bobdaduck | Okay well |
| 14:00:36 | bobdaduck | that's all very good to know |
| 14:00:42 | bobdaduck | ...because I always use wireless. |
| 14:08:19 | raptor | well, now you know to use a cable for hosting your game |
| 14:09:23 | bobdaduck | yeah |
| 14:09:29 | bobdaduck | or playing heavy games in general |
| 14:11:25 | bobdaduck | So if I have a function applyEffects() that I call in ontick |
| 14:11:37 | bobdaduck | that will add to the memory usage |
| 14:12:00 | raptor | is that a question? |
| 14:12:30 | bobdaduck | if I do an if statement so that apply affects doesn't get called until a certain point in the game, will that cut down on the memory usage by a statistically significant margin? |
| 14:14:28 | raptor | well that is good practice anywyas |
| 14:14:33 | bobdaduck | if (gametime == 15 minutes) for example |
| 14:14:41 | raptor | but it depends on what is actually in applyEffects() |
| 14:14:54 | raptor | in general, do as little processing as needed |
| 14:15:20 | bobdaduck | I'm only concerned about major cuts at the moment |
| 14:15:30 | raptor | which is good |
| 14:15:41 | raptor | take care of the low-hanging fruit |
| 14:15:46 | bobdaduck | Zoneswords is obviously the big one, because there's essentially another four ontick functions for every player in the game |
| 14:15:55 | bobdaduck | but that's indespensable |
| 14:18:24 | bobdaduck | So, memory optimizing my code... any ideas? |
| 14:18:53 | raptor | hmmm |
| 14:19:21 | raptor | you've already taken care of the .new() objects right? |
| 14:19:40 | bobdaduck | yeah |
| 14:21:08 | bobdaduck | to whatever extent I'm able without doing something stupid like when a player changes off a range class store the arrow somewhere outside the level and then giving it to someone else if they have ranger |
| 14:21:25 | raptor | haha |
| 14:21:33 | raptor | yeah, that's drastic |
| 14:21:48 | raptor | reusing arrows int he general sense is good enough |
| 14:22:07 | raptor | well, want to send my your levelgen? I can take a quick look to see if anything is blatant |
| 14:22:11 | raptor | *me |
| 14:24:24 | bobdaduck | nah |
| 14:25:07 | bobdaduck | there's still some secrets and cheat codes lingering in the code and CAN'T HAVE YOU KNOWING THEM FOR THE PARTY |
| 14:25:16 | raptor | haha, ok |
| 14:25:48 | raptor | there are other little memory tricks |
| 14:26:23 | raptor | like in a for loop |
| 14:26:51 | raptor | don't put a 'local someVar = someTable[i]' |
| 14:27:11 | | Nothing_Much has joined |
| 14:27:12 | raptor | instead put the 'local someVar = nil' outside the loop |
| 14:27:21 | raptor | and in the loop do someVar = someTable[i] |
| 14:27:32 | raptor | so you reuse the someVar and just have it point to different data |
| 14:27:43 | bobdaduck | that'd be pretty minimal... |
| 14:27:49 | raptor | but that might not matter much |
| 14:27:56 | bobdaduck | yeah |
| 14:29:19 | raptor | this has some very good Lua-specific techniques: http://www.lua.org/gems/sample.pdf |
| 14:29:38 | raptor | but really the memory problems might be more bitfighter-related |
| 14:30:22 | raptor | whoa.. there's some ones in there i didn't know made that big of a difference |
| 14:39:59 | raptor | have you thought about logging peoples levels/gold everyonce in a while, that way if it crashes, they can have it back through some cheats of yours? |
| 14:48:36 | bobdaduck | Why would I do that |
| 14:49:19 | bobdaduck | Sort of. Not in case of crashes. I do currently log people's stats every once in a while, so that people can get awards if I feel like doing that |
| 14:49:55 | bobdaduck | cheats to give stuff back... Ehhh. |
| 14:50:06 | raptor | i know you ahve cheats.. |
| 14:50:10 | raptor | i know it! |
| 14:50:54 | bobdaduck | lol |
| 14:51:04 | bobdaduck | Well I mean obviously I could do it |
| 14:51:36 | raptor | hey Watusimoto, have you ever considered using LuaJIT (http://luajit.org) |
| 14:51:36 | bobdaduck | It would probably even be easy using your string arg parser |
| 14:52:44 | bobdaduck | Have you ever considered using Piet? |
| 14:52:58 | raptor | no |
| 14:53:03 | bobdaduck | Why not? |
| 14:53:37 | raptor | imagine trying to debug that? |
| 14:53:46 | bobdaduck | lol |
| 14:56:12 | raptor | hmmm... LuaJIT might not be perfectly portable.. |
| 14:56:59 | bobdaduck | yeah |
| 14:57:13 | bobdaduck | 'cause I do a lot of my lua scripting from my phone so |
| 14:57:25 | bobdaduck | portability is important |
| 14:57:33 | bobdaduck | I'M SO DELIBERATELY OBTUSE |
| 15:02:02 | | BFBuildBot Quit (Ping timeout: 245 seconds) |
| 15:03:05 | bobdaduck | buildbot nooooooo |
| 15:03:33 | raptor | actually... LuaJIT might be portable enough for us... and it would be 10 times faster at running Lua.. |
| 15:03:53 | bobdaduck | what would this mean for me? |
| 15:04:07 | raptor | nothing right now |
| 15:04:17 | raptor | but may allow for much more cpu intensive scripts |
| 15:04:22 | raptor | if we implemented it |
| 15:04:32 | raptor | we could have 1000 s_bots! |
| 15:04:38 | raptor | maybe.. |
| 15:05:12 | bobdaduck | rofl |
| 15:05:41 | Watusimoto | hi |
| 15:05:51 | Watusimoto | fell asleep there a bit |
| 15:05:51 | raptor | hi |
| 15:05:59 | | Nothing_Much Quit (Remote host closed the connection) |
| 15:06:04 | Watusimoto | lua jit? |
| 15:06:09 | Watusimoto | never seriously considered it |
| 15:06:23 | raptor | it supports ppc and arm now |
| 15:06:43 | raptor | and the benchmarks for the 2.0 release are amazing on x86-based architectures... |
| 15:06:50 | | Nothing_Much has joined |
| 15:06:52 | bobdaduck | game request: In HTF, allow modifying of how much time it takes to score a point (like in rabbit.) |
| 15:07:29 | raptor | add that here please: http://code.google.com/p/bitfighter/issues/entry |
| 15:11:22 | Watusimoto | it looks fast... |
| 15:11:41 | Watusimoto | the only reason not to do it would be incerased complexity |
| 15:11:52 | Watusimoto | and perhaps more difficult debugging? |
| 15:11:57 | raptor | yeah i agree... |
| 15:11:57 | Watusimoto | (of scripts) |
| 15:12:07 | raptor | oh and porting lua-vec to it.. |
| 15:12:21 | raptor | debugging? |
| 15:12:24 | Watusimoto | maybe we wouldn't need lua vec? |
| 15:12:32 | raptor | we can't even seriously debug Lua now.. |
| 15:12:39 | Watusimoto | we don't do much debugging of scripts now, but ... |
| 15:12:50 | Watusimoto | luavec is an issue |
| 15:13:09 | Watusimoto | I'm going to bed |
| 15:13:11 | Watusimoto | blech |
| 15:13:16 | raptor | night |
| 15:13:22 | Watusimoto | this is my payback for a late night last night |
| 15:13:39 | Watusimoto | staying up doesn't give me time, it only shoves it around ane makes me grumpy |
| 15:13:41 | raptor | falling asleep too easily.. |
| 15:13:45 | raptor | ha |
| 15:13:57 | raptor | i keep telling myself that, too; but somehow I don't learn |
| 15:13:57 | Watusimoto | well... good night!@ |
| 15:14:03 | raptor | night |
| 15:14:57 | raptor | we wouldn't need lua-vec with luajit |
| 15:16:13 | | fordcars has joined |
| 15:16:23 | fordcars | bob, an alien-like gun |
| 15:16:47 | fordcars | bobdaduck !!!!!! |
| 15:16:54 | fordcars | I gotta weapon |
| 15:17:01 | fordcars | if you have time |
| 15:17:38 | bobdaduck | what |
| 15:17:39 | bobdaduck | oh |
| 15:17:40 | bobdaduck | ooh |
| 15:17:54 | bobdaduck | okay do you have a picture for me fordcars? something I can model it off of? |
| 15:18:06 | fordcars | :P |
| 15:18:37 | fordcars | well maybe it wouyld shoot a ball of bouncers or something, not too much though |
| 15:18:46 | | Watusimoto Quit (Ping timeout: 248 seconds) |
| 15:18:57 | raptor | heading out.. |
| 15:18:58 | raptor | later! |
| 15:19:14 | fordcars | later |
| 15:19:15 | bobdaduck | I can't shoot bouncers |
| 15:19:18 | fordcars | @ |
| 15:19:20 | bobdaduck | everything needs to be done with goalzones |
| 15:19:21 | fordcars | :( |
| 15:19:24 | | raptor Quit () |
| 15:19:28 | fordcars | ok euhhhhh |
| 15:20:24 | fordcars | maybe it could shoot ships (goalzone) just to mess with peoples heads lol |
| 15:21:08 | bobdaduck | lol that's tough but I bet I can do it |
| 15:21:17 | fordcars | kaen, http://pastie.org/8020832 |
| 15:21:19 | fordcars | lol |
| 15:21:42 | fordcars | kaen that code is supposed to change the module, but doesn't. Any thoughts? |
| 15:22:04 | fordcars | bob, I am reeeealy close to finishing that bot, it'll be ready for tonight :) |
| 15:22:52 | bobdaduck | Oh we won't need it tonight |
| 15:22:58 | fordcars | :PPPPPPP |
| 15:23:03 | bobdaduck | We'll have plenty of people |
| 15:23:10 | fordcars | yeah you bet! |
| 15:23:12 | bobdaduck | its for times when there's *not* plenty of people, y'know? |
| 15:23:35 | fordcars | I hope your cpu won't fry to fast |
| 15:23:53 | fordcars | :P |
| 15:24:35 | bobdaduck | can you get me a picture or something of an alien gun thing you want? |
| 15:25:35 | fordcars | meh I don't mind |
| 15:25:51 | fordcars | well don't make it an alien gun |
| 15:26:04 | fordcars | make it the object on your right :) |
| 15:26:18 | fordcars | seriously, whatever it is |
| 15:29:58 | kaen | fordcars, that doesn't throw any errors? |
| 15:30:01 | kaen | also good day all |
| 15:30:12 | fordcars | hi! no, absolutely nothing |
| 15:31:03 | kaen | that looks right to me |
| 15:31:23 | kaen | maybe loadouts don't actually work in 018a. |
| 15:31:36 | fordcars | and the globalMsg works |
| 15:31:44 | fordcars | man I hope they do |
| 15:35:07 | | koda has joined |
| 15:35:44 | kaen | umm. have you tried using setCurrLoadout ? |
| 15:36:20 | | Tttt7858 has joined |
| 15:36:34 | Tttt7858 | hi |
| 15:36:35 | kaen | I don't know what the difference between that and setReqLoadout is... |
| 15:36:36 | kaen | hi |
| 15:36:57 | | Tttt7858 Quit (Client Quit) |
| 15:37:02 | kaen | bye... |
| 15:44:17 | fordcars | hmm still deosn't work... |
| 16:09:58 | fordcars | later guys |
| 16:14:22 | | fordcars Quit (Ping timeout: 250 seconds) |
| 16:18:42 | | Ttttt7858 has joined |
| 16:20:17 | Ttttt7858 | hi |
| 16:21:32 | bobdaduck | sup |
| 16:21:36 | bobdaduck | you coming to the party tonight? |
| 16:22:18 | Ttttt7858 | yes |
| 16:22:26 | Ttttt7858 | 30 minutes right |
| 16:25:14 | Ttttt7858 | ello? |
| 16:26:38 | bobdaduck | no |
| 16:26:41 | bobdaduck | hour and a half |
| 16:27:05 | bobdaduck | well its 4:30 where I am and the party is at 6 where I am. ...So translate that for yourself xD |
| 16:27:25 | bobdaduck | There's a handy countdown timer at the top of this thread: http://www.bitfighter.org/forums/viewtopic.php?f=20&p=20058&sid=c1b20021e26f061cc8a3ea991a7161d9#p20058 |
| 16:31:23 | Ttttt7858 | it's 5:31 where i am |
| 16:36:53 | | Ttttt7858 Quit (Quit: Page closed) |
| 16:41:00 | kaen | well bobdaduck I'd love to host DnD for you... but my vps has magically disappeared off the internet for the third time this week. |
| 16:41:08 | bobdaduck | lol |
| 16:41:21 | kaen | there is some lol |
| 16:41:22 | bobdaduck | That's okay we should be fine |
| 16:41:27 | kaen | but mostly RRRRRRRRRAAAAAAAAAAAAAAAAAAAGGGGGGGGGGGGEEEEEEEEEEEEEEEEEEEEEEEEEE |
| 16:41:39 | bobdaduck | xD |
| 16:46:19 | | BFBuildBot has joined |
| 16:46:24 | kaen | finally... |
| 16:47:21 | kaen | it's back bobdaduck. pm me. |
| 16:47:29 | bobdaduck | Nah its fine |
| 16:47:44 | bobdaduck | raptor had a good point about being able to fix things and react to crashes better |
| 17:02:22 | | bobdaduck Quit (Remote host closed the connection) |
| 17:17:00 | | raptor has joined |
| 17:17:00 | | ChanServ sets mode +o raptor |
| 17:17:21 | | raptor has left |
| 17:21:36 | | bobdaduck has joined |
| 17:51:46 | | tttt7858 has joined |
| 17:55:20 | | raptor has joined |
| 17:55:20 | | ChanServ sets mode +o raptor |
| 17:55:25 | raptor | howdy |
| 17:56:25 | | kaen Quit (Remote host closed the connection) |
| 17:59:31 | | kaen has joined |
| 18:02:59 | tttt7858 | Boba |
| 18:03:10 | raptor | give him time to fix it.. |
| 18:04:46 | raptor | bobdaduck: there may be 2 IP addresses, it would be easiest to turn off the wireless to make sure you get the correct one |
| 18:06:31 | | bobdaduck Quit (Ping timeout: 264 seconds) |
| 18:11:15 | | bobdaduck has joined |
| 18:12:01 | | bobdaduck Quit (Read error: Connection reset by peer) |
| 18:33:37 | | bobdaduck has joined |
| 18:34:46 | | koda Quit (Quit: koda) |
| 18:41:29 | | fordcars has joined |
| 18:43:11 | | tttt7858 Quit (Quit: Page closed) |
| 18:51:44 | | bobdaduck Quit (Remote host closed the connection) |
| 19:45:05 | | Nothing_Much Quit (Read error: Connection reset by peer) |
| 20:12:10 | | BFLogBot Commit: 0b6f80d288c4 | Author: buckyballreaction | Message: Make it so bots appear almost instantly after level starts when bot balancing is on |
| 20:13:57 | raptor | we were down to 9 bugs.. then i found one :( |
| 21:16:54 | fordcars | nice! |
| 21:17:03 | fordcars | commit! |
| 21:21:35 | | fordcars Quit (Ping timeout: 250 seconds) |
| 22:20:00 | | fordcars has joined |
| 22:32:23 | kaen | looking at the usage graphs for my server, bob's abomination spiked to 600MB and then got killed by the container |
| 22:33:01 | kaen | and the bandwidth spiked at about 250kbps |
| 22:35:05 | kaen | and peaked at 80% usage of a 3.4Ghz |
| 22:35:07 | kaen | core |
| 22:37:02 | kaen | perhaps interestingly, the memory peaks repeated with a noticeable rhythm, with a period of about 15 minutes |
| 22:48:47 | | Nothing_Much has joined |
| 22:51:31 | fordcars | btw the level change password could of been more original than "bob" ;) |
| 23:21:24 | raptor | hi |
| 23:21:52 | raptor | kaen: wow |
| 23:22:01 | kaen | hello |
| 23:22:18 | kaen | there was... only one level on the server. |
| 23:22:19 | raptor | what would you think about LuaJIT ? |
| 23:22:26 | kaen | lemme check it out |
| 23:22:33 | raptor | luajit.org |
| 23:22:41 | raptor | take a look at the benchmarks compared to normal Lua |
| 23:22:47 | kaen | I honestly expected the lua interpreter to be JIT |
| 23:23:22 | kaen | wow! |
| 23:24:28 | kaen | "The FFI library allows calling external C functions and using C data structures from pure Lua code." |
| 23:25:04 | kaen | it says you can avoid writing the lua bindings... but that's a bit off topic here. |
| 23:25:27 | raptor | interesting.. |
| 23:26:18 | kaen | "LuaJIT is API-compatible with Lua 5.1. If you've already embedded Lua into your application, you probably don't need to do anything to switch to LuaJIT, except link with a different library:" |
| 23:26:20 | kaen | I'm sold. |
| 23:26:58 | raptor | i wonder about debugging - although we can't even do that with normal Lua.. |
| 23:29:57 | raptor | from lua-vec homepage: https://code.google.com/p/lua-vec/wiki/Benchmarks |
| 23:30:10 | raptor | says luajit way back when was already faster than lua-vec |
| 23:30:20 | raptor | we wouldn't need to maintain our branch.. |
| 23:37:40 | raptor | although, we want to move to Lua 5.2 right? |
| 23:44:27 | kaen | umm, what was the motivation for that again? |
| 23:44:37 | raptor | i don't remember |
| 23:44:53 | raptor | but I'm thinking I would prefer 5.1 with LuaJIT.. |
| 23:44:53 | kaen | in my memory it was sort of a list-ditch effort at fixing the luaW leak |
| 23:44:57 | raptor | yeah.. |
| 23:45:19 | raptor | https://code.google.com/p/bitfighter/issues/detail?id=134 |
| 23:45:21 | kaen | maybe with that FFI stuff we could ditch luaW too |
| 23:45:55 | raptor | hmm... I haven't looked at LuaW upstream in a while.. |
| 23:46:13 | kaen | so, reasons to update to 5.2: |
| 23:46:20 | kaen | 1. it has a higher version number |
| 23:46:41 | raptor | sold! |
| 23:46:48 | kaen | that's all I've got. |
| 23:46:49 | raptor | (to not use it) |
| 23:46:53 | raptor | haha |
| 23:46:55 | kaen | heh |
| 23:47:06 | raptor | oh, it has bitwise operations and a goto statement, i think |
| 23:47:18 | kaen | ah good |
| 23:47:27 | kaen | because the lua code we have isn't indecipherable enough... |
| 23:47:33 | raptor | haha |
| 23:47:35 | raptor | yeah.. |
| 23:47:39 | kaen | I'm against. |
| 23:48:12 | kaen | but luajit sounds like a really good deal |
| 23:48:28 | kaen | and I'm kind of excited at the prospect of dropping luaw |
| 23:48:55 | kaen | it's good, but if we can use something built into the lua implementation, that sounds loads better. |
| 23:49:06 | raptor | hmm... |
| 23:49:30 | raptor | luaW is heavy |
| 23:49:49 | kaen | oops, scratch that stuff about ffi |
| 23:49:55 | kaen | it's strictly for C apparently. |
| 23:50:19 | raptor | so no inheritance |
| 23:51:03 | kaen | oh, wait.... |
| 23:51:24 | kaen | at a minimum it supports classes: http://lua-users.org/lists/lua-l/2011-07/msg00496.html |
| 23:51:35 | kaen | the tutorial only gives examples for C though. |
| 23:52:36 | kaen | oh, they did that with extern C decs |
| 23:52:37 | kaen | gross |
| 23:52:42 | raptor | yuk |
| 23:53:08 | kaen | okay, well anyway the speed gain is great and it sounds painless to drop in |
| 23:54:16 | raptor | i added a response on that issue |
| 23:57:15 | raptor | what do you think the 'interpreter' choice on the LuaJIT benchmarks page means? |