Programming

GNU Guile Scheme Gets a Register VM and CPS-Based IL 42

In late November, Andy Wingo pushed a new register VM to Guile's (the GNU implementation of the Scheme language) master branch. It brought a number of performance improvements, but led to a bit of a conceptual mismatch between the compiler's direct-style intermediate language and the virtual machine. Earlier this week Andy Wingo announced a new continuation-passing style intermediate language for Guile. From the article: "To recap, we switched from a stack machine to a register machine because, among other reasons, register machines can consume and produce named intermediate results in fewer instructions than stack machines, and that makes things faster. To take full advantage of this new capability, it is appropriate to switch at the same time from the direct-style intermediate language (IL) that we had to an IL that names all intermediate values. ... In Guile I chose a continuation-passing style language. ... Guile's CPS language is composed of terms, expressions, and continuations. It was heavily inspired by Andrew Kennedy's 'Compiling with Continuations, Continued' paper. ... The optimizations I have currently implemented for CPS are fairly basic. Contification was tricky. One thing I did recently was to make all non-tail $call nodes require $kreceive continuations; if, as in the common case, extra values were unused, that was reflected in an unused rest argument. This required a number of optimizations to clean up and remove the extra rest arguments for other kinds of source expressions: dead-code elimination, the typical beta/eta reduction, and some code generation changes." The article describes the CPS language provided by Guile and explains the reasons behind choosing CPS over SSA or A-Normal Form. The Guile manual contains draft documentation. The new VM and Intermediate Language will be released with Guile 2.2, which should be out later this year.
Networking

Coca-Cola Reserves a Massive Range of MAC Addresses 371

An anonymous reader writes "GNU MacChanger's developer has found by chance that The Coca-Cola company got a range of MAC addresses allocated at the OUI, the IEEE Registration Authority in charge of managing the MAC addresses spectrum. What would Coca-Cola want around 16 million MAC addresses reserved? What are they planning to use them for? Could this part of a strategy around the Internet-of-things concept?"
GNU is Not Unix

Emacs Needs To Move To GitHub, Says ESR 252

hypnosec writes "Eric S. Raymond, co-founder of the Open Source Initiative, has recommended that Emacs should move to another version control system like GitHub, as bzr is dying. In an email, Raymond highlighted the key reasons why he believes that Emacs should move. Raymond said that bzr is moribund; its dev list has flatlined; and most of Canonical's in-house projects have already abandoned bzr and moved to GitHub. ESR believes that bzr's codebase is sufficiently mature to be used as a production tool, but he does mention that continuing to use the revision control system will have 'social and signaling effects damaging to Emacs's prospects.'" Update: 01/06 20:50 GMT by U L : ESR did not suggest Github the proprietary hosting platform for git, but rather git the version control system. Which is actually already available on Savannah (the bazaar repository is automatically synced with the git repository).
Classic Games (Games)

Prince of Persia Level Editor 'Apoplexy' Reaches 2.0 44

An anonymous reader writes "Last year, Jordan Mechner, the creator of the Prince of Persia video game franchise, released the long-thought-lost original Apple II source code for Prince of Persia. Today marks the release of version 2.0 of apoplexy, the free and open-source level editor of Prince of Persia for DOS. Roughly 5.5 years after its initial release, support has been added for editing Prince of Persia 2 levels in both GNU/Linux and Windows. The game has its 25th anniversary next year, but the original trilogy only has a (very) small fan community. Will old games such as this also interest future generations or will they gradually lose their appeal because of technological advances?"
Math

GNU Octave Gets a GUI 166

jones_supa writes "GNU Octave — the open source numerical computation suite compatible with MATLAB — is doing very well. The new 3.8 release is a big change, as it brings a graphical user interface, a feature which has long been requested by users. It is peppered with OpenGL acceleration and uses the super fast FLTK toolkit for widgets. The CLI interface still remains available and GNUplot is used as a fallback in cases where OpenGL or FLTK support is not available. Other changes to Octave 3.8 are support for nested functions with scoping rules, limited support for named exceptions, new regular expressions, a TeX parser for the FLTK toolkit, overhauls to many of the m-files, function rewrites, and numerous other changes and bug fixes."
GNU is Not Unix

