programming-languages

What does it take to make a language successful?

I have an interesting idea for a new programming language. It's based on a new programming paradigm that I've been working out in my head for some time. I finally got around to start working on a basic parser and interpreter for it a few weeks ago. I want my new language to be successful and I want to eventually create a community arou...

What should I know in order to build my social dating network site?

I have been planning my new social dating network for a year, and I must say that look and preferences will be the bright side of my social network. So, my problem is that I know only HTML and CSS, but that isn't enough to make the site that I always planned. Can you tell me which option would be better: Pay the programmers to do thei...

Which language would you port COBOL programs to and why?

When selecting a language to port COBOL programs from what language would you chose and why? I am not looking for the answer "because I am familiar with language X". I am looking for features in a language that map well to COBOL's design. Update: The programs would run the gammit to utilities, data processing, screens, etc. ...

How to create a thread in a class?

Is there a template that can be used to create threads when we program in OO language ? How to go about designing a threading package for an OO language? ...

How to design a threading package for an OO language?

It seems difficult to design a threading package in OO class than in functional programming. ...

What Ruby programming book should I read first?

I'm am an experienced developer in other languages like C#, VB.net and C++, but a real newbie in Ruby. What Ruby book do you think should I read first? ...

How transferrable are programming skills between languages?

If you were advertising a programming position for a (say) PHP developer, and someone with a great resume applied, but they were a specialist in (say) ASP.NET, and the PHP component of their CV was very light, would you still consider them for the position? Do you think that programming skills in general trump specific language skills? ...

Why are many VMs written in C when they look like they have C++ features?

I noticed some not so old VM languages like Lua, NekoVM, and Potion written in C. It looked like they were reimplementing many C++ features. Is there a benefit to writing them in C rather than C++? ...

Will VB.NET be phased out?

The question "Are VB.NET Developers Less Curious? Standardizing on VB.NET" made me wonder if VB.net will ever (soon or in 5 years, 10 years, etc) be phased out? Is there any talk or consideration of doing this? I don't know anyone that uses VB.net to do their development. Everything is done in C#... Professionally, I only used VB.net...

Eric Lippert's challenge "comma-quibbling", best answer?

I wanted to bring this challenege to the attention of the stackoverflow community. The original problem and answers are here. BTW, if you did not follow it before, you should try to read Eric's blog, it is pure wisdom. Summary: Write a function that takes a non-null IEnumerable and returns a string with the following characteristics: ...

What kind of jobs are out there for someone who is interested in language design?

Im currently implementing an interpreter for Scheme, and plan on reading Elements of Programming Languages and design a toy language for learning purpose. What kind of jobs are out there that require language design skills? ...

Is it valid to make Ruby Gems an analogy to Java JARs?

I believe I have put the question quite clearly and in a concise manner. Why do I ask? I am to explain Ruby on Rails framework to students and this requires me to make some analogies to the Java world (as the course is quite Java-centric). I have no hands-on experience with Ruby on Rails but I sense the Gem/Jar analogy is a valid one. ...

Who is using Fortress programming language?

Fortress is developed by Sun. Fortress is a new programming language designed for high-performance computing (HPC) with high programmability. Fortress features include: Implicit parallelism Transactions Flexible, space-aware, mathematical syntax Static type-checking (but with type inference) Definition of larg...

What is the Java ?: operator called and what does it do?

I have been working with Java a couple of years, but up until recently I haven't run across this construct: int count = isHere ? getHereCount(index) : getAwayCount(index); This is probably a very simple question, but can someone explain it? How do I read it? I am pretty sure I know how it works. if isHere is true, getHereCount() i...

What is the difference between mutex and critical section?

Please explain from Linux, Windows perspectives? I am programming in C#, would these two terms make a difference. Please post as much as you can, with examples and such.... Thanks ...

Learn C# to transition to C/C++?

Alright, so I just took an introductory class into Computer Science and the school's language choice was Java (I have basic knowledge of concepts like polymorphism, encapsulation, etc..). I want to learn C++ then C (I hear that one should learn C++ first then go to C), and was wondering if C# is a nice transitional language because of th...

As a C++/C# developer, is there a good reason to learn another kind of language?

Hi, I am programming with C++ and C# for over 3 years. Currently I'm having a good control over these language (and the .net platform) and I am getting pretty professional with them. The problem is that I sometimes feel like I have to know more languages, each time I am getting into stackoverflow and I see questions regarding all those k...

How should I manage side effects in a new language design?

So I'm currently working on a new programming language. Inspired by ideas from concurrent programming and Haskell, one of the primary goals of the language is management of side effects. More or less, each module will be required to specify which side effects it allows. So, if I were making a game, the graphics module would have no abili...

What is a strictly typed language?

Duplicate: What are the key aspects of a strongly typed language? What is a strictly typed language? See Also: What is a loosely typed language? ...

Recommended implementation for a desktop web monitoring client?

Background I have a business idea, one component of which involves a client that would be downloaded & installed by thousands of users via a web page. Application Requirements Version 1: The application must: monitor internet usage on the user's desktop with the following areas monitored: browser used, hours used sites access...