Post AmIIButLDAn80GvG08 by lanodan@queer.hacktivis.me
(DIR) More posts by lanodan@queer.hacktivis.me
(DIR) Post #AmGBZkcpwcsH7NhWGe by lanodan@queer.hacktivis.me
2024-09-22T11:28:30.706712Z
1 likes, 0 repeats
@dexter Perl as the highest sounds pretty weird given how inefficient Python is in comparison, and pretty sure Lua has among the lowest impacts. Go and Java in the first part also seems kind of weird.Really wonder how they came up with those numbers, specially given how different all those languages are.
(DIR) Post #AmGDWqJGYOLFmsHu8O by lanodan@queer.hacktivis.me
2024-09-22T11:50:28.894943Z
0 likes, 0 repeats
@dexter Plus kind of gives score-vibes instead of like, how efficient each language are for their tasks, things like networking, decoding/encoding, high-activity daemon, low-activity daemon, throwaway utility (like most unix commands), …
(DIR) Post #AmIFyvngK0s99HxJYW by GuillaumeRossolini@infosec.exchange
2024-09-23T11:27:10Z
1 likes, 0 repeats
@lanodan yeah, same here on all countsPlus the Wikipedia page on this methodology does warn about shortcomings in this benchmarkThe developers themselves highlight the fact that those doing research should exercise caution when using such microbenchmarkshttps://en.m.wikipedia.org/wiki/The_Computer_Language_Benchmarks_Game
(DIR) Post #AmIG9Ifm8ZbiyyCa0G by RL_Dane@fosstodon.org
2024-09-22T12:08:07Z
0 likes, 0 repeats
@dexterHow the heck is JS lighter than Perl?Get the pitchforks and torches! XDP.S. What the crap, Rust is #2? Have they ever tried compiling rust?!? It requires its own nuclear reactor!! 😄
(DIR) Post #AmIG9JgWNHnY7ZYgnw by me@social.jlamothe.net
2024-09-22T12:33:15Z
0 likes, 0 repeats
@RL_Dane @dexter I think they're talking about the energy usage of running the already compiled code, which is somewhat fair, but decidedly not the whole picture.
(DIR) Post #AmIG9KFcGns3sPyiVU by RL_Dane@fosstodon.org
2024-09-22T13:33:17Z
1 likes, 0 repeats
@me @dexterI figured, but man, that's annoying.It's one thing if it's compiled "once" and run a million times, but when compiling it yourself is the only option (like in the case of a lot of minor projects), rust is decidedly *not* environment-friendly, I don't care what the hype machine says.
(DIR) Post #AmIIButLDAn80GvG08 by lanodan@queer.hacktivis.me
2024-09-23T11:52:08.169792Z
0 likes, 0 repeats
@GuillaumeRossolini Yeah, I think a better one would be to analyze (rather than score) the standard/extended-standard library where quite a lot of languages ship cryptographic algorithms, json/xml encoders/decoders, http client/server library, …And I guess measuring the CPU time + memory usage of runtimes for initial launch, threads, `fork()`, idle/sleep, …Which reminds me of http://bulk.fefe.de/scalability/ which analyses OS and libc runtime.
(DIR) Post #AmIJ6jCbLQuOFv1Mzw by GuillaumeRossolini@infosec.exchange
2024-09-23T12:00:42Z
1 likes, 0 repeats
@lanodan yep, this looked like some interesting problems to determine the capabilities of a language, gauge how fit each is as a general purpose tool, identify possible shortcomingsBut actual applications in the wild don’t necessarily implement these edge cases often (or ever), and that’s perhaps what that warning was aboutIf you’re going to benchmark, at least share your versions and settings so that they are readily available to readers. And if you write an article covering the research, do the same?That said, I’m no researcher
(DIR) Post #AmIJO4kSURjm0E85WC by GuillaumeRossolini@infosec.exchange
2024-09-23T12:05:11Z
1 likes, 0 repeats
@lanodan even in the link you shared, they say at the startOn all of the operating systems, I took the default settingsWhich it seems to me, fine, but that isn’t complete or representativeThere could be at least three categories:default settingsI took a stab at optimization, don’t quote mecommunity reviewed best settings
(DIR) Post #AmIJrvJW8F1DQglD0a by lanodan@queer.hacktivis.me
2024-09-23T12:10:56.702869Z
0 likes, 0 repeats
@GuillaumeRossolini Well changing the settings would be appropriate for knowing how to tune the operating system, which is all too often non-existant or lacking in official documentation.> community reviewed best settingsWell for libre systems (which is what fefe used) that quite ought to be the default one.