Free Software Foundation Endorses a "Truly Free" Laptop 340

An anonymous reader writes "The Free Software Foundation announced today the first laptop they have been able to certify as-is that respects the user's freedoms. The laptop is free down to using Coreboot in place of a proprietary BIOS. The OS shipped on the laptop is Trisquel, the Ubuntu derived Linux OS that removes all traces of proprietary firmware, patented formats, etc. The only issue though for new customers is this endorsed laptop comes down to being a refurbished 2006 ThinkPad X60 with single or dual-core Intel CPU, 1GB+ of RAM, 60GB+ HDD, and a 1024x768 12.1-inch screen, while costing $320+ USD (200 GBP). The FSF-certified refurbished laptops are only offered for sale through the Gluglug UK shop. Are these outdated specs worth your privacy and freedom?"
Open Source

Open Source In the Datacenter: It Was Never About Innovation 100

An anonymous reader writes "The secret to open source innovation, and the reason for its triumphal success, has nothing to do with the desire to innovate. It's because of the four freedoms and the level playing field (and agility) that was the end result. It's like Douglas Adams' definition of flying: you don't try to fly, you throw yourself at the ground and miss. This article explains why it was never about innovation — it was always about freedom. Quoting: 'When the forces of economics put constant downward price pressure on software, developers look for other ways to derive income. Given the choice between simply submitting to economic forces and releasing no-cost software in proprietary form, developers found open source models to be a much better deal. Some of us didn't necessarily like the mechanics of those models, which included dual licensing and using copyleft as a means of collecting ransom, but it was a model in which developers could thrive.'"
Windows

Speed Test 2: Comparing C++ Compilers On WIndows 132

Nerval's Lobster writes "In a previous posting, developer and programmer Jeff Cogswell compared a few C++ compilers on Linux. Now he's going to perform a similar set of tests for Windows. "Like all things Windows, it can get costly doing C++ development in this environment," he writes. "However, there are a couple notable exceptions" such as free and open-source cygwin, mingW, Express Versions of Visual Studio, and Embacadero. He also matched up the Intel C++ Compiler, Microsoft C++ Compiler, and the Embarcadero C++ 6.70 Compiler. He found some interesting things — for example, Intel's compiler is pretty fast, but its annoying habit of occasionally "calling home" to check licensing information kept throwing off the rests. Read on to see how the compilers matched up in his testing."
Programming

GCC 4.9 Coming With Big New Features 181

jones_supa writes "When GCC 4.9 is released in 2014 it will be coming in hot on new features with a large assortment of improvements and new functionality for the open-source compiler. Phoronix provides a recap of some of the really great features of this next major compiler release from the Free Software Foundation. For a quick list: OpenMP 4.0, Intel Cilk Plus multi-threading support, Intel Bay Trail and Silvermont support, NDS32 port, Undefined Behavior Sanitizer, Address Sanitizer, ADA and Fortran updates, improved C11 / C++11 / C++14, better x86 intrinsics, refined diagnostics output. Bubbling under are still: Bulldozer 4 / Excavator support, OpenACC, JIT compiler, disabling Java by default."
Software

Ask Slashdot: What Makes You Uninstall Apps? 243

