Re:BitPay introduces Bitcore
by aaron-lebo on Friday February 14, 2014 @09:00PM
(#7242302)
I think part of the reason you might see some bugs in the Bitcoin code is because it is C++ code managing low level things like memory and threading.
You don't get static typing with nodejs, but you can probably simplify the implementation somewhat by not dealing with low level details and therefore actually get some safety. But aside form that justification there is also the fact that a lot of people won't touch C++ and a code base like this allows a lot more developers to read and understand the protocol.
I guess the ideal implementation would be a modern statically typed language like Rust, Go, or Haskell.
Re:BitPay introduces Bitcore
by oscargrouch on Friday February 14, 2014 @11:08PM
(#7242627)
C++ is not for scared kids.. C++ is the katana of programming languages: powerful, but you must know how to use it to avoid cut yourself.. and i think the bitcoin core in c++ is being implemented in other softwares as well.. and im pretty sure that this is happening BECAUSE it was created in C++ (only C could also be a fit here)
So kudos to Satoshi whoever he is for this..
I can't think of any technical, risk-related, or financial justification for implementing a core piece of crypto-currency infrastructure in Javascript, on Node.
It seems fairly clear that while Bitcoin itself may be a very well designed crypto protocol, the people doing the implementation are woefully underqualified.