968 karma · joined Aug 27, 2015 (11y ago) · 262 submissions
comment 5mo ago · link · parent
https://uops.info/table.html?search=mulss&cb_lat=on&cb_tp=on...
https://uops.info/table.html?search=shr&cb_lat=on&cb_tp=on&c...
In throughput it's even less of a difference: 2 per cycle vs 3 per cycle.
comment 6mo ago · link · parent
In practice yubikey sudo keeps you much safer today, as almost nobody uses it and malware won't be prepared for it
comment 8mo ago · link · parent
(Yes, they should better configure which CI job has which permissions, but this should be the default or it won't always happen)
comment 8mo ago · link · parent
https://github.com/python/cpython/blob/3.14/Lib/json/encoder...
Default value is evaluated once, and accessing parameter is much cheaper than global
comment 8mo ago · link · parent
However, the it IMHO just works much worse than TS because: * many libraries still lack decent annotations * other libraries are impossible to type because of too much dynamic stuff * Python semantics are multiple orders of magnitude more complex than JavaScript. Even just the simplest question: Is `1` allowed in parameter typed `float`? What about numpy float64?
comment 10mo ago · link · parent
comment 10mo ago · link · parent
comment 11mo ago · link · parent
comment 1y ago · link · parent
IMHO, we don't lack good libraries in XY, we are lacking good interop. Going through REST or stdio is quite painful just to render PDF (or export spreadsheet, ...)
comment 1y ago · link · parent
comment 1y ago · link · parent
JetBrains have their own closed debugger, which doesn't really help.
Since Rust is native code, you can use pretty much any debugger for it, there is definitely not a single implementation. Yes, Rust has a single compiler, but does C# have any other compiler than Microsoft's Roslyn? (I don't think this is a problem, though)
comment 1y ago · link · parent