00:13
jenrzzz has quit [Ping timeout: 264 seconds]
01:03
cybniv has joined #ruby
01:13
ih8u has joined #ruby
02:44
<
constxd >
do Threads actually run in parallel
02:44
<
constxd >
or is there a GIL
02:48
jenrzzz has joined #ruby
02:53
jenrzzz has quit [Ping timeout: 256 seconds]
02:56
jenrzzz has joined #ruby
03:01
jenrzzz has quit [Ping timeout: 264 seconds]
03:03
jenrzzz has joined #ruby
03:06
dviola has quit [Ping timeout: 246 seconds]
03:08
diego has joined #ruby
03:08
diego is now known as Guest870
03:09
jenrzzz has quit [Ping timeout: 260 seconds]
03:09
Guest870 has left #ruby [#ruby]
03:10
jenrzzz has joined #ruby
03:12
dviola has joined #ruby
03:16
jenrzzz has quit [Ping timeout: 268 seconds]
03:29
<
havenwood >
constxd: That's somewhat of an implementation detail. The reference implementation has Ractor-wide locks for parallel Threads.
03:30
<
havenwood >
There really isn't a GIL anymore, since the lock isn't global and it's a VM rather than interpreter.
03:30
<
havenwood >
It's just L now.
03:30
<
havenwood >
Folk started calling it the GVL, but the lock isn't VM-wide anymore.
03:31
<
havenwood >
So it's "Global" and "VM" aren't quite right.
03:31
<
havenwood >
That said, Ractors are experimental, so for practical purposes we have a GVL in Ruby.
03:32
<
havenwood >
There are lots of things it doesn't lock, including I/O and it's releasable in extensions.
03:32
<
havenwood >
You can even release it within Ruby with Fiddle manually.
03:33
<
havenwood >
Implementations like JRuby have not global lock. CRuby needs parallel processes for parallel computation or Ractors.
03:34
<
havenwood >
Take a look at Async gem for concurrent I/O in Ruby.
03:37
Vonter has joined #ruby
03:40
jenrzzz_ has joined #ruby
03:45
jenrzzz_ has quit [Ping timeout: 272 seconds]
03:59
jenrzzz has joined #ruby
04:04
jenrzzz has quit [Ping timeout: 256 seconds]
04:07
brokkoli_origina has quit [Ping timeout: 264 seconds]
04:30
brokkoli_origin has joined #ruby
04:45
jenrzzz has joined #ruby
04:45
jenrzzz_ has joined #ruby
04:53
jenrzzz_ has quit [Ping timeout: 255 seconds]
05:20
jenrzzz_ has joined #ruby
05:25
jenrzzz_ has quit [Ping timeout: 264 seconds]
05:35
niv has joined #ruby
05:36
trillion_exabyte has quit [Ping timeout: 272 seconds]
05:37
trillion_exabyte has joined #ruby
05:43
jenrzzz_ has joined #ruby
05:50
jenrzzz_ has quit [Ping timeout: 255 seconds]
05:55
Linux_Kerio has joined #ruby
06:01
jenrzzz_ has joined #ruby
06:02
_ht has joined #ruby
06:07
jenrzzz has quit [Ping timeout: 255 seconds]
06:07
jenrzzz_ has quit [Ping timeout: 272 seconds]
06:17
mange has quit [Remote host closed the connection]
06:28
jenrzzz has joined #ruby
06:39
jenrzzz has quit [Ping timeout: 255 seconds]
06:40
jenrzzz has joined #ruby
06:42
jenrzzz_ has joined #ruby
06:46
jenrzzz has quit [Ping timeout: 264 seconds]
06:51
jenrzzz_ has quit [Ping timeout: 255 seconds]
06:52
jenrzzz_ has joined #ruby
06:52
jenrzzz has joined #ruby
06:53
grenierm has joined #ruby
06:57
jenrzzz_ has quit [Ping timeout: 272 seconds]
06:59
jenrzzz has quit [Ping timeout: 272 seconds]
07:00
jenrzzz has joined #ruby
07:01
jenrzzz_ has joined #ruby
07:06
jenrzzz_ has quit [Ping timeout: 272 seconds]
07:09
jenrzzz has quit [Ping timeout: 260 seconds]
07:28
jenrzzz has joined #ruby
07:33
jenrzzz has quit [Ping timeout: 256 seconds]
07:38
jenrzzz has joined #ruby
07:39
FetidToot has quit [Ping timeout: 256 seconds]
07:42
jenrzzz has quit [Ping timeout: 246 seconds]
07:45
jenrzzz has joined #ruby
07:49
jenrzzz has quit [Ping timeout: 260 seconds]
07:52
jenrzzz has joined #ruby
07:54
howdoi has quit [Quit: Connection closed for inactivity]
07:56
jenrzzz has quit [Ping timeout: 260 seconds]
07:57
krocos has joined #ruby
07:59
graywolf has joined #ruby
08:09
milouse has joined #ruby
08:15
jenrzzz has joined #ruby
08:15
jenrzzz_ has joined #ruby
08:24
jenrzzz has quit [Ping timeout: 260 seconds]
08:24
jenrzzz_ has quit [Ping timeout: 252 seconds]
08:28
kokoro has quit [Ping timeout: 272 seconds]
08:28
kokoro has joined #ruby
08:35
jenrzzz has joined #ruby
08:43
jenrzzz has quit [Ping timeout: 246 seconds]
08:48
jenrzzz has joined #ruby
08:53
jenrzzz has quit [Ping timeout: 256 seconds]
08:58
Linux_Kerio has quit [Ping timeout: 272 seconds]
08:59
TomyWork has joined #ruby
08:59
FetidToot has joined #ruby
09:00
jenrzzz has joined #ruby
09:07
jenrzzz has quit [Ping timeout: 252 seconds]
09:15
jenrzzz has joined #ruby
09:20
jenrzzz has quit [Ping timeout: 264 seconds]
09:28
jenrzzz has joined #ruby
09:33
jenrzzz has quit [Ping timeout: 255 seconds]
09:40
jenrzzz has joined #ruby
09:45
jenrzzz has quit [Ping timeout: 264 seconds]
09:52
jenrzzz has joined #ruby
09:57
milouse has left #ruby [#ruby]
10:01
jenrzzz has quit [Ping timeout: 268 seconds]
10:06
jenrzzz_ has joined #ruby
10:08
milouse has joined #ruby
10:10
jenrzzz has joined #ruby
10:20
user71 has joined #ruby
10:22
jenrzzz has quit [Ping timeout: 240 seconds]
10:22
jenrzzz_ has quit [Ping timeout: 252 seconds]
10:49
infinityfye has quit [Quit: Leaving]
11:07
Tempesta has quit [Quit: See ya!]
11:09
user71 has quit [Quit: Leaving]
11:11
jenrzzz has joined #ruby
11:18
jenrzzz has quit [Ping timeout: 256 seconds]
11:49
Tempesta has joined #ruby
12:11
jenrzzz has joined #ruby
12:15
jenrzzz has quit [Ping timeout: 264 seconds]
12:18
jenrzzz has joined #ruby
12:23
Bewfu has joined #ruby
12:26
grenierm has quit [Ping timeout: 250 seconds]
12:26
jenrzzz has quit [Ping timeout: 272 seconds]
12:29
milouse has left #ruby [#ruby]
12:33
user71 has joined #ruby
12:37
donofrio has quit [Read error: Connection reset by peer]
12:38
donofrio has joined #ruby
12:55
osc4rpt has quit [Ping timeout: 252 seconds]
12:57
osc4rpt has joined #ruby
13:01
jenrzzz has joined #ruby
13:03
graywolf has quit [Quit: WeeChat 4.0.4]
13:06
jenrzzz has quit [Ping timeout: 256 seconds]
13:13
jenrzzz has joined #ruby
13:18
osc4rpt has quit [Ping timeout: 256 seconds]
13:20
osc4rpt has joined #ruby
13:24
jenrzzz has quit [Ping timeout: 260 seconds]
13:24
cybniv has joined #ruby
13:27
niv has quit [Ping timeout: 260 seconds]
13:28
infinityfye has joined #ruby
13:31
Linux_Kerio has joined #ruby
13:34
dostoyevsky2 has quit [Quit: leaving]
13:34
dostoyevsky2 has joined #ruby
13:37
niv has joined #ruby
13:38
cek has joined #ruby
13:39
jenrzzz has joined #ruby
13:43
jenrzzz has quit [Ping timeout: 256 seconds]
13:45
milouse has joined #ruby
13:50
jenrzzz has joined #ruby
13:56
jenrzzz has quit [Ping timeout: 264 seconds]
14:01
jenrzzz has joined #ruby
14:06
jenrzzz has quit [Ping timeout: 260 seconds]
14:06
c10l7 has joined #ruby
14:06
c10l has quit [Read error: Connection reset by peer]
14:06
c10l7 is now known as c10l
14:16
user71 has quit [Quit: Leaving]
14:20
jenrzzz has joined #ruby
14:20
jenrzzz_ has joined #ruby
14:21
user71 has joined #ruby
14:25
jenrzzz has quit [Ping timeout: 268 seconds]
14:25
jenrzzz_ has quit [Ping timeout: 255 seconds]
14:31
jenrzzz has joined #ruby
14:39
jenrzzz has quit [Ping timeout: 260 seconds]
14:47
jenrzzz has joined #ruby
14:52
jenrzzz has quit [Ping timeout: 264 seconds]
14:56
Bewfu has quit [Read error: Connection reset by peer]
15:00
jenrzzz has joined #ruby
15:00
jenrzzz_ has joined #ruby
15:07
jenrzzz has quit [Ping timeout: 252 seconds]
15:07
jenrzzz_ has quit [Ping timeout: 260 seconds]
15:10
graywolf has joined #ruby
15:23
jenrzzz has joined #ruby
15:25
fercell_ has joined #ruby
15:26
fercell has quit [Ping timeout: 264 seconds]
15:28
jenrzzz has quit [Ping timeout: 256 seconds]
15:38
aphorise has quit [Ping timeout: 264 seconds]
15:43
jenrzzz has joined #ruby
15:48
jenrzzz has quit [Ping timeout: 255 seconds]
15:53
jenrzzz has joined #ruby
15:59
joahim has joined #ruby
16:00
<
adam12 >
joahim: hello
16:01
Elliot_ has joined #ruby
16:01
jenrzzz has quit [Ping timeout: 268 seconds]
16:03
Elliot_ has quit [Client Quit]
16:09
milouse has left #ruby [#ruby]
16:11
desnudopenguino has quit [Ping timeout: 252 seconds]
16:17
cek has quit [Quit: Connection closed for inactivity]
16:18
jenrzzz_ has joined #ruby
16:27
jenrzzz_ has quit [Ping timeout: 260 seconds]
16:30
donofrio_ has joined #ruby
16:30
donofrio has quit [Read error: Connection reset by peer]
16:31
c10l has quit [Quit: Ping timeout (120 seconds)]
16:31
c10l has joined #ruby
16:35
user71 has quit [Quit: Leaving]
16:41
jenrzzz_ has joined #ruby
16:45
joahim has quit [Quit: leaving]
16:45
jenrzzz_ has quit [Ping timeout: 255 seconds]
16:48
jenrzzz has joined #ruby
16:52
jenrzzz has quit [Ping timeout: 255 seconds]
16:54
jenrzzz has joined #ruby
16:55
user71 has joined #ruby
17:00
donofrio_ has quit [Remote host closed the connection]
17:02
jenrzzz has quit [Ping timeout: 264 seconds]
17:02
jenrzzz has joined #ruby
17:08
desnudopenguino has joined #ruby
17:11
jenrzzz has quit [Ping timeout: 252 seconds]
17:13
graywolf has quit [Quit: WeeChat 4.0.4]
17:14
Doc_IX has quit [Ping timeout: 264 seconds]
17:15
Doc_X has joined #ruby
17:31
jenrzzz has joined #ruby
17:36
jenrzzz has quit [Ping timeout: 255 seconds]
17:43
jenrzzz has joined #ruby
17:43
jenrzzz_ has joined #ruby
17:48
jenrzzz has quit [Ping timeout: 255 seconds]
17:50
jenrzzz_ has quit [Ping timeout: 264 seconds]
17:59
rvalue has quit [Ping timeout: 256 seconds]
18:02
havenwood has joined #ruby
18:05
user71 has quit [Quit: Leaving]
18:06
rvalue has joined #ruby
18:17
jenrzzz_ has joined #ruby
18:23
jenrzzz_ has quit [Ping timeout: 268 seconds]
18:25
user71 has joined #ruby
18:41
jenrzzz has joined #ruby
18:41
jenrzzz_ has joined #ruby
18:48
jenrzzz_ has quit [Ping timeout: 272 seconds]
18:48
jenrzzz has quit [Ping timeout: 264 seconds]
18:50
___nick___ has joined #ruby
18:51
___nick___ has quit [Client Quit]
18:53
<
adam12 >
lol 16 years. we're fucking old.
18:53
<
adam12 >
Also, my favourite bullet point: * Avoid bugs.
18:53
___nick___ has joined #ruby
18:53
milouse has joined #ruby
18:54
milouse has left #ruby [#ruby]
19:05
jenrzzz has joined #ruby
19:06
jenrzzz_ has joined #ruby
19:06
cek has joined #ruby
19:11
jenrzzz_ has quit [Ping timeout: 260 seconds]
19:12
jenrzzz has quit [Ping timeout: 264 seconds]
19:19
Al2O3 is now known as HappyValentines
19:24
jenrzzz has joined #ruby
19:29
jenrzzz has quit [Ping timeout: 264 seconds]
19:47
jenrzzz has joined #ruby
19:54
jenrzzz has quit [Ping timeout: 240 seconds]
19:56
jenrzzz has joined #ruby
19:59
jenrzzz_ has joined #ruby
20:04
jenrzzz has quit [Ping timeout: 240 seconds]
20:04
jenrzzz_ has quit [Ping timeout: 264 seconds]
20:05
jenrzzz has joined #ruby
20:10
jenrzzz has quit [Ping timeout: 264 seconds]
20:22
jenrzzz has joined #ruby
20:27
jenrzzz has quit [Ping timeout: 264 seconds]
20:31
jenrzzz has joined #ruby
20:33
jenrzzz_ has joined #ruby
20:36
jenrzzz has quit [Ping timeout: 256 seconds]
20:37
jenrzzz_ has quit [Ping timeout: 260 seconds]
20:38
jenrzzz has joined #ruby
20:43
osc4rpt has quit [Ping timeout: 264 seconds]
20:44
jenrzzz has quit [Ping timeout: 272 seconds]
20:44
osc4rpt has joined #ruby
20:52
jenrzzz has joined #ruby
20:57
jenrzzz has quit [Ping timeout: 264 seconds]
20:58
osc4rpt has quit [Ping timeout: 255 seconds]
21:00
osc4rpt has joined #ruby
21:04
___nick___ has quit [Ping timeout: 264 seconds]
21:04
jenrzzz has joined #ruby
21:04
jenrzzz_ has joined #ruby
21:13
jenrzzz_ has quit [Ping timeout: 252 seconds]
21:17
jenrzzz has quit [Ping timeout: 260 seconds]
21:23
jenrzzz has joined #ruby
21:24
_ht has quit [Remote host closed the connection]
21:28
jenrzzz_ has joined #ruby
21:31
jenrzzz has quit [Ping timeout: 264 seconds]
21:31
osc4rpt has quit [Ping timeout: 260 seconds]
21:33
osc4rpt has joined #ruby
21:34
jenrzzz_ has quit [Ping timeout: 264 seconds]
21:34
jenrzzz has joined #ruby
21:39
jenrzzz has quit [Ping timeout: 255 seconds]
21:41
TomyWork has quit [Remote host closed the connection]
21:43
jenrzzz has joined #ruby
21:45
jenrzzz_ has joined #ruby
21:50
joahim has joined #ruby
21:52
jenrzzz has quit [Ping timeout: 256 seconds]
21:52
<
henk >
I’m looking at the docs on
https://docs.ruby-lang.org/en/3.3/ trying to find where it is explained how a new object is created. ISTR something about a .new or .initialize method being called. can anyone point me to the right docs?
21:53
jenrzzz has joined #ruby
21:54
<
adam12 >
henk: I am not sure one exists...
21:54
jenrzzz_ has quit [Ping timeout: 264 seconds]
21:54
<
adam12 >
maybe Object.new
21:56
<
henk >
adam12: thanks
21:57
jenrzzz_ has joined #ruby
22:01
jenrzzz has quit [Ping timeout: 255 seconds]
22:04
Linux_Kerio has quit [Ping timeout: 246 seconds]
22:04
jenrzzz_ has quit [Ping timeout: 264 seconds]
22:08
osc4rpt has quit [Ping timeout: 255 seconds]
22:10
osc4rpt has joined #ruby
22:16
cek has quit [Quit: Connection closed for inactivity]
22:19
osc4rpt has quit [Ping timeout: 264 seconds]
22:19
osc4rpt has joined #ruby
22:27
jenrzzz has joined #ruby
22:31
joahim has quit [Quit: leaving]
22:33
hightower2 has joined #ruby
22:36
jenrzzz has quit [Ping timeout: 264 seconds]
22:45
jenrzzz_ has joined #ruby
23:00
ruby[bot] has quit [Remote host closed the connection]
23:00
ruby[bot] has joined #ruby
23:10
jenrzzz has joined #ruby
23:15
jenrzzz has quit [Ping timeout: 255 seconds]
23:20
gramps has quit [Ping timeout: 264 seconds]
23:40
jenrzzz has joined #ruby
23:49
jenrzzz has quit [Ping timeout: 268 seconds]
23:51
jenrzzz has joined #ruby
23:57
osc4rpt has quit [Ping timeout: 264 seconds]
23:58
osc4rpt has joined #ruby