jones_supa writes "One of the most important measuring sticks for the success of any software is how long a user keeps it installed after first trying it. Intel has an article about some of the most common reasons users abandon software. Quoting: 'Apps that don’t offer anything helpful or unique tend to be the ones that are uninstalled the most frequently. People cycle through apps incredibly quickly to find the one that best fits their needs. ... A lot of apps have a naturally limited lifecycle; i.e., apps that are centered around a movie release or an app that tracks a pregnancy, or an app that celebrates a holiday. In addition, apps with limited functionality, for example, “lite” games that only go so far, are uninstalled once the user has mastered all the levels.' Some of the common factors they list include: lengthy forms, asking for ratings, collecting unnecessary data, user unfriendliness, unnecessary notifications and, of course, bugs. Additionally, if people have paid even a small price for the app, they are more committed to keep it installed. So, what makes you uninstall a piece of software?"
Red Hat Software

Video Red Hat Wants to be a Dominant Force in the Cloud (Video) 40

Red Hat has two primary Cloud Evangelists: Gordon Haff and Richard Morrell. Richard says this about himself: "I'm Red Hat's Cloud Security Blogger and Cloud Evangelist based in Europe. Passionate about good code and Open Hybrid Cloud. Founder of SmoothWall protecting millions of networks for 13 years globally. My blogging and my podcasting is my own editorial and does not represent the views of Red Hat..." We have known Richard since the 20th Century, so this interview has been a long time coming. In it, he talks about how Red Hat is working to become as strong in the Open Source cloud world as it already is in GNU/Linux. This interview may not "represent the views of Red Hat," but it obviously represents the views of a loyal Red Hat employee who is also a long-time Linux enthusiast.
Software

Speed Test: Comparing Intel C++, GNU C++, and LLVM Clang Compilers 196

Nerval's Lobster writes "Benchmarking is a tricky business: a valid benchmarking tries to remove all extraneous variables in order to get an accurate measurement, a process that's often problematic: sometimes it's nearly impossible to remove all outside influences, and often the process of taking the measurement can skew the results. In deciding to compare three compilers (the Intel C++ compiler, the GNU C++ compiler (g++), and the LLVM clang compiler), developer and editor Jeff Cogswell takes a number of 'real world' factors into account, such as how each compiler deals with templates, and comes to certain conclusions. 'It's interesting that the code built with the g++ compiler performed the best in most cases, although the clang compiler proved to be the fastest in terms of compilation time,' he writes. 'But I wasn't able to test much regarding the parallel processing with clang, since its Cilk Plus extension aren't quite ready, and the Threading Building Blocks team hasn't ported it yet.' Follow his work and see if you agree, and suggest where he can go from here."
GNU is Not Unix

MELT, a GCC Compiler Plugin Framework, Reaches 1.0 58

karijes writes with news that the Middle End Lisp Translator extension for GCC has hit 1.0: "MELT is a high-level domain specific language for extending, customizing and exploring the GNU Compiler Collection. It targets advanced GCC users, giving them ability to hook on almost any GCC stage during compilation or interpretation phases. This release brings a lot of new things." New features include defmacro and changes to the antiquote operator.
Programming

GCC 4.9 To See Significant Upgrades In 2014 191

noahfecks writes "It seems that the GCC developers are taking steps to roll out significant improvements after CLANG became more competitive. 'Among the highlights to look forward to right now with GCC 4.9 are: The Undefined Behavior Sanitizer has been ported to GCC; Ada and Fortran have seen upgrades; Improved C++14 support; RX100, RX200, and RX600 processor support; and Intel Silvermont hardware support.'"
Android

PengPod Crowdfunding a Tablet Made With OS-Switching In Mind 93

PengPod is running a crowdfunder to create a GNU Linux/Android tablet, the PengPod 1040. This is their second such product; the first was mentioned on Slashdot last year. PengPod has pledged to make all source and tools used to build the images available, so users can build their own OS top to bottom to guarantee that it's free of NSA tracking. The PengPod has previously found some success as a low-cost touch platform for industrial/commercial control systems and is partnered with ViewTouch, the original inventors of the graphical POS to offer PengPod1040s as restaurant register systems. The feature that the developers seem keenest to emphasize is that the PengPod is built to run conventional desktop Linux distros without special hacking required; Android is the default OS, but it's been tested with several others (including Ubuntu Touch) listed on their Indiegogo page.
GNU is Not Unix

