Go Language Resources Go, golang, go... NOTE: This page ceased updating in October, 2012

--- Log opened Mon May 17 00:00:56 2010
00:24 -!- hstimer [~hstimer@70.90.170.37] has quit [Quit: hstimer]
00:38 -!- jhawk28 [~jhawk28@72.40.31.201] has quit [Ping timeout: 258 seconds]
00:57 -!- zyichi [~zyichi@124.205.180.154] has joined #go-nuts
01:08 -!- hstimer [~hstimer@70.90.170.37] has joined #go-nuts
01:08 -!- ajbouh [~adamb@c-71-233-151-63.hsd1.ma.comcast.net] has quit [Quit:
ajbouh]
01:11 -!- lilpenguina [~penguina@75.97.68.130.res-cmts.senj.ptd.net] has joined
#go-nuts
01:14 -!- ikkebr [~ikke@unaffiliated/ikkebr] has quit []
01:23 < vrtical> can I ask a beginner's question?  What's going on in "for
i, x := range v { }" - is that an initialisation, a condition..?  What type does
range give and how does the for know when to stop?
01:24 < Ginto8> well range is a builtin "thing" (very scientific term) of
the for loop
01:25 < Ginto8> it iterates over an array, slice, channel (but that's
special), or map
01:25 < exch> if a type has an Iter() implementation, then range will use it
to fetch each consecutive element until there are non left
01:25 < Ginto8> it pretty much creates a foreach loop
01:25 < Ginto8> without having a foreach loop
01:26 < Ginto8> exch: orly?  so I can have a vector.Vector and iterate over
it, without having to iterate over Iter()?
01:26 < Ginto8> as in explicitly call Iter() and iterate over its channel
01:27 < sladegen> http://golang.org/pkg/exp/iterable/ perhaps...
01:27 < exch> you can call Iter() yourself if you want to
01:27 < exch> don't see why not.  it's just another function
01:28 -!- Archwyrm [~archwyrm@66.249.8.146] has quit [Ping timeout: 240 seconds]
01:28 < Ginto8> but I don't have to call it explicitly
01:29 < exch> I doubt it.  range works on the channel returned by iter(),
not on the type that has the iter() function
01:29 < Ginto8> yeah just looked at the lang spec
01:30 < Ginto8> only maps,arrays,slices,pointers to arrays, and channels
will work
01:30 < Ginto8> so Iter() would have to be explicitly called
01:30 < exch> ya
01:30 < Ginto8> ok thanks =D
01:30 < exch> which kind of disqualifies my previous remark.  It's not about
the Iter().  you can name it whatever you want
01:31 * exch goes back to his cave
01:33 -!- Ycros [~ycros@gnaw.yi.org] has quit [Ping timeout: 260 seconds]
01:33 < vrtical> Thanks guys.  I suppose I might have worked out what range
was from the language spec (it specifically lists a RangeClause for 'for') but I
hope you appreciate it's a little difficult for a learner to read.
01:36 -!- Ycros [~ycros@gnaw.yi.org] has joined #go-nuts
01:49 -!- yashi [~yashi@dns1.atmark-techno.com] has joined #go-nuts
01:50 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
01:50 -!- thomas_b [~thomasb@cm-84.215.37.40.getinternet.no] has joined #go-nuts
01:58 -!- fishpond1 [~ca7a95c3@gateway/web/freenode/x-oclzyxkipamhezfi] has quit
[Ping timeout: 252 seconds]
02:02 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
02:03 -!- hstimer [~hstimer@70.90.170.37] has quit [Quit: hstimer]
02:06 -!- jacky_ [~jacky@219.142.118.227] has joined #go-nuts
02:07 -!- htoothrot [~mux@71-11-228-206.dhcp.ftwo.tx.charter.com] has quit [Ping
timeout: 252 seconds]
02:09 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has quit
[Remote host closed the connection]
02:10 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
02:14 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping
timeout: 240 seconds]
02:16 -!- jacky_ [~jacky@219.142.118.227] has left #go-nuts []
02:21 -!- htoothrot [~mux@71-8-117-228.dhcp.ftwo.tx.charter.com] has joined
#go-nuts
02:27 -!- jackywu [~jackywu@61.135.152.194] has joined #go-nuts
02:28 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has quit [Read
error: Connection reset by peer]
02:33 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping
timeout: 246 seconds]
02:34 -!- ly- [~ly-@unaffiliated/ly-] has quit [Quit: ly-]
02:36 -!- jackywu [~jackywu@61.135.152.194] has left #go-nuts []
02:41 -!- Wiz126 [~Wiz126@24.115.240.60.res-cmts.sm.ptd.net] has quit [Read error:
Connection reset by peer]
02:43 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Quit:
Leaving.]
02:43 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
02:45 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
02:46 -!- gospch [~gospch@unaffiliated/gospch] has quit [Ping timeout: 265
seconds]
02:47 -!- lilpenguina [~penguina@75.97.68.130.res-cmts.senj.ptd.net] has quit
[Quit: Leaving.]
02:47 -!- Wiz126 [~Wiz126@24.115.240.60.res-cmts.sm.ptd.net] has joined #go-nuts
02:48 -!- gospch_ [~gospch@unaffiliated/gospch] has joined #go-nuts
02:54 -!- fishpond1 [~ca7a95c3@gateway/web/freenode/x-nkxrfafzdehtzbph] has joined
#go-nuts
03:04 -!- kota1111 [~kota1111@gw2.kbmj.jp] has joined #go-nuts
03:10 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
03:10 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
03:11 -!- Ycros [~ycros@gnaw.yi.org] has quit [Ping timeout: 265 seconds]
03:12 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
03:16 -!- Ycros [~ycros@gnaw.yi.org] has joined #go-nuts
03:23 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
03:25 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Client
Quit]
03:26 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
03:27 -!- mprime [~d0668528@gateway/web/freenode/x-tpwcbtpkahlgpbsu] has joined
#go-nuts
03:27 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
03:27 -!- mprime [~d0668528@gateway/web/freenode/x-tpwcbtpkahlgpbsu] has left
#go-nuts []
03:33 -!- nchaimov [~cowtown@c-71-237-208-209.hsd1.or.comcast.net] has quit [Read
error: Connection reset by peer]
03:35 -!- nchaimov [~cowtown@c-71-237-208-209.hsd1.or.comcast.net] has joined
#go-nuts
03:36 -!- burchell [~burchell@li28-11.members.linode.com] has joined #go-nuts
03:37 -!- burchell [~burchell@li28-11.members.linode.com] has left #go-nuts []
03:45 -!- burchell [~burchell@li28-11.members.linode.com] has joined #go-nuts
03:51 -!- SecretofMana [~mana@142.46.164.30] has quit [Ping timeout: 258 seconds]
03:52 -!- hstimer [~hstimer@2002:62ea:197d:0:226:bbff:fe05:dd9b] has joined
#go-nuts
03:53 -!- Amaranth [~travis@ubuntu/member/Amaranth] has joined #go-nuts
03:53 -!- braddunbar [~brad@rrcs-24-172-225-206.midsouth.biz.rr.com] has quit
[Quit: leaving]
04:01 -!- tazjin [~tazjin@p5DC8190E.dip.t-dialin.net] has joined #go-nuts
04:02 -!- burchell [~burchell@li28-11.members.linode.com] has quit [Quit: Leaving]
04:03 -!- Ycros [~ycros@gnaw.yi.org] has quit [Ping timeout: 265 seconds]
04:14 -!- Ycros [~ycros@gnaw.yi.org] has joined #go-nuts
04:20 -!- Ycros [~ycros@gnaw.yi.org] has quit [Remote host closed the connection]
04:27 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
04:27 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
04:41 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 245
seconds]
04:46 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
04:48 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
04:49 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
04:59 -!- tazjin [~tazjin@p5DC8190E.dip.t-dialin.net] has quit [Remote host closed
the connection]
04:59 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Quit:
Leaving.]
05:01 -!- scm [justme@d070028.adsl.hansenet.de] has quit [Ping timeout: 246
seconds]
05:03 -!- eikenberry [~jae@mail.zhar.net] has quit [Ping timeout: 246 seconds]
05:03 -!- scm [justme@d019047.adsl.hansenet.de] has joined #go-nuts
05:29 -!- Project_2501 [~Marvin@82.84.68.182] has joined #go-nuts
05:34 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has joined
#go-nuts
05:52 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
05:53 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
06:09 -!- zyichi [~zyichi@124.205.180.154] has left #go-nuts []
06:14 -!- tvw [~tv@e176010018.adsl.alicedsl.de] has joined #go-nuts
06:17 < madari> hmm
06:17 < madari> browsing through the Code one can see things like this:
06:17 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has joined #go-nuts
06:17 < madari> var zero interface{}
06:18 < madari> foo = zero // help the GC
06:18 < madari> is that more efficient than just setting foo = null?
06:19 < aho> no
06:19 < madari> ok...
06:24 < Soultaker> so why is that done then?
06:25 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Ping timeout: 265
seconds]
06:30 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
06:30 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
06:32 < aho> superstition?
06:33 < aho> as far as gc schemes are concerned it only matters that you
drop the reference (e.g.  by assigning null)
06:35 -!- tvw [~tv@e176010018.adsl.alicedsl.de] has quit [Remote host closed the
connection]
06:37 -!- wrtp [~rog@89.242.170.31] has joined #go-nuts
06:41 -!- path[l] [UPP@120.138.102.34] has quit [Ping timeout: 258 seconds]
06:42 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts
06:44 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
06:51 < madari> aho: thx
06:51 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
06:52 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
06:55 -!- jingzuo [~brandon@h159.123.255.206.cable.thlq.cablelynx.com] has joined
#go-nuts
06:57 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has quit [Quit:
KVIrc Insomnia 4.0.0, revision: 4246, sources date: 20100125, built on: 2010-04-11
09:49:35 UTC http://www.kvirc.net/]
06:57 -!- jingzuo [~brandon@h159.123.255.206.cable.thlq.cablelynx.com] has left
#go-nuts []
07:01 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
07:02 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
07:06 -!- BrowserUk [~irc1_20_B@2.99.171.27] has joined #go-nuts
07:10 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
07:11 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
07:13 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 246 seconds]
07:14 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
07:15 -!- Kashia [~Kashia@port-92-200-112-166.dynamic.qsc.de] has quit [Ping
timeout: 258 seconds]
07:15 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
07:26 -!- tibshoot [~tibshoot@gw-puteaux.linagora.com] has joined #go-nuts
07:50 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
07:54 -!- zozoR [~zozoR@0x5da69cf2.cpe.ge-0-1-0-1105.hsnqu1.customer.tele.dk] has
joined #go-nuts
07:54 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
08:01 -!- zozoR [~zozoR@0x5da69cf2.cpe.ge-0-1-0-1105.hsnqu1.customer.tele.dk] has
quit [Quit: Morten.  Desu~]
08:08 -!- Squarism [~asdf@194-237-183-250.customer.telia.com] has joined #go-nuts
08:10 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
08:23 -!- TR2N [email@89.180.215.53] has quit [Ping timeout: 268 seconds]
08:24 -!- path[l] [UPP@120.138.102.34] has quit [Quit: path[l]]
08:25 -!- Squarism [~asdf@194-237-183-250.customer.telia.com] has quit []
08:33 -!- ikaros [~ikaros@f050204073.adsl.alicedsl.de] has joined #go-nuts
08:44 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
08:45 -!- path[l] [~path@59.162.86.164] has quit [Remote host closed the
connection]
08:45 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
08:56 -!- aho [~nya@f051160179.adsl.alicedsl.de] has quit [Quit:
EXEC_over.METHOD_SUBLIMATION]
09:06 -!- ThunderChicken [~bofh@dsl093-032-217.snd1.dsl.speakeasy.net] has quit
[Changing host]
09:06 -!- ThunderChicken [~bofh@kernel-panic/member/ThunderChicken] has joined
#go-nuts
09:10 -!- az [~az@carrot.znaider.de] has quit [Ping timeout: 248 seconds]
09:12 < taruti> Seems like I/O is sucking much of the development momemtum
09:17 -!- Svarthandske [~nn@dsl-tkubrasgw1-fe3cdc00-28.dhcp.inet.fi] has joined
#go-nuts
09:20 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
09:21 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
09:27 -!- MizardX [~MizardX@unaffiliated/mizardx] has quit [Ping timeout: 248
seconds]
09:30 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has joined
#go-nuts
09:31 < BrowserUk> taruti: care to expand on that?
09:31 < taruti> BrowserUk: the Google I/O conference, not much happening in
the repo.
09:37 < BrowserUk> taruti: I/O as in conference, rather than ...  Thanks.
09:42 < wrtp> it's not surprising really...
09:48 < taruti> Is there a way of making a CL depending on an another CL in
a nice fashion?
09:49 * taruti wants to get the Socketpair one in to start submittin Recvmsg
09:49 < taruti> then I can release fuse that depends on them.
09:55 < wrtp> taruti: not really
09:55 < wrtp> taruti: you just have to mention it in the remarks
09:56 < taruti> wrtp: but tricky to get the right changes since they change
the same files
09:56 < wrtp> there's no reason you can submit them all at once
09:56 < wrtp> just delete some of the files from the later CLs
09:57 < wrtp> and say that they depend on the earlier ones
09:57 < wrtp> i *think* that works.  i think i did it before.
09:57 < taruti> hmm
10:03 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
10:04 < wrtp> taruti: have you submitted the first CL?
10:05 < taruti> wrtp: http://codereview.appspot.com/1199045/show
10:12 < wrtp> taruti: maybe it's been caught by their spam filters again: it
hasn't showed up in golang-dev
10:12 < wrtp> you have hg mailed it, right?
10:13 < taruti> yes, as appspot shows.
10:13 < wrtp> also, it's always worth naming one of the go team to review
it, rather than just golang-dev
10:13 < taruti> the appspot message is generated by hg mail
10:13 < taruti> yes, just don't know any of them
10:14 < wrtp> you don't have to
10:14 < wrtp> but they're responsible for actually submitting stuff
10:14 < wrtp> if in doubt, send it to rsc :-)
10:14 < wrtp> (who is amazingly efficient)
10:16 < wrtp> you're right about google io though - they'll all be out of
action this week
10:25 -!- ikaros [~ikaros@f050204073.adsl.alicedsl.de] has quit [Remote host
closed the connection]
10:27 -!- ly- [~ly-@unaffiliated/ly-] has joined #go-nuts
10:28 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has quit [Remote
host closed the connection]
10:40 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
10:40 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
10:50 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Read error:
Connection reset by peer]
10:52 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
10:53 -!- Netsplit *.net <-> *.split quits: yashi, path[l], Namegduf,
kkress, TenOfTen, Abablabab, daed, General1337, jlouis, madari, (+1 more, use
/NETSPLIT to show all of them)
10:53 -!- Project-2501 [~Marvin@82.84.68.182] has joined #go-nuts
10:55 -!- daed [daed@static-ip-188-138-32-110.inaddr.intergenia.de] has joined
#go-nuts
10:55 -!- madari [madari@AM.irc.fi] has joined #go-nuts
10:56 -!- TenOfTen [~TenOfTen@c-fd25e555.04-18-73746f10.cust.bredbandsbolaget.se]
has joined #go-nuts
10:56 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 276
seconds]
10:57 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
10:57 -!- yashi [~yashi@dns1.atmark-techno.com] has joined #go-nuts
10:57 -!- Abablabab [~Boggy-B|H@93-96-78-46.zone4.bethere.co.uk] has joined
#go-nuts
10:57 -!- jlouis [jlouis@130.225.165.29] has joined #go-nuts
10:57 -!- kkress [~kkress@c-65-49-35-49.tilenetworks.com] has joined #go-nuts
10:57 -!- Namegduf [~namegduf@eu.beshir.org] has joined #go-nuts
11:00 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
11:04 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Client Quit]
11:05 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
11:06 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
11:16 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts
11:33 -!- kota1111 [~kota1111@gw2.kbmj.jp] has quit [Quit: Leaving...]
11:39 -!- ikaros [~ikaros@f050204073.adsl.alicedsl.de] has joined #go-nuts
11:48 -!- Svarthandske [~nn@dsl-tkubrasgw1-fe3cdc00-28.dhcp.inet.fi] has quit
[Quit: Svarthandske]
12:01 -!- tazjin [~tazjin@p5DC8190E.dip.t-dialin.net] has joined #go-nuts
12:12 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has joined
#go-nuts
12:20 -!- tvw [~tv@212.79.9.150] has joined #go-nuts
12:37 -!- ikke [~ikke@unaffiliated/ikkebr] has joined #go-nuts
12:41 -!- thiago [~thiago@usuarios153.dcc.ufmg.br] has joined #go-nuts
13:14 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
13:39 -!- BrowserUk [~irc1_20_B@2.99.171.27] has left #go-nuts []
13:45 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
13:48 -!- yashi [~yashi@dns1.atmark-techno.com] has quit [Quit: yashi]
13:49 -!- yashi [~yashi@dns1.atmark-techno.com] has joined #go-nuts
13:53 -!- Venom_X [~pjacobs@71.20.102.220] has joined #go-nuts
14:01 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
14:16 -!- lmoura [~lauromour@200.184.118.130] has joined #go-nuts
14:22 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
14:23 -!- TR2N [email@89-180-205-76.net.novis.pt] has joined #go-nuts
14:28 -!- TR2N [email@89-180-205-76.net.novis.pt] has quit [Ping timeout: 260
seconds]
14:30 -!- X-Scale [email@89-180-136-35.net.novis.pt] has joined #go-nuts
14:33 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
14:33 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
14:34 -!- BrowserUk [~irc1_20_B@2.99.171.27] has joined #go-nuts
14:37 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
14:37 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
14:38 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
14:39 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
14:39 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
14:40 -!- Guest68474 [~thiago@usuarios153.dcc.ufmg.br] has quit [Quit: bye]
14:42 -!- xenplex [~xenplex@195.46.241.226] has joined #go-nuts
14:55 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
15:03 -!- accAgon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has joined
#go-nuts
15:04 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has quit [Ping
timeout: 264 seconds]
15:11 -!- hstimer [~hstimer@2002:62ea:197d:0:226:bbff:fe05:dd9b] has quit [Quit:
hstimer]
15:12 -!- gospch [~gospch@unaffiliated/gospch] has quit [Read error: Connection
reset by peer]
15:15 -!- tumdum [~tumdum@atz1.neoplus.adsl.tpnet.pl] has joined #go-nuts
15:15 -!- tumdum [~tumdum@atz1.neoplus.adsl.tpnet.pl] has quit [Changing host]
15:15 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts
15:19 -!- tazjin [~tazjin@p5DC8190E.dip.t-dialin.net] has quit [Quit: Leaving...]
15:24 -!- surma [~surma@91-64-19-164-dynip.superkabel.de] has joined #go-nuts
15:30 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
15:31 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
15:35 < taruti> How does one use 6c/8c/...  C to return multiple values in a
Go-compatible way?
15:39 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection]
15:40 -!- diabolix [~jsoyke@206.210.81.55] has joined #go-nuts
15:42 -!- Tonnerre [tonnerre@netbsd/developer/tonnerre] has quit [Remote host
closed the connection]
15:42 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has joined #go-nuts
15:42 -!- Tonnerre [tonnerre@netbsd/developer/tonnerre] has joined #go-nuts
15:49 < wrtp> taruti: i think you use goc
15:50 -!- hstimer [~hstimer@70.90.170.37] has joined #go-nuts
15:55 < taruti> wrtp: yes, just the whole retn FLUSH(...) seems quite
nonstandard
15:58 -!- Ender2070 [~Ender2070@bas3-toronto63-1096720336.dsl.bell.ca] has joined
#go-nuts
15:59 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has quit [Quit: Leaving.]
15:59 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Quit: Disappears
in a puff of smoke]
16:02 -!- eikenberry [~jae@mail.zhar.net] has joined #go-nuts
16:02 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
16:03 < wrtp> taruti: retn FLUSH(...) ??
16:04 < taruti> wrtp: runtime .c files seem to have such way of handling
multiple arguments.
16:08 < taruti> wrtp: see e.g.  http://golang.org/src/pkg/runtime/iface.c
unsafe·Reflect
16:11 -!- terrex [~terrex@69.38.222.87.dynamic.jazztel.es] has joined #go-nuts
16:11 < taruti> flush seems to be just USED()
16:13 < wrtp> yeah, but there's that #pragma textflag 7 in front of it
16:14 < wrtp> why do you want to do this anyway?
16:15 -!- crashR [~crasher@codextreme.pck.nerim.net] has quit [Quit: Leaving.]
16:15 -!- Maxdamantus [~m@203-97-238-106.cable.telstraclear.net] has joined
#go-nuts
16:16 -!- Maxdamantus [~m@203-97-238-106.cable.telstraclear.net] has quit [Read
error: Connection reset by peer]
16:16 -!- Maxdamantus [~m@203-97-238-106.cable.telstraclear.net] has joined
#go-nuts
16:23 < taruti> wrtp: I need to mess with syscall things that syscall
package does not export
16:23 < taruti> oh well, I can do it in asm too
16:24 < wrtp> taruti: what kind of things?
16:25 < taruti> wrtp: linux_386 socketcall
16:25 < wrtp> taruti: if you're doing that, i'd guess the FLUSH() thingy
would work ok
16:25 < taruti> seems like just copypasting the assembler code is the
cleanest way
16:26 < wrtp> what does socketcall give you that the individual socket calls
don't?
16:27 < taruti> wrtp: on i386 socket system calls have a specific ABI that
is different
16:27 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Read error:
Connection reset by peer]
16:28 < wrtp> so...  what specific thing can't you do with the existing go
calls?
16:29 < taruti> wrtp: I need recvmsg to receive messages containing file
descriptors.  and that needs syscall.socketcall on linux-386 which is not
exported.
16:31 < wrtp> taruti: can't you use recvmsg?
16:31 < taruti> wrtp: in pure Go without needing libc?
16:32 < taruti> the copy-paste worked
16:32 < wrtp> well, recvmsg is just a syscall, right?
16:33 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
16:34 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
16:34 < taruti> wrtp: it is a syscall that needs a spefic stack alignment
that is not exported on 386 linux
16:35 < wrtp> fair enough.  the wonderful world of linux...
16:37 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
16:40 < taruti> but got it working
16:45 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
16:45 < Ender2070> Tonnerre - Are you gonna get those packages into the
Fedora Repo?
16:46 < Ender2070> If you aren't I am going to do it
16:46 < Ender2070> I want to be able to "yum install go" or w/e
16:47 < Tonnerre> Ender2070, you're welcome to
16:48 < Tonnerre> I think golang would be more like it but well
16:49 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has joined
#go-nuts
17:03 < Ender2070> yeah
17:03 < Ender2070> cool, i'll probably package up the apps too
17:04 -!- accAgon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has quit [Remote
host closed the connection]
17:04 < ni|> wrtp: are you on linux?
17:05 < ni|> i've a few more syscall things to edit
17:05 < ni|> looking for cc's on this CL
17:07 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
17:07 < Tonnerre> Ender2070, if you can get them into epel too that'd be
awesome :>
17:08 -!- prip [~foo@host231-195-dynamic.17-79-r.retail.telecomitalia.it] has quit
[Ping timeout: 252 seconds]
17:09 < Ender2070> we'll see :)
17:09 < Ender2070> probably 6.x if anything though
17:09 < Ender2070> bbl
17:09 -!- Ender2070 [~Ender2070@bas3-toronto63-1096720336.dsl.bell.ca] has quit
[Remote host closed the connection]
17:09 < Tonnerre> I hope he meant EPEL 6, not Fedora 6
17:11 -!- prip [~foo@host37-220-dynamic.45-79-r.retail.telecomitalia.it] has
joined #go-nuts
17:12 -!- terrex [~terrex@69.38.222.87.dynamic.jazztel.es] has quit [Quit:
Leaving.]
17:15 -!- drevell [~d@adsl-75-55-127-140.dsl.sfldmi.sbcglobal.net] has quit [Ping
timeout: 240 seconds]
17:19 -!- megaboz [~none@unaffiliated/megaboz] has joined #go-nuts
17:22 -!- simontwo [~simon@78.129.201.122] has joined #go-nuts
17:24 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has
quit [Ping timeout: 265 seconds]
17:26 -!- terrex [~terrex@69.38.222.87.dynamic.jazztel.es] has joined #go-nuts
17:28 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping
timeout: 240 seconds]
17:29 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
17:37 < wrtp> ni|: no, mac os
17:39 -!- Svarthandske [~nn@dsl-tkubrasgw1-fe3cdc00-28.dhcp.inet.fi] has joined
#go-nuts
17:41 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
17:42 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
17:43 -!- tazjin [~tazjin@p5DC8190E.dip.t-dialin.net] has joined #go-nuts
17:44 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
17:44 -!- cco3-hampster [~conleyo@nat/google/x-udxkmobbrcaaojsk] has joined
#go-nuts
17:50 < ni|> ok
17:50 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has joined
#go-nuts
17:51 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
17:53 -!- alehorst [~alehorst@189.58.22.219.dynamic.adsl.gvt.net.br] has joined
#go-nuts
18:04 -!- tibshoot [~tibshoot@gw-puteaux.linagora.com] has quit [Quit: Quitte]
18:04 -!- simontwo [~simon@78.129.201.122] has left #go-nuts []
18:05 -!- simon [~simon@78.129.201.122] has joined #go-nuts
18:06 -!- SugarBear [~stephen.s@91.86.15.114] has joined #go-nuts
18:07 -!- MizardX [~MizardX@unaffiliated/mizardx] has joined #go-nuts
18:15 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:55b2:fdc6:26f:f0a] has joined
#go-nuts
18:23 -!- marsu [~marsu@225.56.202-77.rev.gaoland.net] has joined #go-nuts
18:27 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:55b2:fdc6:26f:f0a] has quit
[Quit: Leaving.]
18:29 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
18:31 -!- SugarBear [~stephen.s@91.86.15.114] has quit []
18:39 -!- rlab_ [~Miranda@91.200.158.34] has joined #go-nuts
18:40 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 276 seconds]
18:43 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has quit [Quit:
KVIrc Insomnia 4.0.0, revision: 4246, sources date: 20100125, built on: 2010-04-11
09:49:35 UTC http://www.kvirc.net/]
18:44 -!- rlab_ [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
18:45 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
19:02 -!- gnuvince [~vince@64.235.207.54] has quit [Ping timeout: 246 seconds]
19:04 -!- gnuvince [~vince@64.235.207.54] has joined #go-nuts
19:05 -!- OpenSpace [~ja@109.93.65.55] has quit [Ping timeout: 245 seconds]
19:09 -!- Ender2070 [~Ender2070@bas2-brampton13-2925226846.dsl.bell.ca] has joined
#go-nuts
19:11 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
19:12 -!- surma [~surma@91-64-19-164-dynip.superkabel.de] has left #go-nuts []
19:13 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 240 seconds]
19:17 -!- dho_plan9 [~devon@onager.omniti.com] has quit [Ping timeout: 260
seconds]
19:19 -!- Agon [~marcel@HSI-KBW-109-192-058-176.hsi6.kabel-badenwuerttemberg.de]
has joined #go-nuts
19:23 -!- OpenSpace [~ja@79.101.153.170] has joined #go-nuts
19:30 -!- getisboy [~Family@pool-108-7-51-214.bstnma.fios.verizon.net] has joined
#go-nuts
19:34 -!- narsil [~Narsil@rke75-4-82-234-110-106.fbx.proxad.net] has joined
#go-nuts
19:35 < plexdev> http://is.gd/cdy1h by [Roger Peppe] in go/src/cmd/goyacc/
-- Add Error member to yyLexer type (yyError
19:49 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping
timeout: 264 seconds]
19:49 -!- turbinio [~tobias@91-66-240-129-dynip.superkabel.de] has joined #go-nuts
19:50 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
19:52 -!- Project-2501 [~Marvin@82.84.68.182] has quit [Ping timeout: 265 seconds]
19:55 -!- mertimor [~mertimor@p4FE75211.dip.t-dialin.net] has joined #go-nuts
19:55 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-174-17.clienti.tiscali.it] has
joined #go-nuts
19:59 -!- smw_ [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit
[Remote host closed the connection]
19:59 -!- megaboz [~none@unaffiliated/megaboz] has quit [Quit: Lost terminal]
20:04 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Ping timeout: 240
seconds]
20:04 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping
timeout: 240 seconds]
20:13 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
20:14 -!- braddunbar [~brad@rrcs-96-10-96-162.se.biz.rr.com] has joined #go-nuts
20:16 -!- simon [~simon@78.129.201.122] has quit [Quit: If there's one thing you
can say about mankind, there's nothing kind about man.]
20:17 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
20:29 -!- vomjom [~vomjom@99-157-248-71.lightspeed.stlsmo.sbcglobal.net] has quit
[Remote host closed the connection]
20:33 -!- rlab_ [~Miranda@91.200.158.34] has joined #go-nuts
20:34 -!- bmizerany [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has quit
[Remote host closed the connection]
20:34 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 240 seconds]
20:35 -!- getisboy [~Family@pool-108-7-51-214.bstnma.fios.verizon.net] has left
#go-nuts []
20:35 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
20:36 < taruti> transient fields + gob + structs including eachother seems
messy
20:36 < taruti> is there a nicer way of saying:
20:38 < taruti> type common_transient struct { ...  }; type
common_serialized struct { ...  }; type foo_transient struct { common_transient;
...  }; type foo_serialized struct { common_serialized; ...  }; type foo {
foo_transient; foo_serialized }
20:39 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
20:40 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
20:45 < wrtp> how would you like to say it?
20:46 < taruti> wrtp: it looks unidiomatic, and I am wondering whether there
is a more idiomatic solution
20:46 < Ginto8> well do you have to have distinct transient/serialized/etc.
versions?
20:46 < Ginto8> if so, then that seems to be the most simple method
20:47 < taruti> Ginto8: telling gob to ignore the transient fields would
suffice.
20:49 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has joined
#go-nuts
20:52 -!- Kashia [~Kashia@port-92-200-70-167.dynamic.qsc.de] has joined #go-nuts
20:52 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts
20:52 -!- aho [~nya@e176230032.adsl.alicedsl.de] has joined #go-nuts
20:53 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping
timeout: 252 seconds]
20:56 -!- zerd [~quassel@2a01:608:ccc:1000:2e0:4dff:fe83:76ed] has quit [Quit: No
Ping reply in 180 seconds.]
20:58 -!- gisikw [~gisikw@137.28.246.34] has quit [Remote host closed the
connection]
20:58 -!- Ender2070 [~Ender2070@bas2-brampton13-2925226846.dsl.bell.ca] has quit
[Remote host closed the connection]
20:59 -!- zerd [~quassel@rex.zerd.net] has joined #go-nuts
21:06 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
21:07 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum]
21:08 -!- xenplex [~xenplex@195.46.241.226] has quit [Quit: xenplex]
21:09 -!- Archwyrm [~archwyrm@66.249.8.146] has joined #go-nuts
21:25 -!- terrex [~terrex@69.38.222.87.dynamic.jazztel.es] has quit [Quit:
Leaving.]
21:25 -!- bmizerany [~bmizerany@231.sub-75-208-16.myvzw.com] has joined #go-nuts
21:29 -!- rlab_ [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
21:29 -!- diabolix [~jsoyke@206.210.81.55] has quit [Quit: Leaving]
21:34 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the
connection]
21:37 -!- wrtp [~rog@89.242.170.31] has quit [Quit: wrtp]
21:40 -!- XniX23 [vegy@89-212-10-29.dynamic.dsl.t-2.net] has joined #go-nuts
21:44 -!- wrtp [~rog@89.242.170.31] has joined #go-nuts
21:47 -!- ikke [~ikke@unaffiliated/ikkebr] has quit [Ping timeout: 240 seconds]
21:49 -!- Venom_X [~pjacobs@71.20.102.220] has quit [Ping timeout: 240 seconds]
21:50 -!- braddunbar [~brad@rrcs-96-10-96-162.se.biz.rr.com] has quit [Ping
timeout: 246 seconds]
21:52 -!- ikke [~ikke@unaffiliated/ikkebr] has joined #go-nuts
22:02 -!- dju [dju@fsf/member/dju] has quit [Quit: Quitte]
22:18 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the
connection]
22:22 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has quit [Quit:
KVIrc Insomnia 4.0.0, revision: 4246, sources date: 20100125, built on: 2010-04-11
09:49:35 UTC http://www.kvirc.net/]
22:28 -!- ly- [~ly-@unaffiliated/ly-] has quit [Quit: ly-]
22:29 -!- mertimor [~mertimor@p4FE75211.dip.t-dialin.net] has quit [Quit:
mertimor]
22:29 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
22:33 -!- Freejack [~dimonax@75-48-217-250.lightspeed.gdrpmi.sbcglobal.net] has
joined #go-nuts
22:33 < Freejack> Does the go linker support shared elf libraries?
22:34 < Freejack> Compiled the Hello World example, and it came down to
729k.  Guessing that's the statically linked runtime.
22:35 < Tonnerre> Dynamic linking is so out :D
22:36 < Freejack> Tonnerre: Well, how do you suggest I get the size of
"Hello, World!" down to less than 4k.(Actually it shouldn't even be that large.  )
22:37 < Freejack> Looking through the docs.  They dont say.
22:37 < taruti> why do you need it down?
22:38 -!- turbinio [~tobias@91-66-240-129-dynip.superkabel.de] has left #go-nuts
[]
22:39 < Freejack> taruti: Your seriously asking that question?  Why should
"Hello, World!" be less than a megabyte in size.
22:39 < Freejack> taruti: Your a programmer right?
22:40 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has quit [Remote
host closed the connection]
22:41 < taruti> Freejack: the sizes don't grow much, it is a constant
overhead.
22:41 < taruti> Freejack: and avoids issues with dynamic linking
22:41 < taruti> Freejack: how many megabytes of libraries are required for
e.g.  a Java helloworld?  C++?  perl?  python?  ...
22:42 < Freejack> taruti: I use Ada alot, and people complain that it
generates to large a binary by linking in the runtime.  To which I tell them to
use the shared runtime library.
22:42 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-174-17.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
22:43 < Freejack> I can use syscall in Ada and generate a binary that's less
than 400bytes.
22:43 <+iant> 6g/8g do not currently support shared libraries; gccgo does
22:44 < Freejack> iant: Gotcha.
22:48 * Freejack is compiling gccgo
22:48 < Freejack> bbl
22:49 -!- Freejack [~dimonax@75-48-217-250.lightspeed.gdrpmi.sbcglobal.net] has
quit [Quit: Leaving]
22:49 < Ginto8> well he's gonna be disappointed
22:52 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Read error:
Connection reset by peer]
22:53 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
22:56 < mpl> iant: is it even planned to have shared libs support with 6g
anyway?  I'd find that a bit odd given where 6g is coming from...
22:56 <+iant> no, there aren't any plans for that
22:56 < mpl> right.
23:02 < MizardX> Could anyone tell me why this simple program deadlocks?
I'm trying to generate pythagorian triplets.  http://ideone.com/qy0jK
23:07 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping
timeout: 264 seconds]
23:07 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
23:13 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
23:15 -!- aho [~nya@e176230032.adsl.alicedsl.de] has quit [Quit:
EXEC_over.METHOD_SUBLIMATION]
23:21 -!- ikaros [~ikaros@f050204073.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
23:22 -!- Agon [~marcel@HSI-KBW-109-192-058-176.hsi6.kabel-badenwuerttemberg.de]
has quit [Remote host closed the connection]
23:28 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
23:29 -!- Svarthandske [~nn@dsl-tkubrasgw1-fe3cdc00-28.dhcp.inet.fi] has quit
[Quit: Svarthandske]
23:30 < kmeyer> iant: is there a gccgo feature list / TODO / bug tracker
floating around?  (Or some section of gcc's bug tracker?)
23:37 <+iant> kmeyer: not really, some of the Go project issues are for
gccgo--you can look for the gccgo label
23:37 <+iant> otherwise I'm mostly keeping it in my head
23:38 < exch> perhaps you could publish a daily backup of your brain for us
:)
23:39 <+iant> I'll get right on that
23:39 -!- marsu [~marsu@225.56.202-77.rev.gaoland.net] has quit [Quit: Leaving]
23:39 <+iant> fortunately I am seeing the end of the tunnel on the SWIG work
23:40 <+iant> then I can get back to gccgo
23:40 -!- BrowserUk [~irc1_20_B@2.99.171.27] has left #go-nuts []
23:47 < Soultaker> what is the high level plan for gccgo anyway?
23:47 <+iant> make it a high quality Go compiler?
23:47 < Soultaker> so completely feature-complete but separate from the
native compiler?
23:47 <+iant> yes
23:47 < Soultaker> or are they arleady related?
23:47 <+iant> the runtime is partially but not completely shared
23:48 <+iant> the Go library is completely shared
23:48 <+iant> probably gccgo will pick up more and more of the 6g runtime
over time
23:48 <+iant> gccgo is already feature complete, by the way, except that I
haven't picked up the new panic/recover
23:48 < Soultaker> ah
23:49 <+iant> gccgo is likely to generate better code and run more slowly
than 6g
23:49 < Soultaker> it seemed strange to me to develop a completely working
native compiler and then suddenly decide to go with a gcc frontend instead
23:49 <+iant> that's what it does today, anyhow, and that will most likely
always be the case
23:49 <+iant> both compilers have their role
23:49 < Soultaker> I haven't checked it out.  6g seems to work excellently,
but the code generated can be significantly slower than C code (although it's hard
to compare fairly)
23:49 <+iant> anyhow, most languages have more than one compiler
23:50 < Soultaker> true, but it's nice to know which is the 'primary'
project
23:50 < Soultaker> (I wouldn't mistake Jython for CPython, or Mono for the
MS compiler)
23:50 <+iant> I suppose 6g is the primary project, though gccgo is my
personal primary project
23:51 < Soultaker> ah.
23:51 <+iant> the intention is that they are equivalent in the language and
libraries, though
23:52 < Soultaker> I should really check it out and see to what extent the
performance differences I've seen go away with gccgo
23:52 < Soultaker> (though I guess the runtime plays an important part in
performance too)
23:54 < chaos95> the biggest difference from what I've seen seems to be the
concurrency model
23:55 < Soultaker> how is that different?  isn't that part of the language
specification?
23:55 < Soultaker> (or did you mean between Go on one side and e.g.  C on
the other?)
23:55 < chaos95> no I mean between 6g and gccgo
23:56 < Ginto8> 6g is sorta concurrency within a thread
23:56 < chaos95> yeah
23:56 < Ginto8> whereas gccgo is one goroutine per thread
23:57 < Ginto8> (which makes inter-goroutine communication a lot slower)
23:57 -!- slashus2 [~slashus2@70.150.240.220] has joined #go-nuts
23:58 -!- slashus2 [~slashus2@70.150.240.220] has quit [Client Quit]
23:58 < Soultaker> so no more creating thousands of goroutines?
23:58 < Ginto8> not in gccgo
23:58 < Soultaker> and no more unbuffered channels?
23:58 < Ginto8> pretty much
23:59 < Ginto8> but any go compiler based on gcc would have the same
problems
23:59 < Soultaker> although I guess no more weird almost-deadlocks when all
the threads are claimed by long-running goroutines either
23:59 < exch> interesting tradeoff you'd have to consider then
23:59 < Ginto8> IIRC, it would require a change in the fundamentals of the
gcc backend
--- Log closed Tue May 18 00:00:05 2010