Re: [go-nuts] GIL for Go

2021-04-01 Thread Eric S. Raymond
Amnon : > An exciting announcement from the Go team this morning! PK, that was a pretty good AFJ. You actually achieved weak level 2 on me. Explanation of level 2 (and others) here: http://esr.ibiblio.org/?p=3084 -- http://www.catb.org/~esr/";>Eric S. Raymond -- Y

Re: [go-nuts] political fundraising on golang.org!

2020-06-15 Thread Eric S. Raymond
s have to think about things we would rather not think about. Quite. And we can do it off-list. -- http://www.catb.org/~esr/";>Eric S. Raymond -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe fr

Re: [go-nuts] political fundraising on golang.org!

2020-06-15 Thread Eric S. Raymond
http://www.catb.org/~esr/";>Eric S. Raymond -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To

Re: [go-nuts] political fundraising on golang.org!

2020-06-14 Thread Eric S. Raymond
tb.org/~esr/";>Eric S. Raymond -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion

Re: [go-nuts] Why Discord is switching from Go to Rust

2020-02-08 Thread Eric S. Raymond
e from philosophical commitments I understand and share. This makes up for the fact that in calendar time Go would *still* not be quite seasoned enough for my taste if I did not have confidence in their priorities. -- http://www.catb.org/~esr/";>Eric S. Raymond -- You

Re: [go-nuts] Why Discord is switching from Go to Rust

2020-02-07 Thread Eric S. Raymond
certain complexity of internal data-structure management, where having GC moves from bein convenient to an essential tool for holding dowb your defect rate. Different jobs, different tools. Engineering is like that. -- http://www.catb.org/~esr/";>Eric S. Raymond -

Re: [go-nuts] Re: Go mindshare is low & ~flat, per Google Trends

2020-01-27 Thread Eric S. Raymond
on was the best language to prototype reposurgeon in, but scale pressure forced the move to Go. -- http://www.catb.org/~esr/";>Eric S. Raymond -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe fro

Re: [go-nuts] Is there some kind of a MaxHeapAlarm implementation?

2020-01-20 Thread Eric S. Raymond
e is a target object for a many-to-one mapping that should become GCable when the last of its source objects is GCed. Is there a weakrefs implementation out tere that will do that? -- http://www.catb.org/~esr/";>Eric S. Raymond -- You received this message because you a

Re: [go-nuts] Go mindshare is low & ~flat, per Google Trends

2020-01-16 Thread Eric S. Raymond
Everton Marques : > See Go steadly growing over the years: > > https://madnight.github.io/githut/#/stars/2019/4 Wait. #4 in GitHub populaity, pasr C++ and C. amd people are *complaining*? I've seen failure. This isn't it. -- http://www.catb.org/~esr

Re: [go-nuts] [ANN] Simple DNS Server implemented in Go

2019-06-25 Thread Eric S. Raymond
ideal use cases for Go. Provable buffer overrun protection is especially desirable in this kind of service, and the language libraries undoubtedly make for a small, clean, exceptionally auditable implementation. Good on you. -- http://www.catb.org/~esr/";>Eric S. Raymond

Re: [go-nuts] Re: C++ 11 to Golang convertor

2019-01-15 Thread Eric S. Raymond
ually looked it what it outputs? If not, prepare to be horrified. Maintainability is an issue. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their site and donate: the civiliza

Re: [go-nuts] Re: Wuffs: a new, memory-safe programming language

2019-01-11 Thread Eric S. Raymond
Thomas Bushnell, BSG : > On Fri, Jan 11, 2019 at 9:33 AM Eric S. Raymond wrote: > > > Thomas Bushnell, BSG : > > > Suppose it has a way, however. Now you have Go code which will have a > > > bounds fault instead of a data leak. That's better, I suppose -

Re: [go-nuts] Re: Wuffs: a new, memory-safe programming language

2019-01-11 Thread Eric S. Raymond
Jesper Louis Andersen : > On Wed, Jan 9, 2019 at 7:07 PM Eric S. Raymond wrote: > > I agree. The class of old C program I am interested in is, however, > > not generally limited by CPU but by network and (less commonly) disk > > stalls. Again bear in mind that my type exa