GNU Make 4.0 Released 179

jones_supa writes "A new major version of the classic GNU Make software has been released. First of all, Make 4.0 has integration support for GNU Guile Scheme. Guile is the extension system of the GNU project that is a Scheme programming language implementation and now in the Make world will be the embedded extension language. 4.0 also features a new 'output-sync' option, 'trace-enables' for tracing of targets, a 'none' flag for the 'debug' argument, and the 'job server' and .ONESHELL features are now supported under Windows. There are also new assignment operators, a new function for writing to files, and other enhancements. It's been reported that Make 4.0 also has more than 80 bug-fixes. More details can be found from their release announcement on the mailing list."
Books

Book Review: Latest Two Books By Peter Loshin 28

benrothke writes "Of the books that author Pete Loshin has written in the past, a number of them are completely comprised of public domain information that he gathered. Titles such as Big book of Border Gateway Protocol (BGP) RFCs, Big Book of IPsec RFCs, Big Book of Lightweight Directory Access Protocol (LDAP) RFCs, and others, are simply bound copies of publicly available information. In two of his latest books, Practical Anonymity: Hiding in Plain Sight Online and Simple Steps to Data Encryption: A Practical Guide to Secure Computing, Loshin doesn't do the wholesale cut and paste like he did from the RFC books, but on the other side, doesn't offer much added information than the reader can get online." Read below for the rest of Ben's review.
GNU is Not Unix

RMS On Why Free Software Is More Important Now Than Ever Before 319

jrepin points out an article by Richard Stallman following up on the 30th anniversary of the start of his efforts on the GNU Project. RMS explains why he thinks we should continue to push for broader adoption of free software principles. He writes, "Much has changed since the beginning of the free software movement: Most people in advanced countries now own computers — sometimes called “phones” — and use the internet with them. Non-free software still makes the users surrender control over their computing to someone else, but now there is another way to lose it: Service as a Software Substitute, or SaaSS, which means letting someone else’s server do your own computing activities. Both non-free software and SaaSS can spy on the user, shackle the user, and even attack the user. Malware is common in services and proprietary software products because the users don’t have control over them. That’s the fundamental issue: while non-free software and SaaSS are controlled by some other entity (typically a corporation or a state), free software is controlled by its users. Why does this control matter? Because freedom means having control over your own life. ... Schools — and all educational activities — influence the future of society through what they teach. So schools should teach exclusively free software, to transmit democratic values and the habit of helping other people. (Not to mention it helps a future generation of programmers master the craft.) To teach use of a non-free program is to implant dependence on its owner, which contradicts the social mission of the school. Proprietary developers would have us punish students who are good enough at heart to share software or curious enough to want to change it."
Operating Systems

GNU Hurd 0.5, GNU Mach 1.4, GNU MIG 1.4 Released 206

jrepin writes "Which day could be better suited for publishing a set of Hurd package releases than the GNU project's 30th birthday? These new releases bundle bug fixes and enhancements done since the last releases more than a decade ago; really too many (both years and improvements) to list them individually, The GNU Hurd is the GNU project's replacement for the Unix kernel. It is a collection of servers that run on the Mach microkernel to implement file systems, network protocols, file access control, and other features that are implemented by the Unix kernel or similar kernels (such as Linux)."
GNU is Not Unix

New Unix Implementation Turns 30 290

Thirty years ago, rms wrote: "Free Unix! Starting this Thanksgiving I am going to write a complete Unix-compatible software system called GNU (for Gnu's Not Unix), and give it away free to everyone who can use it. Contributions of time, money, programs and equipment are greatly needed." And thus began the revolution. Thirty years after posting the initial announcement, it's hard to find someone who hasn't interacted with Free Software at some point, even if they didn't realize it. To celebrate, the FSF is holding an anniversary celebration and hackathon this weekend at MIT.

Slashdot Top Deals