×

Python-to-C++ Compiler 181

Mark Dufour writes "Shed Skin is an experimental Python-to-C++ compiler. It accepts pure, but implicitly statically typed, Python programs, and generates optimized C++ code. This means that, in combination with a C++ compiler, it allows for translation of pure Python programs into highly efficient machine language. For a set of 16 non-trivial test programs, measurements show a typical speedup of 2-40 over Psyco, about 12 on average, and 2-220 over CPython, about 45 on average. Shed Skin also outputs annotated source code."

The End of Native Code? 1173

psycln asks: "An average PC nowadays holds enough power to run complex software programmed in an interpreted language which is handled by runtime virtual machines, or just-in-time compiled. Particular to Windows programmers, the announcement of MS-Windows Vista's system requirements means that future Windows boxes will laugh at the memory/processor requirements of current interpreted/JIT compiled languages (e.g. .NET, Java , Python, and others). Regardless of the negligible performance hit compared to native code, major software houses, as well as a lot of open-source developers, prefer native code for major projects even though interpreted languages are easier to port cross-platform, often have a shorter development time, and are just as powerful as languages that generate native code. What does the Slashdot community think of the current state of interpreted/JIT compiled languages? Is it time to jump in the boat of interpreted/JIT compiled languages? Do programmers feel that they are losing - an arguably needed low-level - control when they do interpreted languages? What would we be losing besides more gray hair?"

Tricks of the Podcasting Masters 95

aceydacey writes "Tricks of the Podcasting Masters is a good read if you want to find out the who, what, when, why and where of the podcasting phenomenon. It is not a technical re-hash of the hardware and software tools of podcasting, but rather a discussion of the creative side of podcasting, its history, personalities, techniques, tricks and motivations. It is a good read for anyone interested in creating and promoting a podcast, and also for anyone who is interested in the inside scoop on what makes podcasters do what they do." Read on for the rest of Ron's review.

Henry's Python Programming Guide 143

An anonymous reader writes "Seems like someone else has put up another Python programming guide, although this one seems to be a little easier to get through. From the article: 'My name is Henry the Adequate, and I am a Python programming Guru. I know all of their movies, and their TV shows, and can quote the dead parrot sketch in my sleep. In fact I do quote it in my sleep. That may explain why I am single, although it could also have something to do with the flamethrower. Naturally many old-timers want to know what this new-fangled Python thing is all about. "Henry," they say, "What is this new-fangled Python thing all about?" See what i mean? So, here, at last, is the article you have all been waiting for...'"

Should Students Be Taught With or Without an IDE? 848

bblazer asks: "Beginning this next school year, there is a strong possibility I will be teaching an intro to Java and an intro to Python course at the local community college. I was wondering what the prevailing wisdom is when it comes to teaching languages - should students be taught with or without an IDE? I am a bit old school and wouldn't mind having them all use vi or emacs, but using a good IDE does have some advantages as well. I should note that the students I will be teaching will have had at least 1 semester of programming in VB or C++." Even though there is limited time in a semester, could a curriculum be constructed to accommodate both methods?

Web Development - The Line Between Code and Content? 156

markmcb asks: "I help design a LAMP web site and I'm constantly plagued by trying to decide on what level should I separate functional code and markup. Depending on what you read, some say embedding HTML in your PHP scripts [or Perl, or Java, or Ruby, or Python, etc] is bad while others say it's no big deal. However, seldom are any practical applications of such code cited. How is your site built? Do you mix HTML with your code? If not, how do you overcome the simple and easy method of doing so? Lastly, what performance gains/losses have you noticed by doing so?"

Will Sun Open Source Java? 700

capt turnpike writes "According to eWEEK.com, there's an internal debate going on at Sun whether to open-source Java. (Insert typical response: "It's about time!") Company spokespersons have no official comment, as might be expected, but perhaps we could hear confirmation or denial as early as May 16, at the JavaOne conference. One commentator said, "Sun should endorse PHP and go one step forward and make sure the 'P' languages run great on the JVM [Java virtual machine] by open-sourcing Java." Would this move Java up the desirability scale in your eyes? Could this be a way to help improve what's lacking in Java?"

Your Thoughts on the Groovy Scripting Language? 128

lelitsch asks: "Does anyone have first hand experience with Groovy? I am just coming off implementing a Plone-based intranet CMS and got hooked on scripting languages and Python all over again. Since most of my projects in the near future are going to be in Java or have large Java components, I was wondering if it's time to trade Jython--which seems to be falling further behind the Python release cycle--for something else. Groovy sounds like a fun thing to look at, but it seems a bit new and thin. Also, what are other languages (JRuby and Rhino, for example) you have used to script in Java?"

Algorithmic Political-Media-Mashup Vodcast 53

flexatone writes "Composer Christopher Ariza, author of the first algorithmic, computer-generated podcast, announces the next phase of his experimental political-media-mashup project: the babelcast-zoetrope. The babelcast-zoetrope employs the subscription model of the vodcast (RSS feed, iTMS subscription) to deliver timely multi-media artifacts of the contemporary media landscape. Generated with free, open-source software tools (such as athenaCL, Python, Csound, and ffmpeg), babelcast-zoetrope is an experimental, algorithmic, computer-generated video podcast. Sounds and images of U.S. and World leaders and commentators are algorithmically fragmented, distorted, and recombined into a media tapestry. New episodes are defined by a time period: audio and video sequences are constructed only with materials collected during this period, lasting from days to weeks."

