News for hackers. Stuff that matters.
Re:Comparison of C++17, Go, and Java for a next-generation s... by movedx on Friday April 24, 2020 @12:04AM (#22964501)
> Even in Go you gain performance by avoiding boxing.

Go has boxing?

> Because C++17 code if written well is likely to be much faster.

I was hoping someone could prove this, actually. I don't have the means or the knowledge.

Re:Comparison of C++17, Go, and Java for a next-generation s... by magicalhippo on Friday April 24, 2020 @05:46AM (#22966281)
> I was hoping someone could prove this, actually.

Maybe this presentation by Jason Turner from CppCon 2016 can illustrate just what can be done in C++17. His target in the presentation is a C64, but I think it illustrates well just what you can do with the language, and hence what tools are available for writing fast code.

https://www.youtube.com/watch?v=zBkNBP00wJE

edit: If you just want a quick fix, check out what a simple keyword does here: https://youtu.be/zBkNBP00wJE?t=1616

Re:Comparison of C++17, Go, and Java for a next-generation s... by icholy on Friday April 24, 2020 @04:14AM (#22965735)
interfaces