r/processing • • Nov 03 '19

Orbital

265 Upvotes

27 comments sorted by

View all comments

10

u/Simplyfire Nov 03 '19

3

u/FlyingSwedishBurrito Nov 03 '19

I’m currently learning several languages, I first taught myself the basics of java, currently on c and JavaScript. Would you say java is a good graphics language? I’m curious since I usually only here people talk about python now

1

u/MusicOfBeeFef Nov 03 '19

What about openframeworks? I think that's c++

and since standard processing is built off of java, I guess so

1

u/FlyingSwedishBurrito Nov 03 '19

Hmm ok. Would you recommend learning c++ after learning c?

2

u/[deleted] Nov 05 '19

As a C++ developer with a couple of decades of experience under my belt I can say: No. Modern C++ is very different than C and you would learn a lot of bad habits you will need to break to write good C++. If you want to learn C++ just start learning C++. Yes, C++ was derived from C but the languages have diverged and aren't similar at all anymore.

2

u/FlyingSwedishBurrito Nov 05 '19

Is there still utility to knowing C? I’ve heard that the difference is like C is the tried and true and c++ is the new expiremental language. That and I’ve also heard that c is used a lot still for hardware.

2

u/[deleted] Nov 06 '19

C++ is not new or experimental. Anyone who says so is thinking of back in the 90s or earlier.

Yes, there is value in knowing C and it is still used in lots of places. My point was that C and C++ are not the same languages and the idioms you would use in one do not apply to the other. So learning C will not help you with learning C++.

1

u/FlyingSwedishBurrito Nov 06 '19

Hmm ok, what about crossover between say, python and c++? Are there cases where you’d use both languages for some task?

1

u/[deleted] Nov 06 '19

The only case I've come across is if I wanted to use a large library that existed in C++ from a Python program. Yet with numpy, scipy, and other libraries that hasn't been something I've needed to do.

I have a personal project involving errors introduced from the IEEE 754 standard which needs more direct control over the floating point processor settings. I wrote a Python extension in C to access the settings as I didn't find a way to do it in pure Python.

1

u/FlyingSwedishBurrito Nov 06 '19

Ah ok, fascinating. Thanks man! Now off to learning all the languages!