Nп/п : 29 из 87
 От   : Mild Shock                          2:5075/128        29 июл 23 05:10:58
 К    : Mild Shock                                            29 июл 23 15:15:07
 Тема : Re: 50 Years of Prolog Nonsense
----------------------------------------------------------------------------------
                                                                                 
@MSGID:
<8f3f24d1-7258-4572-9b81-596f2139546bn@googlegroups.com> 0d83bc0a
@REPLY:
<e5616850-37a8-46fd-b2a8-e3ca252b8a5an@googlegroups.com> 9806969e
@REPLYADDR Mild Shock <bursejan@gmail.com>
@REPLYTO 2:5075/128 Mild Shock
@CHRS: CP866 2
@RFC: 1 0
@RFC-References:
<db903ba2-8ccd-418e-bd18-a9eb381cd222n@googlegroups.com> <e5616850-37a8-46fd-b2a8-e3ca252b8a5an@googlegroups.com>
@RFC-Message-ID:
<8f3f24d1-7258-4572-9b81-596f2139546bn@googlegroups.com>
@TZUTC: -0700
@PID: G2/1.0
@TID: FIDOGATE-5.12-ge4e8b94
In as far, concerning thread affinity, one has to also watch what happens
concerning JavaScript Worker concept adoptions in Python. Multi-threading
can be optimized even more If you have such isolation concepts.

In this respect there is also PEP 683 - Immortal Objects, which on the
surface might not be related, but it also relates to the effort to better handle
strings and make a GIL per-interpreter, the later could underly Workers.

Mild Shock schrieb am Samstag, 29. Juli 2023 um 13:57:15 UTC+2:
> Can SWI-Prolog lean back concerning multi-threading? The 
> Python store looks like a nice piece of darwinism. So there is some 
> evolutionary pressure through some selection mechanism: 

> > Allen Goodman, author of CellProfiler and staff engineer at 
> Prescient Design and Genentech, describes how the GIL makes 
> biological methods research more difficult in Python. 

> So basically Python starts lacking behind as the datascience language. 
> Oh the irony. But I would not blame it so much on the GIL. Deep down many 
> programming languages have still a GIL, 

 > for example in malloc(). I don`t know whether SWI-Prologs
tcmalloc() integration 
> even squeezes the lemon. From >JDK 9 Java had a slower GC single-threaded 
> because they started optimizing their virtual machine for multi-threaded. 

> Such optiminzations do not only consists of removing the GIL, you 
> need optimize malloc(). Some approaches uses thread affine memory 
 > areas, but this is also tricky, since not all objects have a
clear thread affinity.
--- G2/1.0
 * Origin: usenet.network (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх