Who's afraid of C ?

  • 9 Replies
  • 1237 Views
*

Zero

  • Trusty Member
  • ********
  • Replicant
  • *
  • 567
  • Offline
    • Github page
Who's afraid of C ?
« on: August 12, 2017, 03:47:49 pm »
Thinkbots are free, as in 'free will'.

*

ivan.moony

  • Trusty Member
  • *********
  • Terminator
  • *
  • 869
  • Smile, it's another day!
    • Structured Type System
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.
Did you notice that today is the first day of the rest of your life?

*

Zero

  • Trusty Member
  • ********
  • Replicant
  • *
  • 567
  • Offline
    • Github page
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.
Thinkbots are free, as in 'free will'.

*

ivan.moony

  • Trusty Member
  • *********
  • Terminator
  • *
  • 869
  • Smile, it's another day!
    • Structured Type System
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  ^-^
Did you notice that today is the first day of the rest of your life?

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6252
  • 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
  • ********
  • Replicant
  • *
  • 567
  • Offline
    • Github page
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...
Thinkbots are free, as in 'free will'.

*

korrelan

  • Trusty Member
  • *********
  • Terminator
  • *
  • 836
  • 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
  • ********
  • Replicant
  • *
  • 567
  • Offline
    • Github page
Re: Who's afraid of C ?
« Reply #7 on: August 13, 2017, 11:04:50 pm »
 :)
Thinkbots are free, as in 'free will'.

*

Zero

  • Trusty Member
  • ********
  • Replicant
  • *
  • 567
  • Offline
    • Github page
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.
Thinkbots are free, as in 'free will'.

*

Zero

  • Trusty Member
  • ********
  • Replicant
  • *
  • 567
  • Offline
    • Github page
Re: Who's afraid of C ?
« Reply #9 on: August 25, 2017, 09:25:57 pm »
Thinkbots are free, as in 'free will'.

 


Robot Vacuum Cleaners
by tekchamps (General Robotics Talk)
Today at 06:10:53 pm
The last invention.
by LOCKSUIT (General Project Discussion)
February 17, 2018, 11:51:20 pm
Supervised AGI
by keghn (General AI Discussion)
February 16, 2018, 08:24:24 pm
Strange learning curves
by Kaeldric (AI Programming)
February 16, 2018, 06:28:14 pm
XKCD Comic : Unification
by Freddy (XKCD Comic)
February 16, 2018, 05:00:26 pm
I want to crack Neural Networks
by keghn (General AI Discussion)
February 15, 2018, 11:48:11 pm
ORWL
by korrelan (General Hardware Talk)
February 15, 2018, 11:22:51 am
Fastest C or C++ math library
by korrelan (AI Programming)
February 14, 2018, 05:08:02 pm

Users Online

35 Guests, 2 Users
Users active in past 15 minutes:
ivan.moony, danlovy
[Roomba]
[Trusty Member]

Most Online Today: 53. Most Online Ever: 208 (August 27, 2008, 09:36:30 am)

Articles