Bitcoin Forum
May 28, 2024, 01:36:52 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Cryptos Development in Go  (Read 152 times)
tf10 (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 1


View Profile
January 30, 2018, 09: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?
RGBKey
Hero Member
*****
Offline Offline

Activity: 854
Merit: 658


rgbkey.github.io/pgp.txt


View Profile WWW
January 30, 2018, 09: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.
tf10 (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 1


View Profile
January 30, 2018, 09: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?
cr1776
Legendary
*
Offline Offline

Activity: 4046
Merit: 1303


View Profile
January 31, 2018, 12:51:59 AM
 #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.
tocoll
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
January 31, 2018, 02:00:19 AM
 #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.
Colorblind
Member
**
Offline Offline

Activity: 392
Merit: 41

This text is irrelevant


View Profile
January 31, 2018, 11: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).
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!