--- Log opened Fri Nov 26 00:00:19 2010 00:01 -!- SirPsychoS [~sp@cpe-174-103-151-189.cinci.res.rr.com] has quit [Ping timeout: 245 seconds] 00:11 -!- krutcha [~krutcha@remote.icron.com] has quit [Quit: Leaving] 00:12 -!- Project_2501 [~Marvin@82.84.79.101] has quit [Quit: E se abbasso questa leva che succ...] 00:16 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 00:18 -!- kanru [~kanru@114-45-232-142.dynamic.hinet.net] has joined #go-nuts 00:35 -!- Tuller [~tuller@pool-98-117-92-241.rcmdva.fios.verizon.net] has joined #go-nuts 00:44 -!- artefon [~thiago@187.58.197.115] has quit [Quit: bye] 00:57 -!- kanru [~kanru@114-45-232-142.dynamic.hinet.net] has quit [Ping timeout: 245 seconds] 01:08 -!- adu [~ajr@pool-173-66-11-168.washdc.fios.verizon.net] has joined #go-nuts 01:09 -!- shvntr [~shvntr@116.26.129.231] has joined #go-nuts 01:10 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 01:10 -!- niemeyer [~niemeyer@189-10-175-46.pltce701.dsl.brasiltelecom.net.br] has quit [Ping timeout: 252 seconds] 01:11 -!- RCua [~cua@unaffiliated/coconutcrab] has joined #go-nuts 01:14 -!- jlouis [jlouis@horus.0x90.dk] has quit [Quit: brb] 01:15 -!- jlouis [jlouis@horus.0x90.dk] has joined #go-nuts 01:22 -!- mbohun [~user@ppp115-156.static.internode.on.net] has joined #go-nuts 01:27 -!- virtualsue [~chatzilla@nat/cisco/x-hbawiylfkuskynpp] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.15/20101026200251]] 01:35 -!- cco3 [~conley@ip70-187-142-199.oc.oc.cox.net] has joined #go-nuts 01:39 -!- shvntr [~shvntr@116.26.129.231] has quit [Quit: leaving] 01:39 -!- cco3 [~conley@ip70-187-142-199.oc.oc.cox.net] has quit [Ping timeout: 264 seconds] 01:40 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts 01:43 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Ping timeout: 240 seconds] 01:44 -!- RCua [~cua@unaffiliated/coconutcrab] has quit [Ping timeout: 264 seconds] 01:46 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts 02:08 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Read error: Connection reset by peer] 02:15 -!- Xiaobo [~chatzilla@61.135.172.68] has joined #go-nuts 02:18 < plexdev> http://is.gd/hNsEi by [Mathieu Lonjaret] in go/src/pkg/compress/flate/ -- compress/flate: fix typo in comment. 02:19 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts 02:28 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Read error: Connection reset by peer] 02:34 -!- TheSaint [~thesaint@166.205.10.111] has joined #go-nuts 02:38 -!- shvntr [~shvntr@116.26.129.231] has joined #go-nuts 02:40 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts 02:45 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Read error: Connection reset by peer] 03:18 -!- shvntr [~shvntr@116.26.129.231] has quit [Quit: leaving] 04:03 -!- rbraley_ [~rbraley@ip72-222-129-34.ph.ph.cox.net] has quit [Ping timeout: 264 seconds] 04:07 -!- falconindy [~noclaf@unaffiliated/falconindy] has joined #go-nuts 04:18 -!- Tuller [~tuller@pool-98-117-92-241.rcmdva.fios.verizon.net] has quit [Remote host closed the connection] 04:31 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds] 05:05 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has joined #go-nuts 05:09 -!- noam [noam@77.126.175.215] has quit [Ping timeout: 240 seconds] 05:13 -!- falconindy [~noclaf@unaffiliated/falconindy] has quit [Quit: Lost terminal] 05:14 -!- rbraley [~rbraley@ip72-222-135-139.ph.ph.cox.net] has joined #go-nuts 05:16 -!- falconindy [~noclaf@unaffiliated/falconindy] has joined #go-nuts 06:05 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has quit [Quit: Morten. Desu~] 06:08 -!- ios_ [~ios@180.191.94.221] has joined #go-nuts 06:28 -!- tensorpudding [~user@99.148.202.191] has quit [Read error: Connection reset by peer] 06:51 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 06:55 -!- gr0gmint [~quassel@87.60.23.38] has joined #go-nuts 06:57 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts 06:57 -!- gr0gmint [~quassel@87.60.23.38] has quit [Read error: Connection reset by peer] 07:01 -!- awidegreen [~quassel@p5DF1B45E.dip.t-dialin.net] has joined #go-nuts 07:22 -!- gr0gmint [~quassel@87.60.23.38] has joined #go-nuts 07:30 -!- noam [~noam@77.126.212.138] has joined #go-nuts 07:31 -!- shvntr [~shvntr@116.26.129.231] has joined #go-nuts 07:41 -!- photron_ [~photron@port-92-201-69-213.dynamic.qsc.de] has joined #go-nuts 07:46 -!- adu [~ajr@pool-173-66-11-168.washdc.fios.verizon.net] has quit [Quit: adu] 07:49 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it] has joined #go-nuts 07:57 -!- tvw [~tv@e176003167.adsl.alicedsl.de] has joined #go-nuts 08:00 -!- adu [~ajr@pool-173-66-11-168.washdc.fios.verizon.net] has joined #go-nuts 08:04 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Quit: Leaving.] 08:05 -!- tvw [~tv@e176003167.adsl.alicedsl.de] has quit [Remote host closed the connection] 08:07 -!- sxs [~sxs@HSI-KBW-078-042-201-030.hsi3.kabel-badenwuerttemberg.de] has joined #go-nuts 08:08 -!- balance [~balance@60.2.135.122] has joined #go-nuts 08:08 < balance> ? 08:09 -!- balance [~balance@60.2.135.122] has left #go-nuts [] 08:09 -!- Xiaobo [~chatzilla@61.135.172.68] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.12/20101026210630]] 08:13 -!- wrtp [~rog@92.17.108.70] has joined #go-nuts 08:14 -!- TheSaint [~thesaint@166.205.10.111] has quit [Ping timeout: 255 seconds] 08:15 < wrtp> alexis: i don't know if anyone has pointed this out to you in the meantime, but string(theCharacter) works and is considerably more efficient than using fmt.Sprintf 08:20 -!- adu [~ajr@pool-173-66-11-168.washdc.fios.verizon.net] has quit [Quit: adu] 08:25 -!- TheSaint [~thesaint@166.205.10.111] has joined #go-nuts 08:31 < wrtp> can anyone access the go issue tracker currently? 08:31 < wrtp> or is it just me? 08:31 -!- TheSaint [~thesaint@166.205.10.111] has quit [Ping timeout: 255 seconds] 08:36 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 08:42 -!- TheSaint [~thesaint@166.205.10.111] has joined #go-nuts 08:47 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it] has quit [Quit: ucasano] 08:47 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Read error: Connection reset by peer] 08:48 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 08:49 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 08:56 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 09:03 < mpl> wrtp: if this http://code.google.com/p/go/source/detail?r=f1939161b11a is part of the go issue tracker, then no problem for me here. 09:03 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 09:04 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 09:06 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it] has joined #go-nuts 09:07 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it] has quit [Read error: Connection reset by peer] 09:07 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it] has joined #go-nuts 09:13 < wrtp> mpl: oh, it's working for me now 09:13 < wrtp> and i find that i've uploaded an issue twice 09:13 < wrtp> i hate that 09:14 < mpl> yeah, I've had trouble with the codereviews myself, I find it all a bit clunky. 09:40 < wrtp> it could at least try to detect duplicate form submission 09:52 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 09:54 -!- gr0gmint [~quassel@87.60.23.38] has quit [Remote host closed the connection] 10:01 -!- noktoborus_ [~noxless@gateway/tor-sasl/noktoborus] has quit [Remote host closed the connection] 10:02 -!- noktoborus_ [~noxless@gateway/tor-sasl/noktoborus] has joined #go-nuts 10:04 -!- lmoura [~lauromour@187.113.125.89] has quit [Ping timeout: 252 seconds] 10:05 -!- lmoura [~lauromour@187.112.24.92] has joined #go-nuts 10:11 -!- tvw [~tv@212.79.9.150] has joined #go-nuts 10:15 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Quit: WeeChat 0.3.2] 10:17 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has quit [Quit: Ex-Chat] 10:17 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has joined #go-nuts 10:26 -!- RCua [~cua@unaffiliated/coconutcrab] has joined #go-nuts 10:44 -!- Chopinn [~Chopin@ti0018a380-dhcp1590.bb.online.no] has joined #go-nuts 10:45 -!- Chopinnn [~Chopin@ti0018a380-dhcp1590.bb.online.no] has quit [Ping timeout: 255 seconds] 10:57 -!- niemeyer [~niemeyer@189-10-175-46.pltce701.dsl.brasiltelecom.net.br] has joined #go-nuts 11:01 -!- artefon [~thiago@189.59.166.192] has joined #go-nuts 11:10 -!- ios_ [~ios@180.191.94.221] has quit [Quit: Leaving] 11:39 -!- RCua [~cua@unaffiliated/coconutcrab] has quit [Quit: leaving] 11:48 < nsf> we really need to do something about string/char[] stuff 11:48 < nsf> []char I mean 11:49 < nsf> is it possible to read data from a file to a string? without converting it from []byte 11:49 < nsf> yeah, I meant []byte :D 11:53 -!- ct529 [~quassel@77-44-78-159.xdsl.murphx.net] has joined #go-nuts 11:53 -!- tav_ [~tav@92.7.120.172] has joined #go-nuts 11:54 -!- tav [~tav@92.7.139.37] has quit [Ping timeout: 252 seconds] 11:57 -!- noktoborus_ [~noxless@gateway/tor-sasl/noktoborus] has quit [Remote host closed the connection] 11:59 < nsf> but I guess it is possible to remove certain copies when doing []byte -> string conversion 11:59 < nsf> compiler will really need to do more analysis in future 12:01 -!- rlab_ [~Miranda@91.200.158.34] has joined #go-nuts 12:04 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 240 seconds] 12:07 -!- artefon [~thiago@189.59.166.192] has quit [Quit: bye] 12:18 -!- ct529 [~quassel@77-44-78-159.xdsl.murphx.net] has quit [Remote host closed the connection] 12:21 -!- BlaSux [7f000001@69.195.144.4] has quit [Ping timeout: 272 seconds] 12:23 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has quit [Ping timeout: 272 seconds] 12:23 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has joined #go-nuts 12:24 -!- BlaSux [7f000001@69.195.144.4] has joined #go-nuts 12:24 -!- kingfishr [~kingfishr@c-24-130-147-77.hsd1.ca.comcast.net] has quit [Ping timeout: 272 seconds] 12:26 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping timeout: 272 seconds] 12:27 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts 12:27 -!- mode/#go-nuts [+v iant] by ChanServ 12:28 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 12:29 -!- shvntr [~shvntr@116.26.129.231] has quit [Quit: leaving] 12:30 -!- kingfishr [~kingfishr@c-24-130-147-77.hsd1.ca.comcast.net] has joined #go-nuts 12:30 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has joined #go-nuts 12:36 -!- RCua [~cua@unaffiliated/coconutcrab] has joined #go-nuts 12:38 < wrtp> nsf: is it a big overhead? 12:38 < nsf> it depends 12:39 < nsf> if []byte is big enough, then yes 12:39 < nsf> also it adds unnecessary memory overhead and pressure on the GC 12:40 < wrtp> it's true that the compiler could optimise for the case where the []byte is local and is converted to string. 12:40 < nsf> yes, that's what I'm talking about 12:40 < wrtp> but i wonder if that's true in any significant percentage of cases 12:40 < nsf> in fact it can do that even for non-local []byte 12:40 < wrtp> e.g. it's not true of bufio 12:40 < wrtp> really? 12:40 < nsf> but it requires inter-procedural analysis 12:40 < nsf> yes 12:41 < nsf> let's say ioutil.ReadFile 12:41 < nsf> it returns []byte 12:41 < nsf> and it is not referenced anywhere 12:41 < nsf> we can safely convert that to string 12:41 < wrtp> ok, i guess i meant "unescaped" 12:41 < wrtp> or something 12:41 < wrtp> similar to the way that the compiler could avoid mallocs 12:41 < nsf> well, yes, it is sort of "unescaped" value returned from a function 12:42 < nsf> yes 12:42 < nsf> but it's all about analysis and making annotations 12:42 < nsf> compiler should be able to do that at some point 12:42 < nsf> even if it's worth only 10-20% of improvement in performance 12:43 < nsf> but as you've pointed out, it's also a great help for the GC 12:43 < wrtp> if the []byte is a possible candidate for stack-allocation, then converting to string could be done directly with no copy, as long as the []byte is not written later 12:43 < nsf> it will be able to manage memory more efficiently 12:44 < wrtp> it's quite nice knowing that such optimisations are possible in principle in a future version of go. things can get quite a lot faster. 12:44 < nsf> it is possible no just for stack-allocations 12:44 < nsf> but for heap allocs as well 12:44 < nsf> because Go controls the memory anyway 12:44 < nsf> all we need to do is to proof certain things: 12:45 < nsf> 1. []byte hasn't escaped the current function 12:45 < nsf> 2. it is not written later 12:45 < wrtp> well, you wouldn't allocate slices on the stack anyway (unless you statically knew their size) 12:45 < nsf> at that point we can safely convert it to string 12:45 < nsf> wrtp: yes, proper escape analysis simply enables other form of optimization 12:45 < nsf> it returns the usage of arrays 12:46 < nsf> as temporary stack-based objects 12:46 < nsf> because as it was noticed before, currenty they are quite useless, because you can't pass a slice of that array to other function 12:46 < wrtp> there's one slight rub - string(data[n:m]) currently only allocates m-n bytes. if the optimisation was applied, it could keep a reference to the whole byte slice which might be big 12:47 < nsf> it's true, well there are two solutions to that problem 12:48 < nsf> 1. heuristic in the compiler: let's say if we're taking a slice which is smaller than the half of the array we do the copy 12:48 < wrtp> gotta go - be back in an hour 12:48 < nsf> althouth I'm not sure how it will look like 12:48 < nsf> because it can be done in runtime only 12:48 < nsf> 2. give it to a programmer, let him decide 12:48 < nsf> (2) is a C-like approach 12:48 < nsf> where programmer is the master 12:49 < nsf> in Go it's a bit different :D 12:49 < nsf> compiler and the Go itself is sort of a master as well 12:49 < nsf> which should help the programmer 12:52 < nsf> wrtp: well, in general yes, it's good to know that optimizations are possible and they are quite nice and sophisticated 12:54 < nsf> hehe, and I think we can simply let the compiler to generate copies 12:54 < nsf> in this case: string(data[n:m]) 12:54 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it] has quit [Quit: ucasano] 12:54 < nsf> but if the case is: string(data) 12:55 < nsf> it should consider doing analysis 13:01 -!- virtualsue [~chatzilla@nat/cisco/x-zpfxzbfcagodoycm] has joined #go-nuts 13:04 -!- virtualsue [~chatzilla@nat/cisco/x-zpfxzbfcagodoycm] has quit [Client Quit] 13:09 -!- RCua [~cua@unaffiliated/coconutcrab] has quit [Quit: out!] 13:17 -!- MaCkeR [~aamod@115.69.248.42] has joined #go-nuts 13:17 -!- DerHorst [~Horst@e176101144.adsl.alicedsl.de] has joined #go-nuts 13:25 -!- TheSaint [~thesaint@166.205.10.111] has quit [Quit: Colloquy for iPhone - http://colloquy.mobi] 13:39 -!- Project_2501 [~Marvin@82.84.79.101] has joined #go-nuts 13:40 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 13:42 -!- niemeyer [~niemeyer@189-10-175-46.pltce701.dsl.brasiltelecom.net.br] has quit [Quit: Leaving] 13:43 -!- niemeyer [~niemeyer@189-10-175-46.pltce701.dsl.brasiltelecom.net.br] has joined #go-nuts 13:46 -!- Netsplit *.net <-> *.split quits: sl, Soultaker, Tonnerre, nictuku, Wiz126, scoeri_, noam, vegai, homa_rano, tvw, (+7 more, use /NETSPLIT to show all of them) 13:47 -!- Netsplit over, joins: BlaSux, viirya, tvw, noam, MatToufoutu, nictuku, Wiz126, pothos, cco3-hampster, homa_rano (+7 more) 13:48 -!- aconran_ [~aconran@adsl-76-199-140-78.dsl.pltn13.sbcglobal.net] has quit [Write error: Broken pipe] 13:48 -!- aconran__ [~aconran@adsl-76-199-140-78.dsl.pltn13.sbcglobal.net] has joined #go-nuts 13:52 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts 13:58 -!- MaCkeR [~aamod@115.69.248.42] has quit [Quit: Leaving] 14:28 -!- BlaSux [7f000001@69.195.144.4] has quit [Ping timeout: 272 seconds] 14:30 -!- nf [~nf@124-171-20-223.dyn.iinet.net.au] has quit [Ping timeout: 272 seconds] 14:30 -!- nf [~nf@124-171-20-223.dyn.iinet.net.au] has joined #go-nuts 14:30 -!- mode/#go-nuts [+o nf] by ChanServ 14:30 -!- sl [~stanleyli@68-179-130-17.bsr-c9-d1.evv.dhcp.sigecom.net] has quit [Remote host closed the connection] 14:31 -!- sl [~stanleyli@68-179-130-17.bsr-c9-d1.evv.dhcp.sigecom.net] has joined #go-nuts 14:42 -!- MizardX [b21e79e8@gateway/web/freenode/ip.178.30.121.232] has joined #go-nuts 14:50 -!- sxs [~sxs@HSI-KBW-078-042-201-030.hsi3.kabel-badenwuerttemberg.de] has quit [Quit: sxs] 14:51 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts 14:59 -!- Project_2501 [~Marvin@82.84.79.101] has quit [Quit: BAIL OUT! BAIL OUT! BAIL OUT!] 14:59 -!- gr0gmint [~quassel@87.60.23.38] has joined #go-nuts 15:02 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 15:05 -!- emjayess [~emjayess@pix1.i29.net] has joined #go-nuts 15:17 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has joined #go-nuts 15:20 -!- Nitro [~Nitro@modemcable105.5-82-70.mc.videotron.ca] has joined #go-nuts 15:26 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts 15:26 < wrtp> nsf: one problem with sophisticated optimisation is that it can be quite fragile - change a small aspect of the code (e.g. to send something to a log file), and you lose the optimisation 15:27 < nsf> sending to a log file shouldn't trigger escaping 15:27 -!- artefon [~thiago@189.59.156.206.dynamic.adsl.gvt.net.br] has joined #go-nuts 15:28 < nsf> if it's a buffered i/o, then the data is just copied.. otherwise compiler should know that 'write' syscall takes an address of data and doesn't store it anywhere 15:28 < nsf> but yeah, your point is valid 15:28 < nsf> the same thing is happened with a lot of java developers 15:29 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection] 15:29 < nsf> because the way they achieve performance is by doing implementation-specific hacks 15:29 < wrtp> yeah 15:29 < nsf> and once the implementation is changed (let's say totally new GC) 15:29 < nsf> everything is broken 15:29 < wrtp> ... or at least, very slow! 15:29 < nsf> well, I meant that by "broken" 15:30 < nsf> because the whole point of optimization is being fast 15:30 -!- tteras [~fabled@mail.fi.jw.org] has quit [Quit: Ex-Chat] 15:31 < nsf> so, definitely implementation specific hacks should be discouraged 15:32 -!- lmoura [~lauromour@187.112.24.92] has quit [Read error: Connection reset by peer] 15:32 < nsf> the key point here that such kind of optimizations work in languages like C, because everything is in control of the programmer 15:32 < nsf> in Go it's a bit different 15:32 < nsf> and I'm not sure how can we prevent this 15:33 < wrtp> i'm not sure there's that much difference between C and Go in this respect 15:33 < nsf> in Go the compiler/runtime is responsible for managing memory for example 15:34 < nsf> and for providing memory-safety 15:34 < nsf> it's a big deal 15:34 < nsf> if you're cheating in these areas you're against the compiler 15:34 < nsf> in C you're the master, compiler just does what you say 15:34 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Quit: leaving] 15:35 < nsf> and I think this is exactly the area 15:35 < nsf> where compiler should do its optimizations 15:35 < nsf> but the problem is still here 15:36 < nsf> people will do impl dependent hacks 15:36 < nsf> I don't know is it evil or not 15:36 < nsf> a managed high performance environment is new to me 15:37 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it] has joined #go-nuts 15:46 < wrtp> nsf: in a way, Go is *more* amenable to optimisation than C, because the compiler can do more out of the program's sight. 15:47 < nsf> yes 15:47 < nsf> but the thing here, is than in C the programmer is responsible for doing these optimizations 15:48 < nsf> in Go compiler should be better at this 15:48 < nsf> it's like dynamic languages vs static low level languages 15:49 < nsf> the complexity of the compiler is directly proportional to the level of the language 15:50 < nsf> dynamic language compilers/interpreters have to do JIT compilation technology in order to be fast 15:50 < nsf> which is quite complex 15:50 < nsf> Go is somewhat in the middle 15:50 < nsf> but still a lot of stuff should be done in the compiler 15:51 < nsf> anyway, it's all just talks 15:51 < nsf> the roadmap is quite straight :) 15:55 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has quit [Ping timeout: 265 seconds] 15:59 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has joined #go-nuts 16:04 -!- leczb [~leczb@nat/google/x-crflxxpaujlmkktm] has quit [Remote host closed the connection] 16:05 -!- Tuller [~tuller@pool-98-117-92-241.rcmdva.fios.verizon.net] has joined #go-nuts 16:05 -!- soapy_illusions [~alex@vpn128119.Wireless.McGill.CA] has joined #go-nuts 16:06 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 16:07 < soapy_illusions> Hi, I was wondering is there an easy in Go to monitor a file for modifications (I want to build a live log parser, in Go) 16:07 < nsf> in linux you can use inotify 16:07 < nsf> there were bindings or something like that for Go 16:09 < soapy_illusions> thanks a lot, (it is all in linux) so I will give that a look 16:12 -!- DerHorst [~Horst@e176101144.adsl.alicedsl.de] has quit [Quit: Verlassend] 16:12 < soapy_illusions> I found a mention of it in a google groups discussion, but the documentation for the os package has no information about inotify (sorry if I am completely missing it) 16:14 < nsf> well, you're not missing it 16:14 < nsf> although I thought there is a 3rd party package somewhere 16:15 < nsf> http://groups.google.com/group/golang-nuts/browse_thread/thread/703e5ae1b066e007/88cdb84391e59623 16:15 < nsf> here is one of them 16:15 < nsf> http://www.vossnet.org/inotify-for-go.zip 16:15 < nsf> direct link 16:17 < soapy_illusions> thanks a lot, (currently contemplating go for the tool I want to build) 20:00 -!- artefon [~thiago@189.59.156.206.dynamic.adsl.gvt.net.br] has quit [Quit: bye] 20:01 -!- uriel_ [~uriel@li43-28.members.linode.com] has joined #go-nuts 20:01 !zelazny.freenode.net [freenode-info] why register and identify? your IRC nick is how people know you. http://freenode.net/faq.shtml#nicksetup 20:01 < Tv> queue <- Task{Fn: func() {routine(par1, par2), Priority: 30} 20:01 < CodeWar> assuming func() is what does the enqueue 20:01 < Tv> CodeWar: you'd do well to step back and read the tutorial.. 20:02 < CodeWar> let me do that I have a set of use cases in mind .. and I m skimming over Scala Go and F# to see what brings me closest thanks for the inputs 20:06 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Quit: Leaving] 20:07 -!- Wiz126 [~Wiz126@24.229.245.72.res-cmts.sm.ptd.net] has joined #go-nuts 20:10 -!- binarypie [~binarypie@c-24-130-113-34.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 20:14 -!- emjayess [~emjayess@pix1.i29.net] has joined #go-nuts 20:31 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 20:32 -!- CodeWar [~CodeWar@c-24-23-206-137.hsd1.ca.comcast.net] has quit [Quit: Leaving] 20:36 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has quit [Read error: Connection reset by peer] 20:36 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has joined #go-nuts 20:41 -!- tgall_foo [~tgall@206.9.88.154] has quit [Quit: Leaving] 20:48 -!- cco3 [~conley@ip70-187-142-199.oc.oc.cox.net] has quit [Ping timeout: 240 seconds] 20:51 -!- gnuvince_ [~vince@70.35.166.8] has quit [Ping timeout: 245 seconds] 20:51 -!- gnuvince [~vince@64.235.201.71] has quit [Ping timeout: 240 seconds] 21:03 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has joined #go-nuts 21:06 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 21:10 -!- gnuvince [~vince@64.235.201.71] has joined #go-nuts 21:16 -!- rbraley [~rbraley@ip72-222-135-139.ph.ph.cox.net] has quit [Ping timeout: 265 seconds] 21:23 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 21:23 -!- dahankzter1 [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 21:24 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Read error: Operation timed out] 21:26 -!- tylercurtis [~tylercurt@97-95-156-133.dhcp.jcsn.tn.charter.com] has quit [Quit: tylercurtis] 21:37 -!- lmoura [~lauromour@186.212.100.234] has joined #go-nuts 21:43 -!- photron [~photron@port-92-201-69-213.dynamic.qsc.de] has quit [Ping timeout: 255 seconds] 21:47 -!- boscop [~boscop@g226229099.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 21:48 -!- boscop [~boscop@f055161097.adsl.alicedsl.de] has joined #go-nuts 21:53 -!- rbraley [~rbraley@ip72-222-135-139.ph.ph.cox.net] has joined #go-nuts 22:01 -!- gnuvince [~vince@64.235.201.71] has quit [Ping timeout: 240 seconds] 22:01 -!- dahankzter1 [~henrik@92-244-3-192.customers.ownit.se] has quit [Read error: Connection reset by peer] 22:02 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 22:05 -!- lmoura [~lauromour@186.212.100.234] has quit [Remote host closed the connection] 22:07 -!- gnuvince [~vince@64.235.201.71] has joined #go-nuts 22:14 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Ping timeout: 272 seconds] 22:16 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 22:16 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has quit [Quit: Morten. Desu~] 22:18 -!- fhs [~fhs@pool-74-101-63-115.nycmny.east.verizon.net] has quit [Remote host closed the connection] 22:20 -!- MatToufoutu [~MatToufou@unaffiliated/mattoufoutu] has left #go-nuts ["Quitte"] 22:21 -!- TheMue [~TheMue@p5DDF53E4.dip.t-dialin.net] has quit [Quit: TheMue] 22:22 -!- rlab_ [~Miranda@91.200.158.34] has quit [Read error: Connection reset by peer] 22:24 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Remote host closed the connection] 22:24 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 22:31 -!- mcot [~mcot@cpe-72-224-172-147.maine.res.rr.com] has joined #go-nuts 22:35 -!- tgall_foo [~tgall@206.9.88.154] has joined #go-nuts 22:38 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 22:41 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 22:47 -!- emjayess [~emjayess@pix1.i29.net] has quit [Ping timeout: 250 seconds] 22:47 -!- gnuvince [~vince@64.235.201.71] has quit [Ping timeout: 245 seconds] 22:49 -!- gnuvince [~vince@64.235.201.71] has joined #go-nuts 22:51 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Remote host closed the connection] 22:51 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 22:51 -!- emjayess [~emjayess@pix1.i29.net] has joined #go-nuts 22:53 -!- tensorpudding [~user@99.148.202.191] has quit [Remote host closed the connection] 22:57 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Quit: Leaving.] 22:58 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 22:58 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Client Quit] 22:59 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 22:59 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Client Quit] 22:59 -!- ct529 [~quassel@77-44-78-159.xdsl.murphx.net] has joined #go-nuts 23:00 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 23:00 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Remote host closed the connection] 23:01 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 23:01 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Client Quit] 23:02 -!- noam [noam@77.126.212.138] has quit [Ping timeout: 240 seconds] 23:03 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 23:03 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Client Quit] 23:03 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 23:03 -!- emjayess [~emjayess@pix1.i29.net] has quit [Quit: Leaving] 23:04 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Client Quit] 23:22 -!- ct529 [~quassel@77-44-78-159.xdsl.murphx.net] has quit [Remote host closed the connection] 23:22 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 23:28 -!- awidegreen [~quassel@p5DF1BE38.dip.t-dialin.net] has quit [Read error: Connection reset by peer] 23:41 -!- tav [~tav@92.7.120.172] has quit [Ping timeout: 252 seconds] 23:43 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 23:45 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Remote host closed the connection] 23:48 -!- tav [~tav@92.7.119.86] has joined #go-nuts --- Log closed Sat Nov 27 00:00:35 2010