Page 2 of 2

Hello from North Carolina

Posted: Sun Dec 06, 2020 5:06 am
by SlithyMatt


13 hours ago, Chad Windham said:




Haven't messed with Python much, but have created various CLI's via Node, Ruby and Rust



Python and Ruby are pretty interchangeable, but Python just has more traction now. So then, I would suggest taking some of your simpler CLI programs and try doing them in C before doing them in assembly.


Hello from North Carolina

Posted: Mon Dec 07, 2020 6:40 pm
by Chad Windham


13 hours ago, SlithyMatt said:




Python and Ruby are pretty interchangeable, but Python just has more traction now. So then, I would suggest taking some of your simpler CLI programs and try doing them in C before doing them in assembly.



Unless I'm missing something, wouldn't Rust pretty much check all the boxes that C would?


Hello from North Carolina

Posted: Mon Dec 07, 2020 6:48 pm
by rje


7 minutes ago, Chad Windham said:




Unless I'm missing something, wouldn't Rust pretty much check all the boxes that C would?



It certainly would.

 


Hello from North Carolina

Posted: Mon Dec 07, 2020 10:39 pm
by SlithyMatt


3 hours ago, Chad Windham said:




Unless I'm missing something, wouldn't Rust pretty much check all the boxes that C would?



Not quite. Rust still has a bunch of black magic behind it managing memory and references. C is just you and the bare metal with syntax making it easier than assembly programming. Rust may be a good intermediary between Python and C, if that's too large a step to take, or a good starting point if you are already comfortable with it.