General > General Technical Chat
How many people code in C these days, and if so, why?
<< < (20/99) > >>
engrguy42:

--- Quote from: Wolfgang on May 06, 2020, 09:30:24 pm ---
--- Quote from: engrguy42 on May 06, 2020, 09:08:40 pm ---
--- Quote from: Wolfgang on May 06, 2020, 08:52:16 pm ---IMHO, the reason for the preference of Python is because:
- cross-platform
- much more scientific/engineering libs than other languages
- free, and open source.
Hard to beat, I would say. When you look at TIOBE what is happening to MATLAB at the moment that tells something.
Python is on the way to a firm number one in scientific computing, also for AI, ...

--- End quote ---

Hey, wait a minute...what's happening to MATLAB???

Am I gonna have to learn Python??  :D

--- End quote ---

yeah, maybe not the worst idea. The point is that in Python most of engineering and math you need works similarly or sometimes even better than MATLAB, and Python is free. MATLAB not at all.
TIOBE shows that MATLAB use is declining steeply, Python is growing at record speed.

--- End quote ---

Oh really? MATLAB declining? Maybe because every time you need to do something you learn "oh, that's in this OTHER set of tools, and it will cost you another $50".  |O

But the good thing is they have some pretty nice pre-made models you can start with. Well, as long as you buy that OTHER set of Simulink/Simscape/whatever tools and spend another freakin' $250.

Damn. I guess "learn Python" goes on my to-do list....

Oh, BTW, does Visual Studio do Python? I love Visual Studio.
Picuino:
https://code.visualstudio.com/docs/languages/python
You should know Python at least as a complement to Matlab. Learning curve is very easy and fun.
engrguy42:

--- Quote from: Picuino on May 06, 2020, 09:46:56 pm ---https://code.visualstudio.com/docs/languages/python
You should know Python at least as a complement to Matlab. Learning curve is very easy and fun.

--- End quote ---

Oh wait, VS tells me I already have Python installed.  :D

But the downside is my tons of code and libraries I've already made in C# & C++ won't work anymore  :-\

Is there a magic converter thingy?
bd139:
Check pypi first. Most of the shit I've written over the years someone else has already put together something better for.
radioactive:

--- Quote from: engrguy42 on May 06, 2020, 09:41:24 pm ---
--- Quote from: Wolfgang on May 06, 2020, 09:30:24 pm ---
--- Quote from: engrguy42 on May 06, 2020, 09:08:40 pm ---
--- Quote from: Wolfgang on May 06, 2020, 08:52:16 pm ---IMHO, the reason for the preference of Python is because:
- cross-platform
- much more scientific/engineering libs than other languages
- free, and open source.
Hard to beat, I would say. When you look at TIOBE what is happening to MATLAB at the moment that tells something.
Python is on the way to a firm number one in scientific computing, also for AI, ...

--- End quote ---

Hey, wait a minute...what's happening to MATLAB???

Am I gonna have to learn Python??  :D

--- End quote ---

yeah, maybe not the worst idea. The point is that in Python most of engineering and math you need works similarly or sometimes even better than MATLAB, and Python is free. MATLAB not at all.
TIOBE shows that MATLAB use is declining steeply, Python is growing at record speed.

--- End quote ---

Oh really? MATLAB declining? Maybe because every time you need to do something you learn "oh, that's in this OTHER set of tools, and it will cost you another $50".  |O

But the good thing is they have some pretty nice pre-made models you can start with. Well, as long as you buy that OTHER set of Simulink/Simscape/whatever tools and spend another freakin' $250.

Damn. I guess "learn Python" goes on my to-do list....

Oh, BTW, does Visual Studio do Python? I love Visual Studio.

--- End quote ---

I feel your pain.  I spent more than that on some "home" version to learn the *real* matlab instead of octave.  I thought it might give me some insight when I was first learning FPGA after putting it off for decades.  After downloading and playing around with it,  I realized that not only could I *not* do anything FPGA related with it, but the only thing it was slightly better at  (at the time) was creating coefficients for FIR filters.  I wrote my own code for that since then.  Last time I tried to run Matlab (that I paid $500 or so for from memory), it segfaulted.  I think the Octave project is the future of Matlab from what I can tell.  Also, Python uses lib-octave libraries from what I can tell (not that interesting to me).  I really can't stand even looking at Python code.  Maybe there is also some kind of commercial effort from the Matlab guys?  Not sure about that.

related sidenote: Also learned VHDL and Verilog since then.  Both well worth learning.  I came away from it preferring Verilog by far.
Navigation
Message Index
Next page
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod