create account

Is it time to re-learn C++? by brandonh

View this thread on: hive.blogpeakd.comecency.com
· @brandonh · (edited)
$10.87
Is it time to re-learn C++?
<html>
<p>https://isocpp.org/files/img/cpp_logo.png</p>
<p>So I've been &nbsp;in the tech industry since 2001, and for most of the time I spent interacting and developing for the Java world. &nbsp;Granted I was never ever a huge fan of working with Java. &nbsp;&nbsp;When I was younger I had a mentor (thought he didn't realize he was my mentor) from the AOL days, and he absolutely hated Java. &nbsp;&nbsp;Odd that Java would define so much of my professional career, despite never really caring much for the language.</p>
<p><br></p>
<p>I was happy to eventually move into the DevOps/Site Reliability Engineer space around 2013, and could use my language of choice Python. &nbsp;&nbsp;Despite having to mess with the odd Netflix API or so (like Cassandra Astynax), I have mostly prided myself as a Python guy, with the occasional Ruby (I'm a DevOps guy after all, and too many DevOps tools are written in Ruby). &nbsp;However, as a hobbyist I never had too many fresh ideas of what to do with Python. &nbsp;&nbsp;As a professional, I always find place where to fit Python into our automation.</p>
<p><br></p>
<p>Well about a year and a half ago, I decided to get off of the side lines &nbsp;and get involved in the world of cryptocurrencies. &nbsp;I had pondered the idea of getting into Bitcoin and blockchain, but was way too conservative earlier on to consider it. &nbsp;But I eventually bought my first Bitcoin early 2016 and I started to get immersed in this world. &nbsp;As a fiscal illiterate, I made some mistakes, such as selling to quick, going all in, involving myself in shit coins, and mostly having weak hands. &nbsp;To the point where I finally found the one thing I was good at when it came to cryptos... Fundamental analysis. &nbsp;The minute I started doing fundamental analysis, my portfolio became "smarter". &nbsp;&nbsp;&nbsp;And that is because I'm a tech guy, and I love doing the research.</p>
<p>&nbsp;Anyway I guess there is a point I wanted to make. &nbsp;So here it goes. &nbsp;&nbsp;I've finally started to get my feet wet looking into the development of block chain technologies. &nbsp;It is something I've always wanted to do. &nbsp;And I've finally started messing around with Ethereum and Solidity development. &nbsp;&nbsp;I've even compiled &nbsp;a few projects like EOS. &nbsp;However there was just one issue. &nbsp;EVERYTHING IS WRITTEN IN C++. &nbsp;And I mean EVERYTHING.</p>
<p>Now this isn't a problem, I do know some C++ from my college days. &nbsp;But man, this was back when things like MFC and Win32 programming was still in vogue. &nbsp;Anyone remember those ugly MFC macros? &nbsp;Yuck. &nbsp;However C++ as a language has changed quite a bit. &nbsp;There seems to have been a ton of stuff added to the language with C11 and C14. &nbsp;&nbsp;And there are so many build utilities like SCOM and CMake. &nbsp;And what is boost and why does it take so long to compiled!? &nbsp;</p>
<p><br></p>
<p>I feel like I've been in this C++ coma and I'm just now waking up to a brand new world. &nbsp;&nbsp;But I literally love firing up my CLion compiler and stepping through the bitcoin or EOS code. &nbsp;&nbsp;&nbsp;And while it sounds boring, this stuff really excites me. &nbsp;&nbsp;It feel like I'm learning something new, and it's really amazing. &nbsp;&nbsp;I'm especially enjoying studying the code, although I'm not writing much myself.</p>
<p>And I guess when you think about the world of blockchain and how stateful it is. &nbsp;You can imagine that memory management is of the utmost importance. &nbsp;I've hit some resource limits just trying to get this stuff to compile. &nbsp;&nbsp;And while I do plan to write a small DAPP in Ethereum, just to see how fun it is. &nbsp;&nbsp;Studying the core blockchain code just seems far more exciting.</p>
<p>So is it time to go back into C++? &nbsp;Is it essential to understand blockchain technologies and the tech around it? &nbsp;</p>
</html>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorbrandonh
permlinkis-it-time-to-re-learn-c
categoryblog
json_metadata{"tags":["blog","blochain","cpp","ethereum","eos"],"app":"steemit/0.1","format":"html","image":["https://isocpp.org/files/img/cpp_logo.png"]}
created2017-09-02 21:50:24
last_update2017-09-02 21:51:54
depth0
children10
last_payout2017-09-09 21:50:24
cashout_time1969-12-31 23:59:59
total_payout_value9.962 HBD
curator_payout_value0.909 HBD
pending_payout_value0.000 HBD
promoted25.000 HBD
body_length3,939
author_reputation4,368,301,088,023
root_title"Is it time to re-learn C++?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id13,687,383
net_rshares2,818,876,231,568
author_curate_reward""
vote details (46)
@balmainhk ·
C++ is an amazing language. Its ability to manipulate data structures and the way to can conceptualise objects is unparallelled. My concern though is that it has become way too complicated to use. Writing a basic C++ program is easy enough but to really use the power of the language, the things that set it apart from Java and the others you really need to know quite a bit. Most people don't get there and as a result drop it in favour of one of the other languages that are "easier" to get good at. Any thoughts on this?
👍  
properties (23)
authorbalmainhk
permlinkre-brandonh-is-it-time-to-re-learn-c-20170906t163746963z
categoryblog
json_metadata{"tags":["blog"],"app":"steemit/0.1"}
created2017-09-06 16:37:48
last_update2017-09-06 16:37:48
depth1
children0
last_payout2017-09-13 16:37:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length523
author_reputation11,048,900,558
root_title"Is it time to re-learn C++?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id14,066,715
net_rshares1,163,898,799
author_curate_reward""
vote details (1)
@dan ·
$0.22
C++ is very much underappriciated. Many of the preconceived notions about memory management, etc are out dated. If you follow best practices C++ becomes the fastest, most expressive language there is.

 Unfortunately, C++ takes a long time to compile because of some fundamental issues with the structure of include files. When using templates it consumes a ton of memory during compilation too. The good news is that what you pay for at compilation time often results in much better run time performance.

When it comes to smart contracts I am convinced that C++ is the best choice because of the power and expressiveness of its type system.
👍  , , ,
properties (23)
authordan
permlinkre-brandonh-is-it-time-to-re-learn-c-20170903t014545828z
categoryblog
json_metadata{"tags":["blog"],"app":"steemit/0.1"}
created2017-09-03 01:45:45
last_update2017-09-03 01:45:45
depth1
children0
last_payout2017-09-10 01:45:45
cashout_time1969-12-31 23:59:59
total_payout_value0.171 HBD
curator_payout_value0.051 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length642
author_reputation155,470,101,136,708
root_title"Is it time to re-learn C++?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id13,700,022
net_rshares57,708,925,478
author_curate_reward""
vote details (4)
@emilyberrett ·
I have followed you on Steemit, please be kind enough to follow me as well.
properties (22)
authoremilyberrett
permlinkre-brandonh-is-it-time-to-re-learn-c-20170906t081325782z
categoryblog
json_metadata{"tags":["blog"],"app":"steemit/0.1"}
created2017-09-06 08:13:27
last_update2017-09-06 08:13:27
depth1
children0
last_payout2017-09-13 08:13:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length75
author_reputation-25,083,968,934
root_title"Is it time to re-learn C++?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id14,027,326
net_rshares0
@impressions ·
If A B C D is the basic thing to make a sentence then C++ is the basic thing to make a computer program. So keep learning C++.
properties (22)
authorimpressions
permlinkre-brandonh-is-it-time-to-re-learn-c-20170903t174037804z
categoryblog
json_metadata{"tags":["blog"],"app":"steemit/0.1"}
created2017-09-03 17:40:24
last_update2017-09-03 17:40:24
depth1
children0
last_payout2017-09-10 17:40:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length126
author_reputation7,578,424,607,524
root_title"Is it time to re-learn C++?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id13,764,687
net_rshares0
@joshpeterson ·
I chose to focus in on Python since it's incredibly versatile for the kind of data analysis that I do, but I've noticed this C++ trend, too, although it seems like Solidity is a JavaScript fork. I'm guessing C++ is preferred it can handle the kind of throughput needed for processing blockchain transactions? I'm just taking a stab in the dark here, though.
👍  
properties (23)
authorjoshpeterson
permlinkre-brandonh-is-it-time-to-re-learn-c-20170903t075610690z
categoryblog
json_metadata{"tags":["blog"],"app":"steemit/0.1"}
created2017-09-03 07:56:09
last_update2017-09-03 07:56:09
depth1
children1
last_payout2017-09-10 07:56:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length357
author_reputation5,435,037,327,964
root_title"Is it time to re-learn C++?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id13,720,628
net_rshares1,109,157,632
author_curate_reward""
vote details (1)
@coinswelove · (edited)
$0.15
I think it also has to do with security or perhaps even the insecurities (almost features)  in C++ (bufferoverflows due to pointers, etc). And don't forget that C++ is a programming language so it does not need an interpreter while Python (great fan btw) does. 

Time for me to pick this up again now, after reading this post. It's at least a decade ago I last finished a program in C++. But it's still my favorite. :) 