Re: [go-nuts] Re: Wuffs: a new, memory-safe programming language

2019-01-11 Thread Eric S. Raymond
http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their site and donate: the civilization you save might be your own. -- You received this message because you are subscribed to the Google Groups

Re: [go-nuts] Re: Wuffs: a new, memory-safe programming language

2019-01-11 Thread Eric S. Raymond
is is an improvement, but a packet-of-death across a widely > used library this puts the world in a not dissimilar position in terms of > the level of panic and rapid response everybody needs. The difference is trhat an overt bug will elicit a fast fix. -- http://www.catb.org/~e

[go-nuts] Re: Wuffs: a new, memory-safe programming language

2019-01-09 Thread Eric S. Raymond
Nigel Tao : > Spun out of the "C++ 11 to Golang convertor" thread... > > > On Mon, Jan 7, 2019 at 12:27 AM Eric S. Raymond wrote: > > Perry and I have two different target languages in mind. Perry's > > target language is basically a repaired C - type-saf

Re: [go-nuts] C++ 11 to Golang convertor

2019-01-06 Thread Eric S. Raymond
C11 http://gallium.inria.fr/~fpottier/publis/jourdan-fpottier-2016.pdf Perry is adopting their parsing strategy for his codewalker. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their sit

Re: [go-nuts] C++ 11 to Golang convertor

2019-01-06 Thread Eric S. Raymond
ble names in some contexts. And there exists a good strategy for resolving those. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their site and donate: the civilization you save mig

Re: [go-nuts] C++ 11 to Golang convertor

2019-01-06 Thread Eric S. Raymond
another use case for sum types that I think is significant - enabling compile-time checking for limited polymorphism in an array of events. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Pleas

Re: [go-nuts] C++ 11 to Golang convertor

2019-01-06 Thread Eric S. Raymond
's not like we need to buy a cyclotron or anything but we do need to be able to eat and pay rent for a couple years each.) It would sure help if Go had sum types. Has there been any discussion of adding these? -- http://www.catb.org/~esr/";>Eric S. Raymond My work

Re: [go-nuts] Re: C++ 11 to Golang convertor

2019-01-04 Thread Eric S. Raymond
Ian Lance Taylor : > To be honest, the second step, making the compiler (and linker) > idiomatic Go, is still in progress. I'm not even a bit surprised to hear that. :-) -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil En

Re: [go-nuts] Re: C++ 11 to Golang convertor

2019-01-04 Thread Eric S. Raymond
ctory when I can lift the NTPsec codebase out of C with this thing. But this is just a plan in my head right now. I won't have time to do it until I can leave NTPsec in a stable, reasonably finished state. And then I'lll have to scare up funding. -- http://www.catb.org/~esr/";>Eric

Re: [go-nuts] Failed iterator proposals?

2018-10-25 Thread Eric S. Raymond
scales. Someone other than me will have to be able to maintain this code someday. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their site and donate: the civilization you save migh

Re: [go-nuts] Failed iterator proposals?

2018-10-25 Thread Eric S. Raymond
I'm unavoidably going to do a lot of allocations when deserializing the repisitory into its in-memory attributed-graph form, but after that I really want to keep heap churn to the bare mimimum required by the surgical operations. -- http://www.catb.org/~esr/";>Eric S. Raymond M

Re: [go-nuts] Failed iterator proposals?

2018-10-25 Thread Eric S. Raymond
Axel Wagner : > So, how many such loops are there? In my code? 82, for a first approximation. there might be some I'm missing. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please

Re: [go-nuts] Failed iterator proposals?

2018-10-24 Thread Eric S. Raymond
ssume I don't have ideas about error handling and cleanup just bceause you haven't seen them yet. They's be in a complete RFE. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Pleas

Re: [go-nuts] Failed iterator proposals?

2018-10-22 Thread Eric S. Raymond
programming at scale. These might be the same issue, actually. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their site and donate: the civilization you save might be your own

Re: [go-nuts] Failed iterator proposals?

2018-10-22 Thread Eric S. Raymond
channel idiom, too - slowness due to channel scheduler overhead. Can be pretty bad - I've verified this by benchmarking. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit

