programming-languages

Ruby Programming control and meta combinations

Ruby Programming control and meta combinations used for? ?a # character code ?\n # code for a newline (0x0a) ?\C-a # control a = ?A & 0x9f = 0x01 ?\M-a # meta sets bit 7 ?\M-\C-a # meta and control a ?\C-? # delete ...

Is Java due for a reboot?

Java is now nearly 14 years old, and the age is starting to show. In my industry (banking), we joke that Java is the COBOL of the 21st century; except it's not much of a joke, it's the sad reality. Java has a lot of "baggage" that is kept for backwards-compatibility -- exactly the kind of stuff that is critical for clients like banks. B...

Writing my own C++ compiler

I want to write my own c++ compiler in c++. Let´s say I´m going to build it in VS. The main idea is that it must have been able to compile itself, which means I cannot use STL, boost, etc. libraries, can I? So, does it mean that I must do everything from scratch - from lexical analyser to binary code generation? ...

Learning two languages in a year i.e. c# and javascript good idea?

I know c# but I am not deep in it. JavaScript is hot and used @ work as well so knowing that won't hurt. What are your takes on picking a new language when you haven't really gone DEEP with your first. Oh don't forget there is asp.net and its amazing life cycle to grasp. Cheers Guys. ...

How is the Deployment in different Programming Languages?

If you are interested in programming languages, you sure have encountered the problem that you start to learn a language and worry about deployment later. Sometimes until it's too late. Web deployment only with a special module for Apache and you have Lighttpd on your server? Need to buy an expensive version of your development environm...

Is there a stable Programming Language for Web Programming?

A renowned PHP user once said: There will be a relaunch in 2 years, anyway. Those times are gone. Web applications that are older than 5 years are common. With the original developer(s) gone. The release cycles of the operation system, programming language, and framework are getting in the way of doing real work, if you don't have a bi...

What language features of Ruby would you highlight compared to C#?

I am giving a series of talks to a .NET (C#) development team on the Ruby language and environment. I am approaching it as an opportunity to highlight the benefits of Ruby over C#. At first, I want to concentrate on the language itself before moving into the environment (RoR vs ASP MVC, etc). What features of the Ruby language would y...

What Languages are Windows, Mac OS X and Linux written in?

I was just wondering who knows what programming languages Windows, Mac OS X and Linux are made up from and what languages are used for each part of the OS (ie: Kernel, plug-in architecture, GUI components, etc). I assume that there are multiple languages for each and obviously I know the Linux kernel is written in C. I'm totally guessi...

What is the most popular web programming language?

I have seen various statistics on language popularity based on search engine results, number of books published, open source projects developed, etc. but none of them is specific for web development (on the server side). Almost all of them shows Java, C and C++ as the most popular. I wonder how PHP, which was created explicitly for web d...

What functional language techniques can be used in imperative languages?

Which techniques or paradigms normally associated with functional languages can productively be used in imperative languages as well? e.g.: Recursion can be problematic in languages without tail-call optimization, limiting its use to a narrow set of cases, so that's of limited usefulness Map and filter have found their way into non-fu...

Why don't we have two nulls?

I've often wondered why languages with a null representing "no value" don't differentiate between the passive "I don't know what the value is" and the more assertive "There is no value.". There have been several cases where I'd have liked to differentiate between the two (especially when working with user-input and databases). I imagin...

How useful is Python?

I don't know Python. I always think maybe I should take the time to sit down and learn it though. I know C++, C#/VB.NET, Java, and PHP. I am a student, so there's no job requirement that says I must always use x language. I've already seen Python around here at my school... But then again, there is also a LOT of Java. What's my incentiv...

Do I have to be a Niche Programmer?

Duplicate of: Is it better to go broad or go deep Question Brief: In order to be rich and prosperous, is it a better idea to be niche or sparse? Should I continue to vary my skills, or predict the market and become a master of X next popular technology? (I do recognize that a technology doesn't need to be "popular" to be profitable). ...

Starting an E-Business, need direction on choice of languages

I am considering starting an e-business, but I am undecided as to which language to choose to write the core of the website in. I would prefer to avoid the Microsoft route of ASP.NET and C# due the costs, and I also just prefer to develop on Linux :-) Basically, I was weighing up between using PHP or Ruby on Rails. Myself and my develo...

Which language would you recommend for me to build a webportal?

I'm very new at webprogramming, but got quite a lot of experience building applications with C++ and C# (winforms and WPF) on various OS'es (Windows, linux, vxworks). Currently Im also taking courses in Java and various client-side web-languages (html, css, xhtml, javascript etc.). Now, some friends of mine decided to build a commercial...

Does a new or emerging programming language really need practical libraries?

Using a factor or forth, Arc or whatever as an example (note: factor is a bad example because it has a large set of practical libraries). Lets say you are considering using a programming language. Does having a large set of practical libraries matter? If your language is well designed, then it would be easy to create a 'string' librar...

Do you need 2 languages with ASP.NET, but only one for PHP/Ruby?

I'm interested in wed development and web 2.0 but I'm a real beginner, so I'm reading a lot about the technologies involved. I'm beginning to move towards ASP.NET because of the great free resources for learning. However, as I begin to work in "Visual Web Developer Express" I notice that I need to understand ASP and C# or VB. Two techno...

Under what circumstances are dynamic languages appropriate?

I have used static languages such as C#, Java, C and some done some work in Javascript which is a dynamic language. Contrary to the popular belief, I find myself writing code faster in C# than in Javascript (and that could be because I have more experience in C# compared to javascript) So, what I want to understand is that what are the...

OpenGL game with multiple entities on screen at once, what language to use?

Going to create a small game with OpenGL as a side project. Going to be a top down shooter with emphasis on large numbers of enemies (the more the merrier) Thinking about having the resolution max out at 800x600 (for an old school feel) What language would you recommend, is C# capable of handling the number of entities I want on screen...

Languages faster than C++

It is said that Blitz++ provides near-Fortran performance. Does Fortran actually tend to be faster than regular C++ for equivalent tasks? What about other HL languages of exceptional runtime performance? I've heard of a few languages suprassing C++ for certain tasks... Objective Caml, Java, D... I guess GC can make much code faster, b...