Author

Topic: Cryptos Development in Go (Read 186 times)

member
Activity: 392
Merit: 41
This text is irrelevant
January 31, 2018, 06:05:20 AM
#6
I've been looking around for a currency that is based on Go but haven't found any. Most are using C to get the job done, and I can understand why.

But what are your opinions on crypto development on Go. Is it a good choice? Or is there something C can do that Go can't?

There are reasons C is used in blockchain development. First of al C is most robust language that works extremely reliable on every platform. When you want to create something that will handle value transfer should be as resilient to errors as it can get. Using flashy new tech that have unknown bugs and exceptions isn't best strategy. I mean it's okay if your web server lose packet or two, but mishandling transactions can result in very real losses for you or your customers.

Golang is fairly new language and Bitcoin was released way prior Go became a thing. Also Go was developed mainly to support extreme asynchronous loads and meant to be great scaling option for large centralized services that are under huge load. There was no practical purpose to translate C code of Bitcoin to Golang and since most of altcoins was at some point forked from Bitcoin (or from fork of Bitcoin) they inherited basic architecture even though some elements have evolved.

P.S. Blockchain development does not necessarily means development of actual blockchains. So programming stack involved in actual projects should be much wider than just C or Golang (think about frontend, databases, backend that talks to block-chain etc).
newbie
Activity: 3
Merit: 0
January 30, 2018, 09:00:19 PM
#5
geth (the standard ethereum implementation) is written in Go.

Implementation language is pretty arbitrary for most devs, the protocol specification is really the important thing.
legendary
Activity: 4298
Merit: 1317
January 30, 2018, 07:51:59 PM
#4
There are a few newer tools written in Go, namely btcd and lnd. I think a lot of it is that more people are familiar with using C and have been using C for longer. I'm not sure anybody is particularly against using Go, it's just the nature of a newer language.
So just like the C source code for bitcoin, I can fork this code and experiment?

Yes, using the regular git commands, or downloading.
newbie
Activity: 5
Merit: 1
January 30, 2018, 04:34:01 PM
#3
There are a few newer tools written in Go, namely btcd and lnd. I think a lot of it is that more people are familiar with using C and have been using C for longer. I'm not sure anybody is particularly against using Go, it's just the nature of a newer language.
So just like the C source code for bitcoin, I can fork this code and experiment?
hero member
Activity: 854
Merit: 658
rgbkey.github.io/pgp.txt
January 30, 2018, 04:12:59 PM
#2
There are a few newer tools written in Go, namely btcd and lnd. I think a lot of it is that more people are familiar with using C and have been using C for longer. I'm not sure anybody is particularly against using Go, it's just the nature of a newer language.
newbie
Activity: 5
Merit: 1
January 30, 2018, 04:07:50 PM
#1
I've been looking around for a currency that is based on Go but haven't found any. Most are using C to get the job done, and I can understand why.

But what are your opinions on crypto development on Go. Is it a good choice? Or is there something C can do that Go can't?
Jump to: