programming-languages

Is there a language with RAII + Ref counting that does not have unsafe pointer arithmetric?

RAII = Resource Acuquisation is Initialitazation Ref Counting = "poor man's GC" Together, they are quite powerful (like a ref-counted 3D object holding a VBO, which it throws frees when it's destructor is called). Now, question is -- does RAII exist in any langauge besides C++? In particular, a language that does not allow pointer arit...

Why do I spend 20% of my time fixing bugs? Is this normal?

I have just started to write code in C, C++, Java, ASP.NET, C#, Objective-C, I-Phone, etc. But I don't understand why i have to spend 20% of my time for fixing bugs. I just learned those programming languages as they are. Do most programmers face this type of problem? ...

Why do programming language allow assignment from integer to shortint?

program TypeCategory; {$R+} var sInt : shortint; iInt : integer; begin readln(iInt); sInt := iInt; writeln(sInt); end. Considering the above example,pascal language do allow assignment from integer to shortint,or even longint to shortint without explict type casting.That is,pascal do allow assignment inside type cat...

Building a VHDL Clone

I am planning to design a hardware simulation language like VHDL for my final year project. How should I go about it ? Any help would be greatly appreciated. ...

Investing in Grails?

Today someone told me I should give Grails a try. So we can still use our old java code for some things, but develop much faster. This isn't really a debate on what programming language is better, although if you have tips I'm all ears, but really my question is: Is Grails just an overhyped fashionable thing to use, or is it here to st...

Why do we need high-level languages?

I was teaching my wife C a few days ago and went on to teach her the basics of C++. Now my question is all programming languages have been devised so as to make our mode of communication with the computer easy right ? Else it would have been a chore communicating with them in machine language instructions, right ? So programming langu...

Can all iterative algorithms be expressed recursively?

If not, is there a good counter example that shows an iterative algorithm for which there exists no recursive counterpart? If it is the case that all iterative algorithms can be expressed recursively, are there cases in which this is more difficult to do? Also, what role does the programming language play in all this? I can imagine tha...

Closest language to Python's syntax that is more low level language!

Hi! I guess topic says it all! But, I really wan't a syntax similar to Python's! And low-level... like C++ for example. I guess Java and C# is OK too, but I really have a huge problem with the { }, and always ; <-- and each line. I hate it so much... ...

Is Lua interesting, from a programming language design perspective?

Lua occupies a good place in the space of languages that can be embedded. Is this a result of interesting new ideas the implementors had, or is it a result of good execution of well-established ideas? Comparison of properties and features of Lua to other PLs are particularly appropriate. ...

Anybody know how to get ahold of SAM76 source code for Linux?

resistors.org site and foxthompson.net download links are stale/broken. http://www.resistors.org/index.php/The_SAM76_programming_language Every other link I've been able to track down on the 'net (mostly in old newsgroup posts) are broken. E-mails to the respective webmasters all bounced. I have a morbid curiosity for arcane programm...

Is Delphi a good language to learn?

About 10 years ago I bought Borland Delphi, as a child I thought it was the coolest thing ever but I never really got into it. Sometime I see post on SO with a Delphi tag so people must actually still use it. I am curious how does it compare to something like C#? Can it basicly accomplish the same results? ...

Whats the name of this operator "+=" ?

Whats the name of this operator "+=" ? ...

using generic methods?

what is the benefits and disadvantages of using generic methods( in compile time and run time, in performance and memory)? ...

What are the problems that would require creating a new programming language?

This might be a silly question, but still I am going ahead and asking it. Nowadays I see new dynamic languages like Groovy being developed for the JVM, and languages like Ruby gaining prominence. Each of these seems to be solving different shortcomings in the existing languages. Is there any one or set of problems that are not addresse...

Are Mark Up languages considered programming languages?

Hi Are all those markup languages programming languages? For example XML or HTML are programming languages? ...

The Objective-C++ language: where can I find more information about it?

I've been learning C++ for some months now and find it an excellent language albeit its perks. I was wondering what exactly is the so-called Objective-C++ and if it's worth learning it as a main development language to target Apple environments (ie. Mac OS X, iPhone OS). Searching around the web I only found a couple of good articles: m...

Flex -- C++ connection ?

Hi. How do I connect a Flex Application( Internet Site ) and C++ togehter ? a minimalistic example from what i mean (User Story): Frank goes to www.myflexsite.de there are 2 textboxes and 1 Button( Label = add two numbers) . He inserts 2 in the first textbox and 5 in the ohter. Now he clicks on the add button. The Backend : We have a ...

I'm interested in Programming Languages. What areas of programming are good for me?

I've always been interested in writing and designing programming languages. Of course, it's pretty difficult to find an employer that will let you write a programming language as part of your job. So I'm looking for the "next best thing". What fields of programming will let me get some experience solving some related problems? Or wha...

Writing a web-scripting language from the ground up?

I'm looking for references stating how to write a web scripting language and interface it with a web-server. I'm not looking for "how to write the language" or "how to write an interpreter" references rather - I don't know how the basics of a web-script interpreter work? Is it a simply a CGI based interpreter that is passed the HTTP pa...

Which language should i use for next project?

Hi, my parents asked me what if I could do a simple program for accounting. The thing is, I can not decide which programming language to choose. I know Java quite well but don't like messing with GUI, so I'm leaning towards C#/C++/Delphi because there you can make the gui in no time. The only problem I have I don't know how I would prin...