Thread: deliverance from complicated programing languages?

  1. #76
    Registered User
    Join Date
    Dec 2004
    Posts
    465
    Quote Originally Posted by Elysia View Post
    Anyway, in the future when processors approach 128 x 1 THz, this may become irrelevant, but for today, I think it holds true.
    Maybe but people also wondered how in the world we would ever find the data to fill a cd-rom. Optimization is especially relevant today. Take Will Wright's spore (omg) for example. I heard him say that they had compressed the model files to something like 20 kb(not exactly sure on the number). We are use to having lots of overhead. If everyone made efforts like Will to keep everything compact and efficient then companies wouldn't have to wait a few years to release their ultra shiny graphics. I guess every team isn't as brilliant as Will's though. I believe he hand picked them.
    My computer is awesome.

  2. #77
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Thus the word "may"
    We never know what the future holds...
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #78
    Disrupting the universe Mad_guy's Avatar
    Join Date
    Jun 2005
    Posts
    258
    Part of the problem is that high level languages have overhead due to their nature. Good compilers and good runtimes can mitigate this to a high degree, but, with a language as dynamic as Ruby or Io, things can get really, really hard to get down to the machine level if you want to keep that amount of expressiveness. Unless you compile down to a common denominator, like ISO C or something. Feasibly you could say that you could have a very dynamic language that compiles to C and is more efficient than C - the compiler has more knowledge and can generate code that would be impossible to create by hand. This would require a Sufficiently Smart Compiler however, so the overall goal is a bit of a ways off.
    Of course, you could cite Lisp Machines or something or another, but we're just talking commodity hardware, here.

    Another problem is no matter how awesome our compilers are, sometimes they just are not good enough for things like embedded devices. C is a big player in this market because it's brutally low level (relatively, I don't want to step on toes here) and a relatively simple language. I can't imagine getting Ruby or Haskell (compiled) to run on a microprocessor with 16kb of RAM, unless certain things were severely trimmed which would just dilute the greatness of your language of choice. C doesn't really have this problem, either.

    And of course, another part of it has to due with what we do in the development process: premature optimization is bad, but we may not always maturely optimize; likewise, we may not choose the proper data structure to represent the logic of this program, so we may be performing suboptimally, due to perhaps the structure being too complicated and convoluted for such a pure need, but this might be because we don't know the structure has existed already.

    The overall problem is pretty classic, though: we don't choose the right option. Yes, we don't get the niceties, but then again, we normally don't get all the niceties in life, either. The fact is the niceties were nice but they didn't help us as much as another, perhaps little-less nice solution (perhaps less concise or expressive, but it may have a well-hardened library that cuts our development time 50% or more.) This is why professionals don't just stumble into a project, they must weigh pros and cons to get a good choice in the same way you probably make basic economic decisions (which is all language choice is, really.)
    operating systems: mac os 10.6, debian 5.0, windows 7
    editor: back to emacs because it's more awesomer!!
    version control: git

    website: http://0xff.ath.cx/~as/

  4. #79
    Registered User
    Join Date
    Jul 2007
    Posts
    88
    Ok, again a good point. Maybe our desktop and server computers are at one day so fast that it does not matter if we use ruby or C. But there will be always new embedded devices with very limited resources, one of the most extreme example are Smart Cards (yes, it`s a small micro computer). So there will be always need for fast and low level languages, for kernel/driver development and also for end user applications.

  5. #80
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Also an interesting point in this topic was that our hardware becomes better and better and at some day we are no longer forced to use fast programming languages.
    Slow software can make even the fastest hardware crawl. So if the software becomes better and better or at least stays in its current state and the hardware gets better then yes this is true. But if the software gets worse and the hardware gets better you still have a fundamental problem. I don't believe that hardware can solve all of our woes or ever give us a good excuse to be ignorant programmers. You can still write code today that will bring the CPU to its knees even with the amazing speeds we have. You can still write graphics code that will send the most recent top notch video card right to the mat and maybe even out of the ring. The language of choice has something to do with overall performance but what affects it more is the use of that language. So if you get easier languages it may also be that those languages are equally as easy to misuse. I guess you could argue that the easier the language the harder it is to abuse and misuse. However I'm of the mindset that even if you get smarter languages, easier languages, etc, you will just get a new brand of idiot who will figure out how to use them incorrectly.


    Never saw a good GUI that wasn't hard to create, no matter the language. I despise GUI programming.
    Even after coding GUIs in C# I must agree with this statement wholeheartedly. GUI programming just stinks.
    Last edited by VirtualAce; 02-28-2008 at 12:52 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why C Matters
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 136
    Last Post: 01-16-2008, 09:09 AM
  2. Strange loop
    By D@rk_force in forum C++ Programming
    Replies: 22
    Last Post: 12-18-2004, 02:40 PM
  3. Languages dying
    By Zewu in forum A Brief History of Cprogramming.com
    Replies: 31
    Last Post: 07-29-2003, 10:08 AM
  4. Programming Languages
    By DarkViper in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 12-12-2002, 02:28 PM
  5. How can an api be accessed through other languages
    By Shadow12345 in forum Windows Programming
    Replies: 6
    Last Post: 10-21-2002, 07:01 PM