hightower2: after the process exits? All threads will be terminated. After the thread exits? Doesn't join just tell a process to wait for the threads to exit? not sure what you're trying for
guys I just wrote some beautious ruby code to use ActiveModel::Validations on dynamically generated objects: https://gist.github.com/ramfjord/8903bfd6c4d9dbb0cb44866d4a52335e
Ahhh, well I don't know the internals of the GC, but i would think that as the thread finishes it would pop off it's stack, and the reference counter would be able to see that the ojects are collectible. Probably others could answer better than I though.
You might be able to test this out by starting a thread which creates a big array and exits, then in the main thread sleep a second or two and call GC.start, all while monitoring the memory usage
Alright I got a good one for you guys. Trying to dynamically create a class with a proc/lambda which uses functions from an included module inlcuded in the newly generated class. Think it will be easier to just show: https://gist.github.com/ramfjord/0142e2b27e0e065f9d14815c9591fbd2
These error messages aren't going to help my case that ruby is a readable and well documented language at my company: https://gist.github.com/ramfjord/f44443429662f95893ed5aa9822f283a
bundle help list shows invalid help for `bundle show`? This is on the ruby:2.6-alpine docker image