/srv/irclogs.ubuntu.com/2017/02/17/#ubuntu-us-mi.txt

chrstphrGreetings...everybody00:54
_stink__yo00:55
jrwrenhello00:56
chrstphryolo stink00:56
chrstphrwhat did i miss?00:56
cmaloney4 hours of idling00:57
chrstphridle here, idle there, it's all good!00:57
_stink__yes01:47
cmaloneymorning13:35
rick_hmorning13:37
shakes808morning13:37
jrwrenGood morning13:48
_stink__yo14:44
jrwrenmore evidence that Go is written by someone who doesn't know much: https://groups.google.com/forum/#!topic/golang-nuts/gdp1q6T0DNY  Rob doesn't understand sendfile and thinks that "it can be written in a few lines of efficient user code."16:11
cmaloneyUm16:11
cmaloneyThat's an awesome way to get buffer-overruns if you have "a few lines of efficient user code"16:12
cmaloneyPretty sure this is a moonshot: http://stackoverflow.com/jobs/135577/director-of-product-engineering-creative-commons16:14
jrwrenI think it can easily be done without buffer-overruns.16:25
jrwrensendfile exists for zerocopy. The kernel knows about hte open file and the open socket (or two sockets, or two files) and can copy data between them without copying the data to user space.16:25
jrwrenI'd have expected an expert like Rob Pike to both know and understand this.16:26
jrwrenThe more I go down this go rabbit whole, the more I realize it really is garbage.16:26
cmaloneyOK, I think I'm missing something here16:27
cmaloneySo they're looking for a way in Go to use Sendfile?16:28
cmaloneyor a way to replicate what sendfile does without the kernel call?16:29
cmaloney(but yeah, that R. Pike didn't know about that call is a little concerning. ;))16:29
jrwrenthe link i posted is 7yrs old.16:34
cmaloneyright, i got that16:34
jrwrenits the dismissiveness and unawaredness which concerns me.16:35
cmaloneyWell, it does have a certain "BSD doesn't do that" vibe to it16:35
cmaloneyor rather "huh, these kids and their system calls"16:36
cmaloney(BSD does have it, so I'm reading things wrong)16:36
* cmaloney is feeling less like a programmer and more like a punter.16:38
jrwrenplan9 probably has no userspace and everythig is kernel space and hence r pike's lack of understanding.16:44
_stink__hah16:51
jrwrenor... apparently sendcopy is a helper function for splice. maybe rpike knew how to use splice... i'll bet not though, given his userspace comment.17:32

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!