News for hackers. Stuff that matters.
Re:Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby,... by Safety1stClyde on Sunday June 04, 2017 @12:47AM (#14479929)
> There's plenty to not like about JS, but being interpreted and not having integers or arrays is not high on its negatives list.

We are having a discussion is about programming language benchmarks.

A benchmark in this case is a measure of how fast a computer program can run. A computer program is a series of instructions for a computer. These instructions are written in something called a programming language. A programming language which is interpreted is inherently slower than a programming language which is compiled to assembly language. A programming language which does not have integers but must represent all numbers as floating point numbers is inherently slower than a programming language which has integers. A programming language which does not have arrays, but must represent arrays using hash tables, is inherently slower than a language which does have arrays. Thus, Node.js, which is interpreted and does not have arrays or integers, would be expected to be have much lower benchmarks than Go's, and yet node.js has exceptionally high performance.

Re:Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby,... by alayne on Sunday June 04, 2017 @02:37AM (#14480170)
JavaScript is compiled to assembly language in modern runtimes like v8. You are confusing a language with the language implementation.
Re:Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby,... by igouy on Sunday June 04, 2017 @01:58PM (#14482621)
Re:Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby,... by marcus_holmes on Sunday June 04, 2017 @01:21AM (#14480011)
that's a very simplistic exploration of a very complex subject

(edited for negativity and ad-hominem)