programming-languages

The History Behind the Definition of a 'String'...

I've never thought about until just now, but I'm not sure why we call 'strings', strings. I'm a .Net programmer, but I know the concept of strings exist in virtually every language. Outside of programming, I don't think I've heard the word 'string' used to describe words or letters. A quick Google of, 'Define: string' yields a bunch o...

How often is the performance of a programming language a significant issue?

It seems that I often hear people criticize certain programming languages because they "have poor performance", or because some other language is "faster" in general (not necessarily for a specific application). However, my experience and education have taught me that anytime you have a performance problem, at least one of the following ...

Why do dynamic language newbies seem to default to Ruby instead of Python?

NOTE: This is NOT flame bait. I'm generally curious, so please, don't start any wars! Whenever I read a Ruby blog it goes something like: I used to be a devout PHP or Perl developer until one day I decided to start using Ruby. Now I love it. Considering that without Rails, Ruby would be just another obscure dynamic language,...

What programming language to be used for developing sofware for Mobile Phones?

Hello everyone, What language should I use to develop programs for Nokia/Samsung/LG/Sony Ericsson phones? (Both Symbian and Non Symbian) ? Ofcourse to install the software straight inside the phone. Thanks. ...

Difference between a bytecode parsed instruction and machine language?

"A bytecode program is normally executed by parsing the instructions one at a time. This kind of bytecode interpreter is very portable. Some systems, called dynamic translators, or "just-in-time" (JIT) compilers, translate bytecode into machine language as necessary at runtime: this makes the virtual machine unportable." A question ...

What is the most infeasible application/program you've ever been asked to write?

I hope, certain times people may ask you to write strange things. What is the most infeasible application/program you've ever been asked to write? ...

Language translators: Anything to Assembly

Im just curious if there is is any sort of program/application out there that will allow to enter code in one language and translate that to another language such as asm. This seems perfectly possible....so does anything like this exist? ...

List of different computer languages and how common they are

What are all the computer languages that exist, and how many people use them? Oh, and the VAX BASIC I used in the late 1980's was NOT the same as the BASIC on MS-DOS. Fortran IV and Fortran 77 were also significantly different. Hmmm... but if different versions are that much different, then perhaps it should be limited to current lang...

How powerful is good documentation for a programming language?

I've been looking at PHP again recently and after having some brushes with other languages, I have realized that PHP's documentation is very well written and easy to understand. People often cite this as one of PHP's strengths. Python is another language that has great documentation, but even without it I think it would still be popular,...

How long does it take to create your own programming language ?

Matz (ruby language creator) once said it take 5 years to create a successful programming language. The factor language starts to be successful and has been around for that ammount of years. Is this a coincidence ? This is more of an open question type (see the subjective tag), but this could be fun :-) NB: stackoverflow says this q...

I need a DSL for time calculations

Does anyone know of a DSL for time calculations, something that would be able to understand concepts like "2nd business day after the last business day of the month"? I don't mind writing the parser, but I need help with the language itself. ...

What is the best language for a WebCrawler

I would like to know what is the best language for a lightweight and fast web crawler. Is it better to do it in C99, C++ or any other language? ...

Which is preferred: (var==null) or (null==var)

Possible Duplicate: Conditional styles: if (0 == resultIndex) vs if (resultIndex ==0) I've seen both in code, and I do not know why one is better over the other, but which do you prefer to use, and why? ...

Print Coloured Text to Console in C++

I would like to write a Console class that can output coloured text to the console. So I can do something like (basically a wrapper for printf): Console::Print( "This is a non-coloured message\n" ); Console::Warning( "This is a YELLOW warning message\n" ); Console::Error( "This is a RED error message\n" ); How would I print different...

Is SQL or even TSQL Turing Complete?

This came up at the office today. I have no plans of doing such a thing, but theoretically could you write a compiler in SQL? At first glance it appears to me to be turing complete, though extremely cumbersome for many classes of problems. If it is not turing complete, what would it require to become so? Note: I have no desire to d...

When learning new languages related readings, Distractions or Aids?

When learning new languages such as C++ from PHP, does reading other language snippets help you understand better by giving one a different prospective, or does doing so confuse a noob like me? Also, any advice on learning C++ would be great. ...

Which development platform should I use for desktop Windows application?

After doing web development for quite a while, I am faced with a new client who wants a simple database application to run outside the interweb. He is quite adamant about using Microsoft products. "We don't want no steenking open sources" was his stance. It's been quite a while since I actually did desktop development, and most of my ...

Visual Basic.NET resources for C# developer

I am C# developer and now I am involved in some large, already in production, project that is written in Visual Basic.NET. I am trying hard not to write in C# and use some automatic conversion tool to Visual Basic.NET. I want to be able to read and write fluently in Visual Basic.NET QUICKLY. I can write and read VB.NET but it is not so ...

Is there any programming language that accept this?

Suppose I have a class like this, in pseudo-code: public class someClass { public void doSomething() { someClass aux = new someClass(); // here something is done to alter the internal structures of aux . . this = aux; } } The attribution "this = aux", would return an error since it's no...

Is anyone using the pop11 language commercially?

I used to use pop11 some time ago in the artificial intelligence arena and I'd like to know if anyone out there is using the pop11 programming language commercially now and if so what for? ...