Ruby & the Multicore CPU: Part Three - Processes and Threads
You can see all these code examples on github
You can see all these code examples on github
When ruby was conceived, multi-core CPUs weren’t at the forefront of a language designer’s mind. Subsequently, the ruby virtual machine was developed as a single process, single threaded executable.
I’m a big fan of both ruby and elixir. For quite some time, one perceived weakness of ruby has been its inability to make best use of multiple cores in modern CPUs.
Writing an application really is the start of your problems! Once in production, you need to monitor and maintain it, ensure that it stays secure and fix bugs.
Is RSpec failing when you try to test a script with RSpec via the system
command? Here, for the benefit of any googlers who who can’t get their ruby
script working properly, is a possible fix to your problem!
Every linux distribution has advantages and disadvantages, depending on the use case they were created for. The most significant differences will come from the bootloader, init system, display renderer (which is really more like a login manager), desktop environment, package manager