I Wanna Be The Forums!

Please login or register.

Login with username, password and session length
Advanced search  

News:

Gaiden 1.2 patch released. Click here to download!

Pages: 1 [2]

Author Topic: Programmin'  (Read 3987 times)

Ellipsis

  • Ellipsis
  • The Guy
  • *****
  • Posts: 1907
    • View Profile
    • If Not Equal Limited
Re: Programmin'
« Reply #15 on: February 16, 2011, 01:39:01 pm »

Storyyeller I feel the need to add that I think C++ is however faster and better for large projects.
Found this mini comparison, it's interesting even if you only look at the difference in appearance in the code:
http://theunixgeek.blogspot.com/2008/09/c-vs-python-speed.html
Out of interest Storyyeller why did you choose C++?
« Last Edit: February 16, 2011, 01:48:15 pm by Ellipsis »
Logged

Neo

  • God of Music. Also, Mort was sexually assaulted by Bidoof.
  • Hero Member
  • *****
  • Posts: 935
  • HUZZAH
    • View Profile
Re: Programmin'
« Reply #16 on: February 16, 2011, 02:10:01 pm »

Holy shit.


Found this in a search for the hardest programming language. These ones were literally MADE to be hard.

   

Malbolge, named after the eighth circle of hell in Dante's Inferno, the Malebolge.

    Malbolge was so difficult to understand when it arrived that it took two years for the first Malbolge program to appear. The program was not even written by a human being: it was generated by a beam search algorithm designed by Andrew Cooke and implemented in Lisp.

