Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

sepples

Name: Anonymous 2009-01-19 18:16

Hey /prog/
I never really used C or C++ before, other than when I started learning programming. I want to do something in one of them, (maybe an OS lol) but I'm not very confident about allocating/freeing up memory (I haven't done it before often).
Just to refresh my memory, as long as I use malloc and free with C and new and delete keywords with C++ I'm safe, right? And can I use malloc and free in C++ too?

Also, discuss Objective-C and the Sepplesox I heard about before.

Name: Anonymous 2009-01-19 19:47

[balls][/balls]

Name: Anonymous 2009-01-19 19:56

>>30
State of the art Smalltalk VMs today optimize code like there's no tomorrow and still end up about 10x slower than C. And it took about 30 years to get there. Objective-C motherfuckers wouldn't have made a difference.

Name: Anonymous 2009-01-19 20:01

>>39
So, what about this do you imagine makes Objective-C less than Ctarded, hm?

Name: Anonymous 2009-01-19 20:08

>>43
Dynamic binding.

Name: Anonymous 2009-01-19 21:02

>>39
>writing C compilers is relatively easy.
ahahahaha, writing efficient compilers for side-effect free languages is considerably easier than writing C compilers.

C has many peculiarities, which may take a long time to fully implement(various people made the mistake that it would take a short while, then end up spending a year or two on it)

Name: Anonymous 2009-01-19 21:58

>>45
ahahahaha, writing efficient compilers for side-effect free languages is considerably easier than writing C compilers.
Which specific languages did you have in mind when you wrote that?

Name: Anonymous 2009-01-20 2:43

Why the C hate? It's used for game programming almost exclusively, and we all like games, don't we?

Name: Anonymous 2009-01-20 2:51

>>47
Are most programmers using Sepples these days?

Is it possible we resent its influence in the field?

Name: Anonymous 2009-01-20 4:09

>>46
Various functional languages such as the ML family and LISP family, and other related functional languages. I'm not saying that writting a compiler for them is much easier, but just try to compare gcc's codebase with ocaml's native code compiler. However, some languages may be harder to optimize to run fast than C due to their nature, but that doesn't say anything about the actual difficulty of creating a working compiler.

Name: Anonymous 2009-01-20 15:41

>>49
First of all, those languages aren't side-effect free. Second of all, being relatively easy to write compilers for wasn't the only factor I mentioned. Performance was also a reason to choose C. Widespread use might also have played a part.

Name: Anonymous 2009-01-20 15:46

>>48
Most programmers are using Java and C#.

Name: Anonymous 2009-01-20 15:56

C# is picking up momentum, with people finally seeing through Java's obnoxious verbosity. Learn C#

Name: Anonymous 2009-01-20 16:02

>>52
Better yet, stay ahead of the pack and learn F#.

Name: Anonymous 2009-01-20 16:10

>>51
For professional games programming.

Name: Anonymous 2009-01-20 16:14

>>54
Oh, my bad. Java and ActionScript.

Name: Anonymous 2009-01-20 16:31

>>52
I know C#, I switched to it just after starting C++.
But I still want to know a bit of C/C++, just for myself.
I also plan to learn Haskell and Smalltalk later.

Name: Anonymous 2009-01-20 16:38

>>56
I also plan to learn to tie my own shoe laces and dress myself later.

Name: Anonymous 2009-01-20 16:48

>>57
And to wipe my own ass.

Name: Anonymous 2009-01-20 17:07

>>56
But I still want to know a bit of C++, just for myself.
You make me think of this octopus.
http://mediumlarge.wordpress.com/2009/01/16/friday-january-16-2009/

Name: Anonymous 2009-01-24 16:19

>>59
Why? I want to know C++, not use it. There's a difference.

Name: Anonymous 2010-12-23 20:17

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List