Bitcoin Forum
May 02, 2024, 07:23:27 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Which language is most suitable for blockchain  (Read 168 times)
Zilon (OP)
Sr. Member
****
Offline Offline

Activity: 966
Merit: 421

Bitcoindata.science


View Profile WWW
July 16, 2021, 07:32:31 AM
Merited by hugeblack (1)
 #1

I just rounded up a course in python learning about it's syntax and semantics and I intend doing a dip dive into blockchain technology generally to learn how we can build an open source of trusted ledger network where every user have access to the respective transactions carried out on a network but I feel a little confused about what language would suit in comfortable I was told python is a multi-purpose language and also learnt all language has it's pros and crons with respect to that I wanted a guide line on a language that suits in perfectly

Thanks .
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714677807
Hero Member
*
Offline Offline

Posts: 1714677807

View Profile Personal Message (Offline)

Ignore
1714677807
Reply with quote  #2

1714677807
Report to moderator
1714677807
Hero Member
*
Offline Offline

Posts: 1714677807

View Profile Personal Message (Offline)

Ignore
1714677807
Reply with quote  #2

1714677807
Report to moderator
1714677807
Hero Member
*
Offline Offline

Posts: 1714677807

View Profile Personal Message (Offline)

Ignore
1714677807
Reply with quote  #2

1714677807
Report to moderator
Coding Enthusiast
Legendary
*
Offline Offline

Activity: 1039
Merit: 2783


Bitcoin and C♯ Enthusiast


View Profile WWW
July 16, 2021, 08:32:24 AM
Merited by bitmover (3), hugeblack (2), NotATether (2), ABCbits (1)
 #2

Almost all programming languages could be used as long as you are capable of writing secure and efficient code in that language.

Projects List+Suggestion box
Donate: 1Q9s or bc1q
|
|
|
FinderOuter(0.19.1)Ann-git
Denovo(0.7.0)Ann-git
Bitcoin.Net(0.26.0)Ann-git
|
|
|
BitcoinTransactionTool(0.11.0)Ann-git
WatchOnlyBitcoinWallet(3.2.1)Ann-git
SharpPusher(0.12.0)Ann-git
joniboini
Legendary
*
Offline Offline

Activity: 2184
Merit: 1789



View Profile WWW
July 16, 2021, 11:20:39 AM
 #3

Isn't it a bit too soon to build a blockchain network after learning some programming? That being said, I recall there's a website with a guide on blockchain tx simulation where you can make it on your own with HTML and JS. It's definitely for simulation/visualization only though.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
AverageGlabella
Legendary
*
Offline Offline

Activity: 1232
Merit: 1080


View Profile
July 16, 2021, 11:24:28 AM
 #4

All programming languages are mostly the same except for a couple of exceptions. Once you have learned how to code you can try any coding language out and it will be mostly learning the very small differences and the syntax. You can program anything with most languages certain languages like C++ allow more specific tasks but is not recommended unless you want to really increase the performance of your code. I would stick to Python for another couple of months and then move onto a higher level language like Java or C.
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6723


bitcoincleanup.com / bitmixlist.org


View Profile WWW
July 16, 2021, 12:17:25 PM
 #5

High performance (C)?

Not "high performance" but the ease of detecting security vulnerabilities compared to other languages. Interpreter technology has evolved to run general-purpose code in some higher level languages just as fast as C, plus all the runtime safety features.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
NeuroticFish
Legendary
*
Offline Offline

Activity: 3654
Merit: 6372


Looking for campaign manager? Contact icopress!


View Profile
July 16, 2021, 01:56:43 PM
 #6

dive into blockchain technology generally

You know, blockchain is just a specific type of database.
What is the best programming language to access databases? The one you know best.

So my advice is: get to learn very good a programming language; one which you find closer to your hearth. Afterwards, if you'll still be interested in blockchain, it'll be here, no worries.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
bitmover
Legendary
*
Offline Offline

Activity: 2296
Merit: 5914


bitcoindata.science


View Profile WWW
July 16, 2021, 02:10:10 PM
Merited by hugeblack (1), BlackHatCoiner (1)
 #7

There are bitcoin implementations and libraries in many different languages.

For example, I will list some I have found (never tested them)

Javascript:
https://bcoin.io/
https://github.com/bitcoinjs/bitcoinjs-lib

PHP
https://github.com/Bit-Wasp/bitcoin-php

Python
https://github.com/samrushing/caesure
https://bitcointalk.org/index.php?topic=94645.0

C
https://github.com/libbtc/libbtc

certainly there are many others around.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
NeuroticFish
Legendary
*
Offline Offline

Activity: 3654
Merit: 6372


Looking for campaign manager? Contact icopress!


View Profile
July 17, 2021, 07:58:23 AM
Merited by hugeblack (1)
 #8

certainly there are many others around.

Under Windows C# is rather popular, and there at least NBitcoin and Bitcoin.Net may worth mentioning.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6723


bitcoincleanup.com / bitmixlist.org


View Profile WWW
July 17, 2021, 02:43:08 PM
 #9

High performance (C)?

Not "high performance" but the ease of detecting security vulnerabilities compared to other languages. Interpreter technology has evolved to run general-purpose code in some higher level languages just as fast as C, plus all the runtime safety features.

Do you know any benchmark or research about this matter? I doubt easy-to-use programming language (such as Python) could be as fast as C without using library which bind to C/C++ library or using compiler like Numba which require code change.

When you write applications that do disk and network I/O (particularly full nodes and SPVs) or poll the kernel for GUI input or network/file data, the speed differences between the runtimes and compiled assembly code are negligible compared to the amount of time waiting on files on disk to be updated or network packets being sent.

Of course, for programs such as math problems that don't block the CPU thread, then the speed of compiled programs compared to interpreted languages becomes much more noticeable.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
franky1
Legendary
*
Offline Offline

Activity: 4214
Merit: 4458



View Profile
July 17, 2021, 07:23:29 PM
 #10

any language which allows
write to disk (save to hard drive)
connect to peer direct(IP connection)(i suppose HTTP methods can do. but then every user needs a webserver)

.
some web languages are crap. but as long as you can store and transfer data. then you can have fun with HOW and WHO and WHY

I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER.
Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
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!