Larry Hastings The Gilectomy How's It Going PyCon 2017

  Рет қаралды 22,760

PyCon 2017

PyCon 2017

Күн бұрын

Пікірлер: 15
@freddupont3597
@freddupont3597 7 жыл бұрын
Maybe I understood 5% of it, this is a great talk! Loved it! :)
@mmmhorsesteaks
@mmmhorsesteaks 7 жыл бұрын
This is turning into a magnificent Rube Goldberg machine :D In a way, deciding dynamically wether an object should be lockable or not feels both very pythonic and quite insane. He'll be adding STM next (after all, it's easier to ask foregiveness then permission...) ;-)
@OfferoC
@OfferoC 7 жыл бұрын
Thanks, Larry! Keep it up, we're rooting for you!
@seanspicer516
@seanspicer516 5 жыл бұрын
i love these videos. so patching together a few bits of info from random sources. i saw a survey on what people use python for. and (from what i recall, which is most likely exaggerated) game dev was dead last, i mean by a significant margin compared to all others. another just-off-the-top-of-my-head-prob-exagg-memory is the hett saying that 1) the hast likes gaming 2) gamers dont like python bc the gil 3) the gil is more python's ultra-elegant-solution than greatest-problem 4) if u wanna squeeze every last bit-twitch from a thread, well use a 'c'.upper() lang but for anything else, the gil is ur fren. im prolly wrong about most things, but this way of thinking is most entertaining to me.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 7 жыл бұрын
32:27 But the trouble with garbage-collected languages is their incredible appetite for memory. This is why Java apps need to run in a fixed heap size, to ensure that the GC does kick in sometime. Otherwise, on a Linux system, for example, it keeps on gobbling more and more memory until you wake up the Dreaded OOM Killer, and then you die. CPython, on the other hand, can currently implement long-running tasks that keep their RAM usage within reasonable limits, without any special configuration of resource controls on your part. You would give that up by moving to a pure GC architecture.
@gloweye
@gloweye 7 жыл бұрын
The question isn't, how do we get rid of the GIL, but how do we get rid of the Java layer in between.
@jon2kx
@jon2kx 4 жыл бұрын
I wish they would just hard segment python. So many of us just don't give a shit about maintaining backwards compatibility with 3.x. Just rip the damn band-aid off so we can scale on multi-core workloads without hacks or pools.
@vasbetontalpfa
@vasbetontalpfa 3 жыл бұрын
Note, that all of your library developers should be on this point too...
@lawrencedoliveiro9104
@lawrencedoliveiro9104 7 жыл бұрын
43:13 that”s probably in sysfs, e.g. on my system /sys/devices/system/cpu/cpufreq/policy«n» where «n» is the CPU number. Within each such directory there is a readonly file “scaling_available_governors” which on my machine shows “performance powersave”, and the read/writable file “scaling_governor”, which seems to default to “powersave”. So try changing it to “performance”, and see what happens. Or you could try writing to the “scaling_min_freq” and “scaling_max_freq” files, and monitor the contents of “scaling_cur_freq”. Or maybe “cpuinfo_{min,max,cur}_freq” -- not sure what the difference is...
@vasbetontalpfa
@vasbetontalpfa 3 жыл бұрын
Are these experiment implementations available/open?
@konstantindimitrov2019
@konstantindimitrov2019 5 жыл бұрын
6:40 Then.. why not benchmark on a raspberry pi or some low-end pc... :)
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
火影忍者一家
Рет қаралды 128 МЛН
小丑家的感情危机!#小丑#天使#家庭
00:15
家庭搞笑日记
Рет қаралды 32 МЛН
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 18 МЛН
黑的奸计得逞 #古风
00:24
Black and white double fury
Рет қаралды 21 МЛН
PyCon 2015 - Python's Infamous GIL by Larry Hastings
36:48
AlphaVideoIreland
Рет қаралды 55 М.
Eric J  Ma   Bayesian Statistical Analysis with Python   PyCon 2017
30:41
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 539 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,2 МЛН
Understanding the Python GIL
46:10
David Beazley
Рет қаралды 114 М.
Why Isn't Functional Programming the Norm? - Richard Feldman
46:09
Eric Evenchick   Hacking Cars with Python   PyCon 2017
29:48
PyCon 2017
Рет қаралды 15 М.
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
火影忍者一家
Рет қаралды 128 МЛН