Łukasz Langa, a CPython developer, writes about Python core development, including GIL removal, performance and the language's future.
HN commenters link his notes from the meeting between Python core and Sam Gross on removing the GIL as a clear overview.
What they're describing here is close to the popular 16:8 variant of intermittent fasting. I found that it doesn't really work for weight loss for me.
Instead, I'm using the Every Other Day Diet variant of intermittent fasting which arguably is the best researched one. It helped me drop weight significantly in 2015 with little trouble (details: http://lukasz.langa.pl/9/i-lost-26-pounds-in-3-months/).
Sadly, since I stopped cycling regularly two years back and dropped the diet a year ago, I regained what I lost and then some. So I'm back on intermittent fasting now.
Recommendations based on my experience:
- weigh yourself daily in the morning, as the very second thing you're doing
- a Withings scale or similar helps putting this in a database efortlessly which helps seeing trends
- observe your moving average of 7 days
- eat just a light lunch (circa 500 kcal) every other day; it's easy to skip breakfast knowing there's going to be lunch soon and it's possible to skip dinner knowing "it's Eat Day tomorrow!"
- eat what you want on Eat Day but do it slowly, your body will quickly adapt to your fasts, the stomach will shrink and it's going to be easier to get full
- let people know you're losing weight and how, they will probably tell you you're more grumpy on Non-Eat Days
Good luck!
AFAIK the initial prototype called nogil was developed by a person named Sam Gross who also wrote a detailed article [0] about it.
He also had a meeting with Python core. Notes from this meeting [1] by Łukasz Langa provide more high-level overview, so I think that they are a good starting point.
[0] https://docs.google.com/document/u/0/d/18CXhDb1ygxg-YXNBJNzfzZsDFosB5e6BfnXLlejd9l0/mobilebasic
[1] https://lukasz.langa.pl/5d044f91-49c1-4170-aed1-62b6763e6ad0/
Ah yes, this is what I thought was the current state. I was curious if a GIL removal decision had been made that I had missed, but seems like it's still a soft "maybe":
https://lukasz.langa.pl/5d044f91-49c1-4170-aed1-62b6763e6ad0/
Edit: And to be fair, you can do "true" concurrency in Python you just have to eject to Multi-processing (with the tradeoffs that implies), so I didn't want to assume the comment was about GIL removal.
I'm excited to see the performance improvements as well...may be one day we will see a version w/out the GIL.
The following notes are interesting:
https://lukasz.langa.pl/5d044f91-49c1-4170-aed1-62b6763e6ad0/
If I read this article properly, there's nothing yet standardized, but there's a possibility of future development: http://lukasz.langa.pl/8/single-dispatch-generic-functions/.
I think you mean the work by Sam Gross:
https://github.com/colesbury/nogil/
Interesting article about it here:
https://lukasz.langa.pl/5d044f91-49c1-4170-aed1-62b6763e6ad0/