News for hackers. Stuff that matters.
Re:We're choosing Rust, and not Go, C++, or Node.js (Feb 2022) by igouy on Wednesday May 25, 2022 @04:41PM (#31510249)
> The implication, I believe, is that plain JavaScript is…

No, the author actually tells us the reason — "And, we could well have chosen JavaScript for our Node.js code, though we're not likely to do this due to TypeScript being much more convenient to work with by comparison."

Given the title is "We're choosing Rust, and not Go, C++, or Node.js" the plain reading was always that "TypeScript is apparently far more energy-hungry" than Rust, Go, C++.

> … the state of CLBG in 2017…

The author does not mention the benchmarks game.

What you say has to be about what was used by that independent study 5 years ago, not about whatever the benchmarks game website showed 5 years ago.

Re:We're choosing Rust, and not Go, C++, or Node.js (Feb 2022) by hayley-patton on Wednesday May 25, 2022 @07:15PM (#31512104)
> What you say has to be about what was used by that independent study 5 years ago, not about whatever the benchmarks game website showed 5 years ago.

The study tested the benchmarks game programs. Page 2 of the paper [0] explicitly states "our case study to analyze the energy efficiency of software languages is based on the CLBG" and proceeds to describe the programs tested.

[0] https://greenlab.di.uminho.pt/wp-content/uploads/2017/10/sle...

Re:We're choosing Rust, and not Go, C++, or Node.js (Feb 2022) by igouy on Wednesday May 25, 2022 @08:34PM (#31512788)
That could be relevant if the study tested every one of the programs shown on the benchmarks game website on some particular day. In other words if the set of programs tested by the study was identical to the set of programs shown on the benchmarks game website.

Does the paper claim that?

Re:We're choosing Rust, and not Go, C++, or Node.js (Feb 2022) by hayley-patton on Wednesday May 25, 2022 @09:03PM (#31512993)
There is a list of benchmarks used; including the Mandelbrot and pidigits benchmarks I cite. They also claim "they gathered the most efficient (i.e. fastest) version of the source code"; and I cited the fastest programs.

This is legitimately painful to discuss, as this information is readily available in the paper, and seemingly we are getting nowhere by picking at how I made my observations; so I am going to do something more enjoyable, somewhere very far away from you.

Re:We're choosing Rust, and not Go, C++, or Node.js (Feb 2022) by igouy on Thursday May 26, 2022 @01:46AM (#31515057)
So the study took a subset of the programs shown on the benchmarks game website sometime 5 years ago, and that is why instead of looking at the benchmarks game programs we need to look in the repo provided with the study.
Re:We're choosing Rust, and not Go, C++, or Node.js (Feb 2022) by ttybird2 on Sunday May 29, 2022 @07:42AM (#31548339)
Re:We're choosing Rust, and not Go, C++, or Node.js (Feb 2022) by igouy on Sunday May 29, 2022 @08:39PM (#31554363)
In what way? Do you mean we should not reference the repo that was provided with the study?
Re:We're choosing Rust, and not Go, C++, or Node.js (Feb 2022) by ttybird2 on Monday May 30, 2022 @01:35PM (#31561429)
So, just to make this clear, you were aware from the very start that

- At 2017 when the study was made, CLBG relied (and still is) on "FFI, unsafe code, and hand-written SIMD intrinsics".

- The author of that paper did in fact mention the benchmarks game.

- The two 2017 CLBG examples that hayley-patton linked are exactly the same in the study's github repo.

But despite that, you decided to waste everyone's time and your real complaint is that https://news.ycombinator.com/item?id=31502504 should have linked at the github links that I posted in https://news.ycombinator.com/item?id=31548339 even though contents are exactly the same (at least as far as the argument is concerned, I have not and will not check if one of the versions has an extra ; or whatever), is that right?

Edit: it came to my attention that you are the one running CLBG, you might want to mention that (either on your profile or on your posts) when you engage in CLBG-related arguments.

Re:We're choosing Rust, and not Go, C++, or Node.js (Feb 2022) by igouy on Tuesday May 31, 2022 @11:29AM (#31570685)
(Off topic.)

> … CLBG relied (and still is) on "FFI, unsafe code, and hand-written SIMD intrinsics".

Relied-on to do what ?

Re:We're choosing Rust, and not Go, C++, or Node.js (Feb 2022) by igouy on Monday May 30, 2022 @05:31PM (#31563840)
> The author of that paper did in fact mention the benchmarks game.

Different author.

When hayley-patton writes "The third sentence should ring alarm bells in the head of the author" they mean the author of "We're choosing Rust, and not Go, C++, or Node.js".

"The author does not mention the benchmarks game" and "Please quote the author's words which you say are misinformation" and "the author is talking about a 2017 study" and "the author actually tells us the reason" are also referring to the author of "We're choosing Rust, and not Go, C++, or Node.js".

You seem to mean someone else.

Re:We're choosing Rust, and not Go, C++, or Node.js (Feb 2022) by igouy on Monday May 30, 2022 @06:21PM (#31564249)
> … your real complaint is that…

No.

hayley-patton said the author of "We're choosing Rust, and not Go, C++, or Node.js" — "shouldn't repeat misinformation" — and gave this as the "misinformation":

"TypeScript is apparently far more energy-hungry (and we're not likely to use pure JavaScript)."

https://news.ycombinator.com/item?id=31502504

Seems that hayley-patton misunderstood what they read.

Re:We're choosing Rust, and not Go, C++, or Node.js (Feb 2022) by igouy on Thursday May 26, 2022 @01:52AM (#31515100)
> we are getting nowhere

We got to your misunderstanding of the author's comment — contrary to your belief, the author meant “TypeScript is apparently far more energy-hungry” than Rust, Go, C++.

How unexceptional.

Your misunderstanding, not their misinformation.

Re:We're choosing Rust, and not Go, C++, or Node.js (Feb 2022) by igouy on Wednesday May 25, 2022 @08:40PM (#31512825)
Do you accept that, contrary to your belief, the author meant “TypeScript is apparently far more energy-hungry” than Rust, Go, C++ ?