01 Dec '17, 11pm

Lessons Learned in Concurrency with Ruby - Part I

When tackling such a complex problem, it is important to know the difference between concurrency and parallelism. Concurrency is the ability of a program to make progress on a task that is spread out over different slices of time. It allows us to run multiple “threads” at the same time. As one thread may be sleeping or waiting on I/O, another thread may take priority and start working, thus making optimal use of available CPU time. When you think of concurrency, think of “threads”. Parallelism is the ability to accomplish multiple tasks simultaneously. Concurrency may give the illusion of parallelism, but is not parallelism in and of itself, as your threads are still deferring to one another competing for the same CPU resources. For example: In MRI, you have something called a Global Interpreter Lock (GIL). Even though your code uses multiple threads, those threads are run...

Full article: https://www.engineyard.com/blog/ruby-concurrency

Tweets

Please #beauty #makeup ##skincare My Handbag Co...

beautyandcosmetics.net 02 Dec '17, 7pm

My Handbag Collection - Part 1 CHECKY OUT PART TWO! http://www.youtube.com/watch"v=nTJOGheamUE Sorry about the dog barking...

Xmas Party and Shows at #Hammersmith #Salsa Clu...

ht.ly 04 Dec '17, 6pm

@UKDancedotEvent created this 15 hours ago using Hootsuite

Ruby Kilim Headband - Handmade Headbands, £20 h...

craftylittlebecca.co.uk 02 Dec '17, 6pm

No not the kind you dunk in a cup of tea... We use cookies (or local storage) to ensure that we give you the best experien...

@valdilorenzo that’s when Ruby the programming ...

rubyinside.com 04 Dec '17, 12am

Yes, I'm sad enough to have had this in my calendar for some time but.. it's Ruby's 18th "birthday" today! Happy Birthday ...

Watch NASA test its supersonic parachute as par...

inhabitat.com 03 Dec '17, 9am

The Mars 2020 mission aims to search for signs of life on Mars by investigating evidence on location through the use of a ...

What The Body Shop Has Learned About Keeping Its Values After a Takeover

What The Body Shop Has Learned About Keeping It...

triplepundit.com 30 Nov '17, 9am

The Body Shop is back. More than 10 years after its surprise take over by French beauty giant L’Oreal, and fresh from bein...

Shots! Shots! Shot-Shot-Shots!

sneakerfreaker.com 06 Dec '17, 5am

Jägermeister venture into the world of collaboration, partnering with KangaROOS for their debut sneaker. The colab flawles...

What I learned while building @trifle_io from scrath.

What I learned while building @trifle_io from s...

medium.com 05 Dec '17, 10am

Back in 2015 I decided to work on my own project in my free time. Believe me, I don’t have too much free time. As I became...

The photo is part of my project “.In Transit” w...

lightandcomposition.com 03 Dec '17, 7am

The photo is part of my project “.In Transit” which focuses on Singapore intertwined landscape. In such a small island, na...

111 Lessons Life Taught Us!!

111 Lessons Life Taught Us!!

transitioning.org 03 Dec '17, 12pm

Spend more time with those who make you smile and less time with those who you feel pressured to impress. Never tell someo...

Five things we learned about Penang’s ‘three islands’ mega project - https://t.co/yAEP1ZmDAS

Five things we learned about Penang’s ‘three is...

anilnetto.com 02 Dec '17, 1pm

SHARES Whatsapp Facebook Twitter Email Print RSS feed It had rained the day before, so some of us were concerned that our ...

D16: Made a Caesar Cipher program in Ruby. Check it:

D16: Made a Caesar Cipher program in Ruby. Chec...

github.com 02 Dec '17, 4pm

I'm doing The Odin Project to learn Ruby, Rails, and general programming concepts. I want to build apps for myself and tes...