Re:QTile – An XMonad-like tiling WM written in Python
by vmchale on Monday July 06, 2020 @12:32PM
(#23749562)
Curious how the garbage collector works.
[ Parent
| on HN ]
Re:QTile – An XMonad-like tiling WM written in Python
by mikelward on Monday July 06, 2020 @01:40PM
(#23750449)
I used a Go-based window manager called Wingo for quite a while and never noticed any performance issues.
Re:QTile – An XMonad-like tiling WM written in Python
by pjmlp on Monday July 06, 2020 @02:00PM
(#23750731)
Go is also fully compiled to native code, big difference.
Re:QTile – An XMonad-like tiling WM written in Python
by yjftsjthsd-h on Monday July 06, 2020 @02:35PM
(#23751141)
But it's still garbage collected. And GC should be done by the python interpreter proper, so it would be in native code.
Re:QTile – An XMonad-like tiling WM written in Python
by pjmlp on Monday July 06, 2020 @03:56PM
(#23752032)
A tiny portion of Python's total execution time.
Re:QTile – An XMonad-like tiling WM written in Python
by yjftsjthsd-h on Monday July 06, 2020 @04:07PM
(#23752153)
Don't get me wrong; I expect Go to be far more performant than Python. Just, they're both garbage-collected, and I have no reason to expect GC perf (specifically) to differ.
Re:QTile – An XMonad-like tiling WM written in Python
by pjmlp on Monday July 06, 2020 @05:03PM
(#23752735)
Which just shows that learning about GC algorithms is a must.
And the differences between value types, AOT compiled code execution, bytecode interpreters and FFI marshalling costs between bytecode interpreters and native libraries.