Thanks @brandonh, well written and upvoted! Same goes for you, @Joshpeterson and @dan.
👍  
properties (23)
authorcoinswelove
permlinkre-joshpeterson-re-brandonh-is-it-time-to-re-learn-c-20170903t171821198z
categoryblog
json_metadata{"tags":["blog"],"users":["brandonh","joshpeterson","dan"],"app":"steemit/0.1"}
created2017-09-03 17:18:21
last_update2017-09-03 17:19:30
depth2
children0
last_payout2017-09-10 17:18:21
cashout_time1969-12-31 23:59:59
total_payout_value0.117 HBD
curator_payout_value0.037 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length507
author_reputation2,991,872,958
root_title"Is it time to re-learn C++?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id13,762,773
net_rshares42,499,368,039
author_curate_reward""
vote details (1)
@kiritsugu ·
$0.16
Resteemed, good stuff!
👍  
properties (23)
authorkiritsugu
permlinkre-brandonh-is-it-time-to-re-learn-c-20170903t193852499z
categoryblog
json_metadata{"tags":["blog"],"app":"steemit/0.1"}
created2017-09-03 19:38:51
last_update2017-09-03 19:38:51
depth1
children0
last_payout2017-09-10 19:38:51
cashout_time1969-12-31 23:59:59
total_payout_value0.118 HBD
curator_payout_value0.038 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length22
author_reputation4,307,294,294
root_title"Is it time to re-learn C++?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id13,774,564
net_rshares43,366,702,081
author_curate_reward""
vote details (1)
@moon010 ·
good
👍  
properties (23)
authormoon010
permlinkre-brandonh-is-it-time-to-re-learn-c-20170902t213950489z
categoryblog
json_metadata{"tags":["blog"],"app":"steemit/0.1"}
created2017-09-02 22:40:00
last_update2017-09-02 22:40:00
depth1
children0
last_payout2017-09-09 22:40:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4
author_reputation18,772,286,844
root_title"Is it time to re-learn C++?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id13,690,309
net_rshares2,056,116,338
author_curate_reward""
vote details (1)
@selected ·
Yeah man, happened the same to me time ago. And nowadays i will like to learn a new programming language, and i think it will be C++.