LAMP Lights the OSS Security Way 178

Kevin Young wrote to mention a ZDNet article which goes into some detail on new results from a Department of Homeland security initiative. It's called the 'Open Source Hardening Project', and (funded to the tune of $1.24 Million) the goals of the initiative are to use a commercial tool for source code analysis to buck up the security base of many OSS projects. LAMP (the conglomeration of Linux, Apache, MySQL, and PHP/Perl/Python) was a 'winner' in the eyes of the project. From the article: "In the analysis, more than 17.5 million lines of code from 32 open-source projects were scanned. On average, 0.434 bugs per 1,000 lines of code were found, Coverity said. The LAMP stack, however, 'showed significantly better software quality," with an average of 0.29 defects per 1,000 lines of code, the technology company said.'"

Pythomnic, Development Environment for Python 18

Dmitry Dvoinikov writes "Just released is a conceptual middleware development environment in (and for) Python called Pythomnic ("Pitomnik" is a Russian for "breeding nursery, reserve"). Recognizing the building as a process in time, Pythomnic focuses on creating an environment in which fault tolerant redundant services can be built. Pythomnic is designed so that source code updates, releases and reconfigurations are made at runtime without any visible service interruption. Likewise, external systems (ex. databases) can be switched at will, with no request lost. Multiple Pythomnic instances running on different machines call each other transparently, thus provoking distribution and redundancy. To complete the picture, a handful of syntactically transparent fault tolerance templates make easy to write fault-tolerant code. "

PBS To Air Six New Monty Python Specials 219

Freshly Exhumed wrote to mention a PBS release with good news for BritCom Fans. The Public Broadcasting Service is planning to air six new Monty Python specials. From the article: "Each of the exclusive-to-PBS six one-hour programs will focus on one member of the original Monty Python troupe - Graham Chapman, John Cleese, Eric Idle, Terry Gilliam, Michael Palin and Terry Jones - and showcase favorite clips from the group's television series and movies, mixed with new footage. The five living Pythons - Cleese, Idle, Gilliam, Palin and Jones - will each produce and write their own episode, with the five collaborating on a sixth special to honor deceased member Chapman."
Businesses

Does Company-Wide Language "Standardization" Work? 654

RMX asks: "In our company, we're currently going through the debate of standardizing on a computer language for our next set of products. The pro-standardization guys say that a single language (like Java) will save everyone time. The anti-standardization guys are advocating a mixed environment (of languages like Python, Ruby, and C#), and argue that the whole discussion is as silly as a manufacturing firm standardizing on screwdrivers for all their screw/nail/glue fastening needs. Have any of your companies standardized on a language? How well did it go?"
Software

ActiveState Returns to Open Source Roots 89

constab writes "ActiveState, the Sophos-owned company that makes free distributions and commercial programming tools for programming languages like Perl, Python, PHP, Tcl and Ruby, has been sold to a Canadian VC firm. According to the article, ActiveState will go back to its open-source roots and continue development of ActivePerl, ActivePython and ActiveTcl. A full set of Mac OS X on Intel downloads is also in the works."
Java

Beyond Java 517

Anml4ixoye writes "I recently got sent a copy of Bruce Tate's newest book Beyond Java - A Glimpse at the Future of Programming Languages. Having read Bruce's Bitter Java and Better, Faster, Lighter Java, I was intrigued to see what he would have to say about moving beyond Java. In short: If you're a hard-core Java (or to a lesser extent, C#) developer who thinks Ruby is something that goes on a ring, Pythons will bite you, and Smalltalk is something you have to do at parties, you are in for a rude awakening." Read the rest of Cory's review.
Hardware Hacking

A Webserver on Your Cellphone? 61

Mad_Rain asks: "I saw over on Make Magazine an article about using your cell phone on the Internet, except instead of browsing the web from your cell, you can serve webpages from your phone. Of course, it uses Apache, Python and a Nokia S60 series cell phone. I can imagine a couple of creative applications for webservers in strange places, but what else can be done with this?"

Beginning Python: From Novice to Professional 436

nazarijo writes "Python seems to be devouring everything these days, with more and more people using it for serious projects. It's quickly supplanting Perl in some circles, and with good reason. It's a powerful, richly featured language with boatloads of extensions. And, unlike Perl, it's very easy to do complicated things in simple, legible code. Python books are still only a small part of the shelf at your local bookstore when you compare it to the popularity of Perl, but which ones are the gems and which ones are fluff? Having looked at a lot of Python books in the past couple of years, I think that Beginning Python: From Novice to Professional is the one that I'll most recommend to people." Read on for the rest of Jose's review.
OS X

Python IDE for Mac OS X? 113

benbranch asks: "I am presently learning the Python programming language. The language itself is brilliant and seems very easy to pick up, however my problem is finding a decent IDE. I use Mac OS X (as Windows is excruciating), and though I love Linux (Debian/Ubuntu) all my work computers are Mac's. Can anyone advise me as too a good open source IDE for Mac? If there are any Python programmers out there using Macs, I would love to hear from you."
Java

Departure Of The Java Hyper-Enthusiasts? 678

TomH writes "Bruce Eckel has an article at Aritma, where he posits that 'The Java hyper-enthusiasts have left the building, leaving a significant contingent of Java programmers behind, blinking in the bright lights without the constant drumbeat of boosterism.' Has the previous hype of Java and J2EE moved on to Ruby (on Rails) and Python?"

Slashdot Top Deals