Re: [go-nuts] Failed iterator proposals?

2018-10-22 Thread Eric S. Raymond
th respect to channels.) The detail in which the devil lurks is how the closure returns a stop value. There are a couple of different ways this could work; I'll write an RFE once I figure out which is the Right Thing. -- http://www.catb.org/~esr/";>Eric S. Raymond My

Re: [go-nuts] Avoiding overloading

2018-10-19 Thread Eric S. Raymond
cted of type parameters across a wide range of > possible operations). I don't understand the the grounds of this objection. Can you pose some cases you think implements couldn't cover? -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Int

Re: [go-nuts] Avoiding overloading

2018-10-19 Thread Eric S. Raymond
Ian Denhardt : > Quoting Eric S. Raymond (2018-10-19 16:15:25) > > Ian Denhardt : > > > What would code making use of a `Sortable` type look like? If you can't > > > actually use "implements <" to overload `<`, it's not clear to me what >

Re: [go-nuts] Regarding contracts

2018-10-19 Thread Eric S. Raymond
Ian Denhardt : > Quoting Eric S. Raymond (2018-10-19 16:03:02) > > > Both classes want to be selected by a field "name". It's annoying that > > I can't declare an interface that says "has a field 'name'" and instead > > have

Re: [go-nuts] Regarding contracts

2018-10-19 Thread Eric S. Raymond
sliding > > around that restriction. > > I think you are talking about https://golang.org/issue/23796 (which > was not accepted). Thank you, Ian, that explanation is very clarifying. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the I

Re: [go-nuts] Proposed changes to the Go draft generics design in the light of feedback received

2018-10-19 Thread Eric S. Raymond
is appreciated. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their site and donate: the civilization you save might be your own. -- You received this message because you are subscribe

Re: [go-nuts] Proposed changes to the Go draft generics design in the light of feedback received

2018-10-19 Thread Eric S. Raymond
http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their site and donate: the civilization you save might be your own. -- You received this message because you are subscribed to the Googl

Re: [go-nuts] Avoiding overloading

2018-10-19 Thread Eric S. Raymond
won't complain. I'm saying I'd prefer that future to heavyweight contracts. Surface overloading is *not* the important thing about "implements"; having a lightweight way to refer to typeclasses like "Sortable" is. -- http://www.catb.org/~esr/";>E

Re: [go-nuts] Regarding contracts

2018-10-19 Thread Eric S. Raymond
liding around that restriction. But precisely because this could easily be patched into interfaces, I think it's not much of an argument for your plan. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https:/

Re: [go-nuts] Re: Proposed changes to the Go draft generics design in the light of feedback received

2018-10-19 Thread Eric S. Raymond
It's happened to me, too. I have developed enough humility to actually value people who can jolt me hard enough to notice how I'm stuck. Perhaps you should consider cultivating more of that yourself. -- http://www.catb.org/~esr/";>Eric S. Raymond My work i

Re: [go-nuts] Regarding contracts

2018-10-19 Thread Eric S. Raymond
http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their site and donate: the civilization you save might be your own. -- You received this message because you are subscribed to the Google Groups &qu

Re: [go-nuts] Regarding contracts

2018-10-19 Thread Eric S. Raymond
nd lattice algebra and want to be able to express partial (not just total) ordering. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their site and donate: the civilization you s

Re: [go-nuts] Regarding contracts

2018-10-19 Thread Eric S. Raymond
e,* and the syntax is trivial. That's not just parsimony on the surface, it's a fundamental clue that we have found the simplest way possible to express what it gives us access to. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet C

Re: [go-nuts] Regarding contracts

2018-10-19 Thread Eric S. Raymond
Andy Balholm : > I don’t think that generic functions should have access to private > fields of their type parameters, regardless of what package they are > in. Agreed. Turns me off this proposal somewhat. -- http://www.catb.org/~esr/";>Eric S. Raymond My work

Re: [go-nuts] Regarding contracts

2018-10-19 Thread Eric S. Raymond
ord. Also I think the granularity of "like this operator" is more appropriate than the granularity of "like this type". That said, I like Burak's design better than anything I've seen yet *except* "implements". -- http://www.catb.org/~esr/&

