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

Pages: 1-

C++ is the only language I need?

Name: Anonymous 2011-04-04 15:18

I've been looking to learn programming (technically I did a little Pascal in high school) to program some small video games. The thing is, every time I look at programming languages to use, it keeps coming back to C++. Java is too slow, Python is too slow, C# is for fags, nobody uses Delphi, etc.

Is C++ really the only good language for video games?
Is there anything C++ SHOULDN'T be used for? From what I've seen, C++ is recommended for everything, and all other languages are just for amateurs, very specific platforms, etc.

Name: Anonymous 2011-04-04 15:23

s/C++/Lisp/

Name: Anonymous 2011-04-04 15:23

learn C first

Name: Anonymous 2011-04-04 16:04

Name: Anonymous 2011-04-04 16:45

Is there anything C++ SHOULDN'T be used for?
http://blog.mezeske.com/?p=377

Name: Anonymous 2011-04-04 16:49

>>5
tats teh real h4xx0rs shell u dont uderstand nothing gb2toylangugage

Name: Anonymous 2011-04-04 16:55

>>5
Terrible!

Name: Anonymous 2011-04-04 19:58

Learn C first OP. Then learn C++. Learn how to use everything in C++, not just the OOP stuff with class inheritance and member function polymorphism.

Strict, fine-grained OOP is on the way out for game programming. Data-oriented design and programming in C/C++ is the future for games.

Name: Anonymous 2011-04-04 19:59

>>5
April 1st, 2011

Name: Anonymous 2011-04-04 23:14

>>3
>>8
I'd have to disagree. Starting with makes one learn many C-isms that don't apply in modern C++. For example, heap allocation everywhere.

Name: Anonymous 2011-04-04 23:18

>>10
Modern C++ uses LAMBDAS.

Name: Anonymous 2011-04-05 2:08

>>11
lambdae

Name: Anonymous 2011-04-05 2:10

>>11
lambdae

Name: Anonymous 2011-04-05 2:19

>>11-13
That reminds me, it's been a while since I've tasted lamb. I think I will buy a lamb roast tomorrow.

Name: Anonymous 2011-04-05 2:39

I wonder if The Sussman feasts on roast lamb?

Name: Anonymous 2011-04-05 3:01

I WONDER IF THE SUSSMAN FEASTS ON MY ANUS

Name: Anonymous 2011-04-05 4:05

>>16
he probably does

Name: Autistic Duck 2011-04-05 4:56

>>16  
True hell plane shrieks through dust
The birds descended from the ragged blood sky
SussMan the last Evangelion lead
The feast is >>16
Rip his organs said SussMan
The anus is mine

Name: Anonymous 2011-04-06 8:16

inb4 LISP. LISP. LISP IS THE LANGUAGE

Name: Anonymous 2011-04-06 10:32

>>2
Enjoy your no classes

Name: Anonymous 2011-04-06 12:47

>>20
http://en.wikipedia.org/wiki/CLOS
http://community.schemewiki.org/?Tiny-CLOS
http://www.gnu.org/software/goops/goops.html
http://wiki.call-cc.org/eggref/4/coops
http://docs.racket-lang.org/swindle/index.html
http://docs.racket-lang.org/reference/mzlib_class.html
http://www.forcix.cx/software/prometheus.html
http://community.schemewiki.org/?ClosureTalk
http://community.schemewiki.org/?object-systems

(define-syntax λm
  (λ (stx)
    (syntax-case stx ()
      ((λm args v ...)
       (with-syntax ((self (datum->syntax #'λm 'self)))
         #'(λ (self . args) v ...)))
      ((λm (a ...) v ...)
       (with-syntax ((self (datum->syntax #'λm 'self)))
         #'(λ (self a ...) v ...))))))

(define mmap
  (λ (m t b)
    (cond ((null? m) (list (cons t b)))
          ((eq? t (caar m)) (cons (cons t b) (cdr m)))
          (else (cons (car m) (mmap (cdr m) t b))))))

(define make-dispatcher
  (λ (m)
    (define dispatcher
      (λ (z . a)
        (cond ((eq? z 'mmap) m)
              ((eq? z 'set-method) (set! m (apply mmap (cons m a))))
              ((assq z m) => (λ (h) (apply (cdr h) (cons dispatcher a))))
              ((eq? z 'get-class) "UNKNOWN")
              ((eq? z 'to-string) (symbol->string (dispatcher 'get-class)))
              (else (error (format "Undefined method "~a" for class "~a"" z (dispatcher 'get-class)))))))
    dispatcher))


Enjoy your nothing.

Name: Anonymous 2011-04-06 17:11

Bump for classes.

Name: Anonymous 2011-04-06 17:30

>>20
The strength of true Lisp OO (CLOS, MOP) doesn't compare to SEPPLES's OO. This may seem impossible as SEPPLES seems so bloated as to have everything, but actually the designers of CL's OO worked heavily on its semantics that it's an OO system which can be implemented in itself and can be made to act as any OO system that you can imagine (not to mention its default behavior is pretty powerful as well, it's multiple inheritance done right). SEPPLES has a lot of syntax and many hacks on top of hacks to provide whatever features they wanted, while Lisp OO is a well designed system which can provide whatever you want, and if for whatever reason that doesn't suit you, it gives you the tools to make it into whatever you want with minimal effort.

Name: Anonymous 2011-04-06 17:48

>>23
Arguably it's the best designed part of CL.

>>21
FWIW, MIT Scheme also has a clos-alike http://www.gnu.org/software/mit-scheme/documentation/mit-scheme-sos/

Name: Anonymous 2011-04-06 18:09

>>1
>C# is for fags

HEY FUCK YOU

Name: Anonymous 2011-04-06 18:52

>>21
fuck you faggot

Name: Anonymous 2011-04-06 20:07

>>1
A number of games are written in Delphi and have a reasonable community following. Also Java is fast enough as evidenced by Minecraft.

Name: Anonymous 2011-04-07 1:50

>>27
Minecraft runs like shit. IHBT.

Name: Anonymous 2011-04-07 16:17

C  is my language of choice, not a huge fan of C++.  I'm not sure why people love C++ so much.

Name: Anonymous 2011-04-07 16:18

>>27
`using autism game as example
`implying IHNBT
wanderingNomads.hs

Name: Anonymous 2011-04-07 16:57

>>30
Fuck off.

Name: Anonymous 2011-04-07 17:41

>>31
`inferring I will fuck off because some autist tells me so
iterativesussman.scm

Name: Anonymous 2011-04-07 17:49

>>32
`infer my anus :: (Anus a) => a -> a
doublylinkedlistbyzippingitinareversedlistinthecar.scm

Name: Anonymous 2011-04-07 20:38

>>27
>A number of games are written in Delphi
mark overmars is that you???

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