News for hackers. Stuff that matters.
Re:Go's work-stealing scheduler by pron on Tuesday July 18, 2017 @09:33AM (#14796354)
Not just Quasar, but pretty much any high-level concurrency framework (Akka uses it, too). Doug's algorithm is lock-free (except in some marginal features, that are not supported and not relevant for the Go implementation anyway) and displays exceptional scalability even on machines with a large number of cores. AFAICT, Go could copy Doug's implementation completely.
Re:Go's work-stealing scheduler by geodel on Tuesday July 18, 2017 @03:19PM (#14799266)
Ofcourse. And Oracle would be so pleased with that like they always are with Google copying Oracle code. [1]

1. https://www.theverge.com/2012/4/19/2961128/google-chief-java...

Re:Go's work-stealing scheduler by pron on Tuesday July 18, 2017 @05:16PM (#14800141)
I am not aware of any lawsuits involving Oracle over code used in accordance with its license. The Google lawsuit was over code that Google believed the license did not apply to, and they could therefore use not in accordance with the terms. In any event, the license of Doug Lea's code is creative commons.
Re:Go's work-stealing scheduler by RossBencina on Thursday July 20, 2017 @10:08AM (#14812544)
It's not even Creative Commons, it's CC-zero, which is public domain or as close as it gets. Strangely, the file that you linked has a GPL overlay:

  /*
   * This file is available under and governed by the GNU General Public
   * License version 2 only, as published by the Free Software Foundation.
   * However, the following notice accompanied the original version of this
   * file:
   *
   * Written by Doug Lea with assistance from members of JCP JSR-166
   * Expert Group and released to the public domain, as explained at
   * http://creativecommons.org/publicdomain/zero/1.0/
   */
https://github.com/netroby/jdk9-dev/blob/master/jdk/src/java...

I wonder where the original CC-zero version is located.

Re:Go's work-stealing scheduler by pron on Friday July 21, 2017 @07:06PM (#14824403)