Who's afraid of C ?

  • 9 Replies
  • 582 Views
*

Zero

  • Trusty Member
  • *******
  • Starship Trooper
  • *
  • 403
  • Fictional character
    • SYN CON DEV LOG
Who's afraid of C ?
« on: August 12, 2017, 03:47:49 pm »

*

ivan.moony

  • Trusty Member
  • *********
  • Terminator
  • *
  • 757
  • look, a star is falling
Re: Who's afraid of C ?
« Reply #1 on: August 12, 2017, 03:57:13 pm »
I've heard that Rust is a modern version of C++. But I didn't check it out yet.

For C++ I used Qt framework that comes with a great IDE and a nice bunch of libraries. I think Motorola bought it some time ago.

[Edit] No, it was Nokia that bought it.
Wherever you see a nice spot, plant another knowledge tree :favicon:

*

Zero

  • Trusty Member
  • *******
  • Starship Trooper
  • *
  • 403
  • Fictional character
    • SYN CON DEV LOG
Re: Who's afraid of C ?
« Reply #2 on: August 12, 2017, 04:23:55 pm »
Yeah, Rust obviously. Actually, I try Rust every once in a while... I don't know there's something I don't like in it, can't put the finger on what.

About Qt... well Qt is cute, but I could never get it to work  :P

But come on, C  :D  the Tyler Durden of programming languages, the realm of faster-than-light stupid bugs!!! I gotta get back to it. Final destination. Kaboom.

*

ivan.moony

  • Trusty Member
  • *********
  • Terminator
  • *
  • 757
  • look, a star is falling
Re: Who's afraid of C ?
« Reply #3 on: August 12, 2017, 05:03:33 pm »
the realm of faster-than-light stupid bugs

 ;D I didn't know how to put it into words, but you described it perfectly.

Other than that, I had an itch with declaration separated from definitions. But speed, man... It is worth of pain  :-X

Not to mention ability to mix in an assembler code, if you want something really, really fast. I didn't use that in c, but I remember once when I programmed my Commodore 64 in assembler to cycle the whole cathode tv screen through all 16 colors. The monster was changing colors so fastly that only thin horizontal stripes of changing different colors was running across the screen. in one frame (of 24 tv frames per sec) the color of whole screen changed hundreds of times, so the tv output couldn't keep up with that speed  ^-^
Wherever you see a nice spot, plant another knowledge tree :favicon:

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6194
  • Mostly Harmless
Re: Who's afraid of C ?
« Reply #4 on: August 12, 2017, 06:48:16 pm »
We did C at university and since then I have barely used it. I would need to start again now from scratch it has been so long. I was doing just that about ten years back, but ended up doing a lot of web programming and so focused on PHP and javascript.

I do however use C# in Unity a fair bit and really like the language.

I think it's about tools for the job. I don't think that there is much point learning a language for the sake of it. And also programming is largely about training your brain to break things down into processes - then you use some convenient language to express all that. So once you have a couple of languages sorted out in your mind, then others become easier to use and work out.

Often though I will write something in C# and think to myself I wish I had this or that from PHP to use here. Natively I mean.

*

Zero

  • Trusty Member
  • *******
  • Starship Trooper
  • *
  • 403
  • Fictional character
    • SYN CON DEV LOG
Re: Who's afraid of C ?
« Reply #5 on: August 12, 2017, 10:29:27 pm »
It is said that speaking/thinking in another language (I mean a natural language) brings you other ways to understand/compute reality. The movie is about this. I think the same goes for programming languages. For instance, my recent contact with Racket unlocked a specific idea in me, about a network made of functions.

But here, it's different. Going back to C isn't for thinking differently, nor exploring. And I do, like you, need to start again from (almost) scratch, so to speak. It's just... time has come to make. I never really pushed as hard as I can. Now, I'm ready. I begin.

Hey ivan.moony, your faster-than-screen hack is really cool, I'm impressed  O0   Ah good'ol time...

*

korrelan

  • Trusty Member
  • ********
  • Replicant
  • *
  • 713
  • Look into my eyes! WOAH!
    • Google +
Re: Who's afraid of C ?
« Reply #6 on: August 13, 2017, 06:18:14 pm »
Quote
I never really pushed as hard as I can. Now, I'm ready. I begin.

Someone sounds driven and serious...

 :)
It thunk... therefore it is!

*

Zero

  • Trusty Member
  • *******
  • Starship Trooper
  • *
  • 403
  • Fictional character
    • SYN CON DEV LOG
Re: Who's afraid of C ?
« Reply #7 on: August 13, 2017, 11:04:50 pm »
 :)

*

Zero

  • Trusty Member
  • *******
  • Starship Trooper
  • *
  • 403
  • Fictional character
    • SYN CON DEV LOG
Re: Who's afraid of C ?
« Reply #8 on: August 21, 2017, 09:30:44 pm »
 :tickedoff:  Literally every book about C is stuffed with bugged code samples. Unfkinbelievable.

*

Zero

  • Trusty Member
  • *******
  • Starship Trooper
  • *
  • 403
  • Fictional character
    • SYN CON DEV LOG
Re: Who's afraid of C ?
« Reply #9 on: August 25, 2017, 09:25:57 pm »