
BernardK
Programming Ruby 3.2 (5th Edition): B1.0 page 203, sentences difficult to understand
page 203, first paragraph, line 2-3 :
ractor. The entrance lines are infinite, and the sending call is guaranteed not to block
for “if this goes wrong you have much larger problems” meanings of “guaranteed.”
I have read again and again and don’t really understood. For what I have experimented until now, I would be satisfied with :
The entrance lines are infinite, and the sending call is guaranteed not to block.
+++++ paragraph 5, last line :
… … … … … … … … … … … … … … … … … … The only
way to get a value into a ractor is via send.
I can imagine “get” as obtaining that a new value is introduced into the ractor, but combined with the following “into” and “send”, I would feel more natural to say set :
The only way to set a value into a ractor is via send.
+++++ paragraph 7, second bullet :
The code block hits a Ractor.recieve call, in which case it waits for a call to send, the
Not clear at first glance. I would say :
in which case it waits for another ractor calling send with this [known] ractor as a receiver, …
known is not indispensable, just to echo the first line of this page.
Popular Prag Prog topics










Modern front-end development for Rails, second edition - Struggling to get the first chapter to work
Other popular topics










Latest in PragProg
Latest (all)
Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /js
- /rails
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /haskell
- /emacs
- /svelte
- /onivim
- /typescript
- /crystal
- /c-plus-plus
- /tailwind
- /kotlin
- /gleam
- /react
- /flutter
- /elm
- /ocaml
- /vscode
- /opensuse
- /centos
- /ash
- /php
- /deepseek
- /zig
- /scala
- /html
- /debian
- /nixos
- /lisp
- /agda
- /sublime-text
- /textmate
- /react-native
- /kubuntu
- /arch-linux
- /revery
- /ubuntu
- /manjaro
- /spring
- /django
- /diversity
- /lua
- /nodejs
- /c
- /julia
- /slackware
- /neovim