programming-languages

Are there any languages that talk straight to the hardware and that aren't assembly?

Just wondering how the world of assembly works, and I was reading about the assembly language on wiki and this quote struck me: It implements a symbolic representation of the numeric machine codes and other constants needed to program a particular CPU architecture. I always thought assembly was a fixed language based on your CPU (w...

What payment processing frameworks, like ActiveMerchant, are available for other languages?

Rails has frameworks such as ActiveMerchant and Freemium (which uses ActiveMerchant) to simplify dealing with payment processing. What other frameworks are there for other programming languages such as PHP or Python? ...

What is a type inferencer?

Does it only exist in statically typed languages? And is it only there when the language is not strongly typed (i.e. does Java have one)? Also, where does it belong - in the compilation phase assuming it's a compiled language? In general, are the rules when the type is ambiguous dictated by the language specification or left up to the i...

What do you think about Clarion?

Hello, Recently the CEO of the company has attended some conference, and since his returns he's only talking about Clarion programming. We've been developing a Ruby on Rails project for 2 years now, but he wants us to rewrite it. Is it really worth the effort? Please help me make my mind. ...

How do languages like C# and Java avoid C/C++-like independent compilation?

For my programming languages class, I'm writing a research paper on some papers by some important people in the history of language design. One by CAR Hoare struck me as odd because it speaks against independent compilation techniques used in C and later C++ before C even became popular. Since this is primarily an optimization to speed...

Ruby or C# as First Web Development Language

I apologize for the Flame War question but frankly I don't care about that. I know these are both good languages but I would genuinely like to hear everyone's opinion on what the better is for a beginning web developer who wants to learn to build great sites and web applications. Thanks for your help. ...

What's the best tool for generating a parser in Java for my own language grammar?

I'm developing a small programming language based mostly of the C99 standard and I've already written a fairly decent lexer in java and now I'm looking to generate a Java Parser from the grammar. I know there's Bison, but that seems to only generate C code. I'm looking for a application that will allow me to input my grammar and create a...

What is a tree parser in ANTLR and am I forced to write one?

I'm writing a lexer/parser for a small subset of C in ANTLR that will be run in a Java environment. I'm new to the world of language grammars and in many of the ANTLR tutorials, they create an AST - Abstract Syntax Tree, am I forced to create one and why? ...

What languages are used for real time systems programming?

I didn't find any useful information about programming languages for real time systems. All I found was Real Time Systems and Programming Languages: Ada 95, Real-Time Java and Real-Time C/POSIX (some pdf here), which seems to talk about extensions of Java and C for real times systems (I don't have the book to read). Also, the book was pu...

What is the best IDE and language for web development to build cutting edge websites?

I recently got interested in web development coming from kernel based applications. I am curious to what the best development environment and language that one can use to build a nice looking website. I have a distant familiarity with PHP, CSS and the like but I am comfortable with HTML. ...

New project language repartition

A few months ago I saw a pie chart of a study showing the trend in new projects as for the language of choice. The study revealed that the leading language of choice was Java, then C++ then C, and so on. I'd like to find that study if anyone knows where to find it ...

How does extending a programming language work?

Hello there! I have no programming experience but am interested in learning a language. So reading this section "http://wiki.freaks-unidos.net/weblogs/azul/principles-of-software#extend-your-language-to-match-your-domain" made me curious about programming a single application in 2 or more languages. How is it actually done? ...

What would be a good programming language (or a set of libraries for C++) to interface with electronic components (stepper motors etc.)?

I'm not an electronics guy, so I might not be able to explain precisely what I need. This is a question a friend keeps asking me. What my friend is looking for is a programming language that would allow him to: Interface with hardware (via serial and USB ports). Write multithreaded code. Throw together UIs very quickly. Port his code ...

When do you put a programming language on your resume?

I have a handful of side projects that use various programming languages. My job doesn't really warrant the use of those languages in a professional capacity, but I can still get useful stuff done in a variety of languages. I only really feel comfortable putting the language I'm strongest with on my resume, but I don't think that's eno...

Does a Programmer's Salary Vary Depending On Language?

Hi, I am not nor have I ever worked in industry as I am a university student atm. I have heard in certain places that Java and PHP programmers get paid less than say C# or other programmers. The correlation in my mind seems to be that the verbose languages pay less, this may not be the case but when you compare C# to Java, the former is...

anyone tried new php beta release with anonymous functions?

Hi, has anybody tried out the new 5.3.0 RC1 php release and played a bit with anonymous functions? I would like to know if you can use it like python for functional programming. E.g., can you do something like: def sinus(x): if x<=0.1: return x else: return (lambda x: 3*x-4*x*x*x)(sinus(x/3)) print sinus(172.0) Or bet...

Whats the best way to learn about VM implementation besides actually hacking code?

I'd like to learn more about VM implementation and optimization. Right now I'm contributing (in a small way) with JRuby and am also playing/writing with my own lisp-like language implementation that runs in a VM. However I'd like to get more information on working with VM's and designing them. Is there a good resource for this type of i...

Enterprise Scala

Are you using Scala to develop your enterprise grade applications? EDIT: agree, the word enterprise is not well defined. By asking this question I meant to ask whether you use Scala for real projects which are meant to be used not just for playing. Using Scala for a personal project which is meant to be used by more than just it's crea...

Conditions for a meta-circular evaluator

Are there any conditions that a language must satisfy so that a meta-circular evaluator can be written for that language? Can I write one for BASIC, or for Python? ...

Trivial mathematical problems as language benchmarks

Why do people insist on using trivial mathematical problems like finding numbers in the Fibonacci sequence for language benchmarks? Don't these usually get optimized to relativistic speeds? Isn't the brunt of the bottlenecks usually in I/O, system API calls, operations on strings and structures, processing large quantities of data, abstr...