Like Tree3Likes
  • 3 Post By SMurf

Here's To The Alternatives

This is a discussion on Here's To The Alternatives within the General Discussions forums, part of the Community Boards category; Hello, Now I've been a C zealot for over 10 years, turning my nose up at pretty much every new ...

  1. #1
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,262

    Wink Here's To The Alternatives

    Hello,
    Now I've been a C zealot for over 10 years, turning my nose up at pretty much every new language that comes into fashion and engaging in all sorts of zany schemes to feed my fetish (writing a DirectShow filter in pure C was I think my poorest decision yet ).

    But one particularly boring evening a few weeks ago, I downloaded a Python interpreter and played around.

    And it was soooo good.

    It is nice to come up with a project and have pretty much every library you could need already in front of you. I wanted a way to download messages from a POP3 server and relay them to my own e-mail server. The examples semed to have a dependency on fcntl (which is a Linux library), but after less than an hour of tinkering from scratch, it was done.

    I also decided to try out some HTML 5 features in JavaScript. Never really had time for this stuff, my only experience being when I come across some quite horrible scripts on some commercial sites that cause the "A script on this page is running slowly" message to appear. But with a Canvas object, some Audio objects and a bit of imagination I found myself cobbling together things that I used to rely on SDL to provide. Granted, this only works because we have multi-gigahertz CPUs and generous amounts of RAM, but the simplicity with which you can make cross-platform apps these days is genuinely encouraging.

    But this doesn't apply to Java. No. Java should die in a fire.
    Elkvis, laserlight and Epy like this.

  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    2,349
    Quote Originally Posted by SMurf View Post
    But this doesn't apply to Java. No. Java should die in a fire.
    I agree.

    I started playing with python over the last couple of years, and find it to be very useful.
    Code:
    namespace life
    {
        const bool change = true;
    }

  3. #3
    Epy
    Epy is offline
    Fortran lover Epy's Avatar
    Join Date
    Sep 2009
    Location
    California, USA
    Posts
    958
    I'll third that Java should die in a fire.

    I used to be the same way; I learned C, saw that it had the ability to be faster than any other language, and thought, "Why write in any other language?" I ended up trying out Python for whatever reason and I've been spoiled by it ever since. The massive standard library with its many built-in data structures and the welcoming pseudocode syntax won me over. The nice thing is that since C++'s standard library is expanding quickly, you can at least jump to C++ with ease if you need a more "real" language with data structures OOTB.

    Python is just great for taking an initial idea and making a quick program to test the idea. You can even create the whole thing in Python if you want and either leave it there or port to C++. Python is pretty fast, too.

  4. #4
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,239
    I always do researchy stuff with Python. It's definitely competitive to (though not compatible with) Matlab for many purposes.

    Have you checked out Anaconda?
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Alternatives to C Program
    By cgod1234 in forum C Programming
    Replies: 0
    Last Post: 01-22-2013, 07:19 AM
  2. std::map Alternatives
    By EvilGuru in forum C++ Programming
    Replies: 8
    Last Post: 04-12-2008, 03:45 AM
  3. any alternatives??
    By anasimtiaz in forum C Programming
    Replies: 5
    Last Post: 10-19-2004, 09:13 AM
  4. alternatives to pow()
    By mcdms in forum C++ Programming
    Replies: 4
    Last Post: 10-10-2004, 09:42 PM
  5. MFC alternatives?
    By Hubas in forum Windows Programming
    Replies: 6
    Last Post: 08-01-2002, 08:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21