And here's "Hello, World.":

 (=<`:9876Z4321UT.-Q+*)M'&%$H"!~}|Bzy?=|{z]KwZY44Eq0/{mlk**
 hKs_dG5[m_BA{?-Y;;Vb'rR5431M}/.zHGwEDCBA@98\6543W10/.R,+O<




And

I've never tried to but BrainFuck?

E.g. (from the linked wikipedia entry)

Hello World

++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.

Logged
So you gonna fight me with that thing?
Damn turrets. Damn Vinewalls. Damn Lasers.Damn Ceiling. Damn GUY

4/5/11 Never Forget.
Derf <3's Neo for making him a mod <3

I think we should just add to the rules that I'll be in every mafia by default.

Storyyeller

  • The Guy
  • *****
  • Posts: 1297
    • View Profile
Re: Programmin'
« Reply #17 on: February 16, 2011, 02:42:32 pm »

Yeah there are tons of "esoteric" languages. But noone uses them, except maybe as a joke.


Anyway, C++ is generally faster than Python. The point is that they are useful for different areas. If you want to do scripting or want to code something quickly, Python is useful. If you want to do low level stuff or performance sensitive code, C++ is better.

Of course, you can also use a mixture. For example, sometimes people will write something in Python, and then convert the performance sensitive parts to C/C++. Or sometimes people will write something in C++ and then adding scripting support in Python. (Though Lua's usually preferred)
Logged

Ellipsis

  • Ellipsis
  • The Guy
  • *****
  • Posts: 1907
    • View Profile
    • If Not Equal Limited
Re: Programmin'
« Reply #18 on: February 16, 2011, 03:07:21 pm »

Neo, try whitespace:
"hello world"
   
              
             
                  
             
                 
                
                 
              
                      
                 
              
                
           
                   
                      
                
                      
                  
                 
                 
                 
                    
               
                 
           
                    
                      
                   
                 
                      
           
                
                    
                   
               
                  
                
                     
                  
                  
                  
                     
                    
                    
             
                       
   
           

                                                                                        

                                                                                                                            




                                           
      
   

                                                                                      
 
          
 
                                                                                                                                                           
   
        
      
 
                                                                                    

                                                                                                                                                         
 

 


   

                                                             
 
 
    
             
           
        
                                                                                                                                   
 

      
      
 
                                                           

                                                                                                                                 
 

      
          
      
   

                                                                                                                          
          
             
   
     
 
   


The cool thing is that you can have any normal characters in there just fine with no effect, so you can write some code in something that ignores whitespace like C++ and it can also be a whitespace program, the same code can do two different things, just compile with the other compiler. It's not too hard to learn, I did a bit for a little while, however it's a pain to debug and I never got far. There's also a programming language where the code is just an image. There's a large number and I think they are kinda cool.
« Last Edit: February 16, 2011, 03:09:14 pm by Ellipsis »
Logged

Kwiftee

  • R ANGRY
  • Sr. Member
  • ****
  • Posts: 491
  • That guy who's always ranting about stuff.
    • View Profile
    • http://no
Re: Programmin'
« Reply #19 on: February 16, 2011, 04:10:21 pm »

Logged
zyxfrlpso
Quote from: Yuletideriz
My god, if I could shit gold and I give it to you, you would still bitch because it was technically crap.
how about you GO ON IRC RIGHT NOW PLEASE

Storyyeller

  • The Guy
  • *****
  • Posts: 1297
    • View Profile
Re: Programmin'
« Reply #20 on: February 16, 2011, 06:00:31 pm »

Real programmers just express their program as an index into the list of all possible turing machines.
Logged

Neo

  • God of Music. Also, Mort was sexually assaulted by Bidoof.
  • Hero Member
  • *****
  • Posts: 935
  • HUZZAH
    • View Profile
Re: Programmin'
« Reply #21 on: February 17, 2011, 03:23:44 am »

LOLCODE!

That.


That is simply one of the best things I've ever seen.
Logged
So you gonna fight me with that thing?
Damn turrets. Damn Vinewalls. Damn Lasers.Damn Ceiling. Damn GUY

4/5/11 Never Forget.
Derf <3's Neo for making him a mod <3

I think we should just add to the rules that I'll be in every mafia by default.

Neko Desu

  • The Guy
  • *****
  • Posts: 1898
    • View Profile
Re: Programmin'
« Reply #22 on: February 17, 2011, 05:36:12 pm »

How powerful is LOLCODE? Can it be used to design video games?
Logged

Venser

  • Gloved Modulator
  • Godmin
  • The Guy
  • *****
  • Posts: 3331
    • View Profile
Re: Programmin'
« Reply #23 on: February 17, 2011, 06:34:51 pm »

Apparently it's turing-complete, so theoretically...
Logged
Ybbald: I read that as "deadly venser"
Ybbald: and I was like
Ybbald: "when is venser NOT deadly?"

Arkhanno: We'll have to out-source to the US. I know of a great doctor with lifeguard training that can do anything with a 90% success rate

Evan20k: Sherlock Holmes didn't have 5 arms and 6 penises and lifeguard training

Neo

  • God of Music. Also, Mort was sexually assaulted by Bidoof.
  • Hero Member
  • *****
  • Posts: 935
  • HUZZAH
    • View Profile
Re: Programmin'
« Reply #24 on: February 17, 2011, 06:43:08 pm »

I call dibs on beta tester for whoever makes a game out of LOLCODE now.
Logged
So you gonna fight me with that thing?
Damn turrets. Damn Vinewalls. Damn Lasers.Damn Ceiling. Damn GUY

4/5/11 Never Forget.
Derf <3's Neo for making him a mod <3

I think we should just add to the rules that I'll be in every mafia by default.

GuyWithPasta

  • Hero Member
  • *****
  • Posts: 735
  • Incoming
    • View Profile
Re: Programmin'
« Reply #25 on: April 07, 2011, 02:53:53 pm »

BUNP

I'll work on a LOLCODE calculator in my spare time.

Also, done Java.  Followed a really good book, until it work with JFrame, where we made an epileptic game.  I'll post it if you want me to.

TIME FOR C#!
Logged
Quote from: Best Damn Person on this Forum
I may be insane, but fucking porn just gave my life a whole new perspective.
: homestuck • show
Pages: 1 [2]