News for hackers. Stuff that matters.

nullcat

Re:Kubernetes Failure Stories on Thursday February 11, 2021 @10:48PM (#26110561)
At the same time your initial reaction must at the very least say something about how k8 is different from other technologies where you won't have this reaction.
Re:Cambridge Bitcoin Electricity Consumption Index on Wednesday February 10, 2021 @08:50AM (#26088966)
Imagine if all real currency was replaced by bitcoin.

How much green house gases would be generated to keep our economic engines going and also who would be genrating this money?

What would the economic outlook of the world look like during covid if it happened in a world where all currency was bitcoin?

There's something called a foreign function interface that allows rust to access compiled c++ or c primitives.
Re:Turtle visual cortex is non-retinotopic on Tuesday February 09, 2021 @10:45PM (#26085522)
I think it's unrelated. You could say dolphins and whales are "tolerant of hypoxia", yet from their behavior and the layout of their brains it is evident that evolution has not limited "information efficiency" in exchange for "tolerance to hypoxia".
Re:Node.js 14 is over 20x faster than Python3.8 for fib(n) on Tuesday February 09, 2021 @01:21PM (#26080815)
These details aren't important. It's like bench marking C++ and node and then complaining about implementation details. Node should be and is definitively faster then python in practically every bench mark.

I still prefer python over node though, but I can't deny the reality.

Re:Node.js 14 is over 20x faster than Python3.8 for fib(n) on Tuesday February 09, 2021 @01:18PM (#26080786)
Regardless node IS definitively one of the fastest interpreted platforms around. It is well known that it is faster than python. Python wins in other areas, including being a much much better designed language.
Re:Node.js 14 is over 20x faster than Python3.8 for fib(n) on Tuesday February 09, 2021 @01:15PM (#26080750)
Python as an implementation is slow but python as a language is much better designed then javascript. That is the main reason why they are gotos.
Re:Node.js 14 is over 20x faster than Python3.8 for fib(n) on Tuesday February 09, 2021 @01:11PM (#26080702)
That's one factor but there is an overall reason behind performance difference. The main reason is v8 and the inordinate amount of resources google has thrown against that thing to make it ultra fast. You should read up on the people who work on it.
Re:Node.js 14 is over 20x faster than Python3.8 for fib(n) on Tuesday February 09, 2021 @01:09PM (#26080669)
Agreed. The speed difference between Node and Python is well known. v8 is one of the fastest things around. However, it's more than just JIT. There are business reasons behind why Node is so fast. The number of resources google has thrown against developing v8 means that pretty much nothing can surpass it in speed any time soon.

The fact this is on someones blog and posted to the front page means that a lot of people didn't know this. Well guess what, for you guys who don't know.... here's another fun fact: C++ is about 10x faster then node which makes it about 200x faster then python.