News for hackers. Stuff that matters.
Re:Go and Dogma by coldtea on Monday January 09, 2017 @12:32PM (#13357992)
>(for example both Go and Haskell need some kind of “green threads”, so there are more shared runtime challenges than you might expect)

That's a very generous definition of similarities, as tons of languages have green threads, even Java/JVM had them initially (and still has them in various implementations over native threads). Could even add that most languages also have GC, some type system, io, modules, etc.

Re:Go and Dogma by szemet on Monday January 09, 2017 @02:32PM (#13359061)
Name a language having a compiler that most similar to Go in the threading domain, e.g.:

compiles to machine code

have green threads

use non-blocking IO in the background

have parallel runtime

Haskell is the first that comes to my mind. (I guess that Common Lisp is a safe bet too, as it had everything for ages before it was cool;), but I'm not familiar with that domain to be sure) Erlang have everything except machine code compilation.

What else? I guess the rest is from the newer, lesser known or experimental languages. So is there anything more popular than Haskell?

Re:Go and Dogma by pjmlp on Monday January 09, 2017 @03:55PM (#13359698)
Active Oberon, initially developed in 1996.

- compiles to machine code, check. A whole operating was written in it, AOS (aka BlueBottle).

- have green threads, check. That is where the name Active comes from. It makes use of tasks.

- use non-blocking IO in the background, check. Tasks are used everywhere across whole OS.

- have parallel runtime, check. The whole OS makes use of parallelism and its compiler, Paco, does compilation of modules in parallel

https://en.wikipedia.org/wiki/Active_Oberon

http://www.ocp.inf.ethz.ch/wiki/Documentation/Front

http://www.progtools.org/article.php?name=oberon&section=com...

Re:Go and Dogma by Manishearth on Monday January 09, 2017 @04:12PM (#13359847)
I absolutely love how in PL discussions you and nickpsecurity always have examples of random languages to fit every niche.
Re:Go and Dogma by pjmlp on Monday January 09, 2017 @04:40PM (#13360058)
Thanks! :)

I majored in systems and distributed programming, and had the luck of having a set of teachers that cared we should know the history of computing, making us curious about our past and how those designs could influence current ones.

So the habit of hunting and reading papers stayed with me, even if during the day I just do boring enterprise consulting.

Many times they are more entertaining than reading newspapers on the daily commute.

Re:Go and Dogma by Manishearth on Monday January 09, 2017 @07:02PM (#13361222)
You should blog about this stuff if you don't already and have the time :)
Re:Go and Dogma by coldtea on Monday January 09, 2017 @02:56PM (#13359265)
Occam (!= Ocaml) did CSP akin to Go AND static compiling back in the eighties. Various schemes have had both too (Racket, Chicken, etc), and CommonLisp is indeed a safe bet...

I think Julia is there too, not sure.

Re:Go and Dogma by suraj on Monday January 09, 2017 @11:07PM (#13362485)
Does Swift qualify?

compiles to machine code: yes

have green threads: I think DispatchQueues should qualify for this

use non-blocking IO in background: yes

have parallel runtime: I am not sure

Re:Go and Dogma by rsc on Monday January 09, 2017 @09:22PM (#13362004)
OK but the conversation I personally had was with someone involved with designing and implementing Haskell.