General > General Technical Chat
How many people code in C these days, and if so, why?
<< < (36/99) > >>
bd139:
https://documen.tician.de/pycuda/  :popcorn:
nctnico:

--- Quote from: bd139 on May 09, 2020, 05:41:26 pm ---https://documen.tician.de/pycuda/  :popcorn:

--- End quote ---
You kind of beat me to it...

Ray tracer in Python:
https://excamera.com/sphinx/article-ray.html
engrguy42:

--- Quote from: bd139 on May 09, 2020, 05:41:26 pm ---https://documen.tician.de/pycuda/  :popcorn:

--- End quote ---

Hmmm...if I didn't know better I'd think that maybe the only goal of some folks here is to prove me wrong, and they'll go Google crazy to find exceptions to what I say....

Nah, can't be.  :D

BTW, at the time I was starting to get into raytracing I was using C#, and wanted to stick with it for the GUI aspects. I wanted to do a raytracer, but have user control (buttons, windows, user controls, etc.).

Unfortunately, integrating the CUDA-related stuff for my NVIDIA GPU's was, as far as I could tell, a HUGE PITA. So I relented and did it in C++. When I saw all the support stuff available if I did it in C++ (including NIVIDA resources), it seemed clear that C++ was the way to go. For me.

Now I'm sure others were willing to use other languages, but I wasn't. Again, I apologize for not going the extra mile.

Bad boy.
Karel:

--- Quote from: engrguy42 on May 09, 2020, 05:08:10 pm ---BTW, who gives a F*** what Linus Torvalds thinks?

--- End quote ---

I do. I learned a lot from Linus and the Linux kernel development in general.
SiliconWizard:
You can obviously write raytracers without using CUDA, and that's probably what most people were thinking about here when you made that first statement.

But if I were using CUDA, I would personally indeed NOT bother (although it's certainly possible) using any other language than C or C++.
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