Re: [go-nuts] Regarding contracts

2018-10-17 Thread Eric S. Raymond
tb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their site and donate: the civilization you save might be your own. -- You received this message because you are subscribed to the Google Groups "golang-nuts&quo

Re: [go-nuts] Re: Generics: an unwelcome conclusion and a proposal

2018-10-17 Thread Eric S. Raymond
about how to fix that. I'll post it once the dust around generics settles a little. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their site and donate: the civilization you

Re: [go-nuts] Re: Generics: an unwelcome conclusion and a proposal

2018-10-17 Thread Eric S. Raymond
ng "implements []". -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their site and donate: the civilization you save might be your own. -- You received this message b

Re: [go-nuts] Re: Announcing pytogo. a crude but surprisingly effective Python to Go translator

2018-10-01 Thread Eric S. Raymond
to consider yanking function doc > strings from the body and outputting them as comments above the func line. See, now, that's a perfect candidate for inclusion in the rule swarm. Almost always correct. Does strictly bounded, easily-undone harm in the rare cases where it isn't. --

Re: [go-nuts] Re: Announcing pytogo. a crude but surprisingly effective Python to Go translator

2018-10-01 Thread Eric S. Raymond
like Go fine but Python still has an edge for small rapid-prototyping jobs like this one. It's not like reposurgeon, the datasets won't ever become large enough for compiled-language performance to be really needful. -- http://www.catb.org/~esr/";>Eric S. Raymond

Re: [go-nuts] why does go reverse the order of name and type? "i int" vs "int i"

2018-09-20 Thread Eric S. Raymond
ths of abyssal madness. I'm really glad I never summoned up the nerve to mount the thing. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their site and donate: the civilization

Re: [go-nuts] Re: proposal: generic generics proposal

2018-09-20 Thread Eric S. Raymond
RCAL user's manual. It seemed appropriate. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their site and donate: the civilization you save might be your own. -- You received this

Re: [go-nuts] A simplified generics constraint system.

2018-09-14 Thread Eric S. Raymond
alanfo : > Any comments or constructive criticism are of course welcome. I applaud this step in the direction of simplicity. I've left a more specific comment on the issue. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet C

Re: [go-nuts] Generics - Why contracts?

2018-09-12 Thread Eric S. Raymond
ite min() and max() as generics. Yes, I would prefer this 90% to the elaborate, fragile schemes for user-defined contracts that are under discussion. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://i

Re: [go-nuts] Generics - Why contracts?

2018-09-11 Thread Eric S. Raymond
ight insight yet. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their site and donate: the civilization you save might be your own. -- You received this message because you are

Re: [go-nuts] Gitlab CI loses its marbles attempting go get.

2018-09-10 Thread Eric S. Raymond
f my Python CI setup. But that's OK as I don't expect those tests to be relevant much longer. Translation 19% complete. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their

Re: [go-nuts] Gitlab CI loses its marbles attempting go get.

2018-09-10 Thread Eric S. Raymond
:1.10.4-alpine3.8 and > golang:1.11-alpine3.8 base images work fine. Yeah, I can believe that. The Docker environment at Gitlab ciuld well be running 1.9 or olver; I don't have a quick way to check. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded

Re: [go-nuts] Re: Generics as builtin typeclasses

2018-09-09 Thread Eric S. Raymond
y Python translation is finished I may present it here. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their site and donate: the civilization you save might be your own. -- You received this me

Re: [go-nuts] Re: Generics as builtin typeclasses

2018-09-09 Thread Eric S. Raymond
is rant, and maybe I still shouldn't, but...now I think it must be said in order to underline the general point. Those of you advocating generics by contract, in particular, need to think hard about what they would do to compactness. -- http://www.catb.org/~esr/";>Eric S. Ray

Re: [go-nuts] Re: Operator Overloading Implies Generics?

2018-09-09 Thread Eric S. Raymond
*not* among them; in fact my draft calls out operator overloading as a feature best left behind. I judge Go's mimnimalism is the right thing here. -- http://www.catb.org/~esr/";>Eric S. Raymond My work is funded by the Internet Civil Engineering Institute: https: