<div dir="ltr"><div>Perl6 would be a interesting candidate. it does not have the GIL.<br><br></div>- Jo<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 10, 2017 at 7:07 PM, Nicolas Hurtubise <span dir="ltr"><<a href="mailto:nicolas.k.hurtubise@gmail.com" target="_blank">nicolas.k.hurtubise@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From<br>
<a href="https://en.wikipedia.org/wiki/List_of_concurrent_and_parallel_programming_languages#Multi-threaded" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/<wbr>List_of_concurrent_and_<wbr>parallel_programming_<wbr>languages#Multi-threaded</a>,<br>
Java, C# and Clojure could all be good candidates.<br>
<br>
Nicolas<br>
<br>
<br>
Le 2017-03-10 à 18:50, Marc Feeley a écrit :<br>
> Now that truly concurrent threading is working fairly well I decided to benchmark Gambit against Python for a simple threaded program (threaded Fibonacci with a thread granularity of roughly 50 microseconds creating 30,000 threads).  I was happy to see that Gambit performs well.  Here are the timings:<br>
><br>
> % time gsi -:p4 tfib.scm<br>
><br>
> real    0m0.355s<br>
> user    0m1.234s<br>
> sys     0m0.041s<br>
><br>
> % time python3 tfib.py<br>
><br>
> real    0m3.965s<br>
> user    0m3.326s<br>
> sys     0m1.535s<br>
><br>
> On 4 processors Gambit has a “user” time that is about 4 times the “real” time, and the system time is almost nil.<br>
><br>
> But wait a second… the Python system time is huge and the user and real times are roughly the same… after a little bit of research I just recalled the GIL (Global Interpreter Lock) that effectively serializes the execution of the interpreter so only one thread is active at any point in time (when in the interpreter). I can’t believe how such a crapily implemented language can be so popular…<br>
><br>
> Any suggestions for a popular and efficient threaded language to compare to?<br>
><br>
> Marc<br>
><br>
> ______________________________<wbr>_________________<br>
> Gambit-list mailing list<br>
> <a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
> <a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" rel="noreferrer" target="_blank">https://webmail.iro.umontreal.<wbr>ca/mailman/listinfo/gambit-<wbr>list</a><br>
<br>
______________________________<wbr>_________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" rel="noreferrer" target="_blank">https://webmail.iro.umontreal.<wbr>ca/mailman/listinfo/gambit-<wbr>list</a><br>
</blockquote></div><br></div></div></div>