Thanks for share mate, have a good week.
properties (22)
authorselected
permlinkre-brandonh-is-it-time-to-re-learn-c-20170906t083758584z
categoryblog
json_metadata{"tags":["blog"],"app":"steemit/0.1"}
created2017-09-06 08:37:54
last_update2017-09-06 08:37:54
depth1
children0
last_payout2017-09-13 08:37:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length175
author_reputation5,342,944,151,905
root_title"Is it time to re-learn C++?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id14,028,922
net_rshares0
@thethirdeye ·
This gem of a post was discovered by the OCD Team!
Reply to this comment if you accept, and are willing to let us promote your gem of a post! By accepting this, you have a chance to receive extra rewards and one of your photos in this article will be used on our compilation post!
You can follow @ocd – learn more about the project and see other Gems! We strive for transparency.
properties (22)
authorthethirdeye
permlinkre-brandonh-is-it-time-to-re-learn-c-20170906t101509449z
categoryblog
json_metadata{"tags":["blog"],"users":["ocd"],"app":"steemit/0.1"}
created2017-09-06 10:15:12
last_update2017-09-06 10:15:12
depth1
children0
last_payout2017-09-13 10:15:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length379
author_reputation320,017,149,427
root_title"Is it time to re-learn C++?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id14,035,280
net_rshares0