Developer Tools

Article Thumbnail
Article

Find and fix nasty memory bugs with Developer Toolset's memstomp tool

Matt Newsome

One of the really useful tools provided by Red Hat Developer Toolset v2.x is " memstomp ", which helps you identify a particularly nasty class of bug in applications built (directly or indirectly) from C/C++ code so you can then fix them before your customers experience problems. In this brief article, I'll explain the background for the tool, how to get it, how to use it yourself and briefly how it works. Background The memcpy() routine in the standard C...

Article Thumbnail
Article

Developer Toolset 2.1 beta now available - compiles to RHEL7 beta, adds new Git

Mike Guerette

Red Hat is pleased to announce the Beta availability of Red Hat Developer Toolset 2.1. Red Hat Developer Toolset 2.1 beta delivers the following capabilities: Users can compile on Red Hat Enterprise Linux 6 to run on Red Hat Enterprise Linux 6 and test on Red Hat Enterprise Linux 7 Beta. In addition, the Red Hat Developer Toolset retains functionality allowing users to compile on Red Hat Enterprise Linux 5 and deploy on Red Hat Enterprise Linux 5 or Red...

Article Thumbnail
Article

Red Hat Developer Newsletter - December 2013

Mike Guerette

This is our new Red Hat Developer Newsletter that launched last month. Please register for this and receive a summary of important Red Hat developer news. The January issue will be going out soon! Welcome to the inaugural issue of the Red Hat Developer Monthly Newsletter If you're reading this, you probably already know that Red Hat is the world's leading provider of open source solutions, using a community-powered approach to provide reliable and high-performing Linux, cloud, virtualization, storage, and...

Article Thumbnail
Article

DTS Survey - what tools do you use/plan to use?

Mike Guerette

Red Hat Developer Toolset users - tell us which components you're using and which ones you intend to use. Also - tell us what blogs/articles you'd like to see on any of them. The better we understand your needs, the better we can address them. Thank you!

Article Thumbnail
Article

Eclipse Kepler Overview in DTS 2.0

Roland Grunberg

The introduction of Eclipse Kepler (4.3.0) into the Developer Toolset 2.0 (DTS) not only brings the latest and greatest of this development environment, but many different features provided as plugins. For some, their purpose may not be immediately clear from their name, so let's quickly go through the list of Eclipse plugins shipped in DTS 2.0. JDT (Java Development Tools) Possibly the most well-known plugin for the Eclipse IDE. Create, manage, develop, test and debug your Java projects. The various...

Article Thumbnail
Article

Red Hat Developer Toolset 2.0 - a Tour of Features and OpenShift Integration

Matt Newsome

Red Hat Developer Toolset v2.0 was released earlier this year and has received some great feedback from developers, which is always great to hear. But perhaps you'd like to see Red Hat Developer Toolset in action rather than reading about it. If so, here's a recording of a live demo showing you some of the great new features, including the option to create and deploy your C++ application to Red Hat OpenShift from right within the Eclipse IDE. In addition...

Article Thumbnail
Article

Eclipse Kepler in DTS

Roland Grunberg

One of the new features for the Developer Toolset (DTS) 2.0 is Eclipse 4.3.0 (Kepler). Aside from various performance improvements to the base platform since Eclipse 4.2 (Juno) a lot of other plugins are being shipped to make life easier for development. The C/C++ Developer Tooling (CDT) is a plugin used to develop, build, run, and debug C/C++ applications in Eclipse. It has support for various toolchains, Makefile/Autotools projects, static analysis, and easy navigation of a code-base thanks to a...

Article Thumbnail
Article

Using DTS Eclipse, PyDev, and Python 2.7

Langdon White

Red Hat intended for developers to integrate Developer Toolset 2.0 (DTS) and Red Hat Software Collections 1.0 (RHSCL). As you may not realize, inside the DTS is a copy of Eclipse and you can use that with any software collection. In other words, you can use PyDev, with the Python 2.7 Software Collection from RHSCL in the Eclipse from DTS. Let's find out how. First, let's make sure you have the right repos, [lwhite@lwhite-laptop ~]$ sudo yum repolist Loaded plugins...

Article Thumbnail
Article

Separating IDE workspaces from code repositories

Romain Pelisse

As I've been using Git , SVN (with git-svn) and Hg for quite a long time now, I've adapted my way to handle the local repositories created with those tools. Especially, I quickly found out that it is quite crucial to separate those repositories from your IDE workspaces. Some explanation of why and how are in this entry. (Photo credit by motjetom ) Eclipse workspaces To understand why I wished to write about this, one has to know that many...

Article Thumbnail
Article

Released! Red Hat Software Collections now GA!

Mike Guerette

[EDITOR's Note: This article introduces V1.0 of Red Hat Software Collections, but we are now at 2.0. Read about the latest here .] We've had so much interest in Red Hat Software Collections during beta testing and now here they are! Red Hat has announced the general availability of Red Hat Software Collections 1.0! "Available via select Red Hat Enterprise Linux subscriptions, Red Hat Software Collections delivers the newest, most stable versions of open source runtime components to subscribers on...

Article Thumbnail
Article

Red Hat Developer Toolset 2.0 is now Generally Available!

Mike Guerette

gcc developers - this is what you've been asking for! Red Hat Developer Toolset V2.0 is now generally available . Red Hat has "announced the general availability of Red Hat Developer Toolset 2.0. Available to all Red Hat customers with an active Red Hat Enterprise Linux Developer subscription, Red Hat Developer Toolset provides access to the latest stable versions of open source development tools on a separate, accelerated life cycle." Delivered as a parallel set of the latest stable tools...

Article Thumbnail
Article

Using Git with SVN

Romain Pelisse

(Photo credit by Crystalline Radical ) Nowadays, while most people in our industry know about DVCS tools, such as Git and Mercurial, and what they can do, not all are aware that git can be used with SVN . It is, of course, quite a shame as on top of being the best way to learn how to use git - this feature also enables one to use all the nice tricks of DVCS (offline commit, local history rewriting, commit...

Article Thumbnail
Article

C/C++ Programming Abstractions for Parallelism and Concurrency - Part 2

Torvald Riegel

Welcome to part 2 of this two-part article on C/C++ Programming Abstractions for Parallelism and Concurrency. If you missed Part 1, view it here . Supporting task-based parallelism Let us now switch from concurrency to parallelism. I already mentioned that C++11 and C11 provide support for creating threads that execute additional work in parallel or concurrently. However, these facilities are rather resource abstractions (i.e., for operating system threads) than abstractions aimed purely at parallelism. One target for the latter is...

Article Thumbnail
Article

C/C++ Programming Abstractions for Parallelism and Concurrency - Part 1

Torvald Riegel

When writing parallel or multi-threaded programs, programmers have to deal with parallelism and concurrency. Both are related concepts but are not the same. In this article, we will review the differences between them and outline a few programming abstractions for both (in particular, atomic data types, Transactional Memory, and task-based parallelism). Red Hat Developer Toolset 1.1 ships with GCC-4.7, which provides (experimental) support for these particular features. Finally, a short outlook on future features proposed for inclusion in the C/C++...

Article Thumbnail
Article

RHEL Developer Toolkit 2.0 now in beta

Mike Guerette

Just under a year ago, we introduced the Red Hat Enterprise Linux Developer Toolset 1.0 which provides the latest, stable open source developer tool versions at an accelerated cadence than that of Red Hat Enterprise Linux. That version started with gcc 4.7 and gdb 7.4. Since then, we've added V1.1 with some additional components and today we are announcing V2.0 beta that adds Eclipse, and more: Eclipse 4.3.0 weaves together a full set of tools required for software development in...

Article Thumbnail
Article

How Long Does It Take to ...

William Cohen

One common idiom in performance monitoring is how long did it take for a program to do something. For example you may want to know the time taken for database queries in PostgreSQL or just-in-time translations in a Java Virtual Machine. SystemTap and user-space markers in Linux packages make it much easier to determine the duration of those operations. The user-space markers compiled into Linux packages mark key points in the code where particular actions occur. The user-space markers also...

Article Thumbnail
Article

Red Hat at the ISO C++ Standards Meeting, Bristol, UK

Matt Newsome

Red Hat has actively participated in the ISO group defining the C++ standard for many years, and continues to make a significant contribution. The Red Hat toolchain team was well-represented at the spring meeting of the standardization committee (technically JTC1/SC22/WG21) in Bristol, UK, last month: we had three people there for the full week, with one other visiting a couple of times during the week. In this article, Jason Merrill summarizes the main highlights and developments of interest to Red...

Article Thumbnail
Article

Announcing new Red Hat developer events in June!

James Parenti

June 9-11, 2013 - Hynes Convention Center, Boston in conjunction with Red Hat Summit 2013 Three events for the price of one! That's what we have starting on June 9 in Boston, Massachusetts, USA. Red Hat is pleased to announce the return of JUDCon2013:United States, the new addition of CamelOne, and Red Hat Developer Exchange (formerly Developer Day) - all taking place June 9-11 before our annual Red Hat Summit. These will be co-located at the Hynes Convention Center in...

Article Thumbnail
Article

Starting with SystemTap

William Cohen

As I stare at this blank screen to start writing my first blog entry I have that same feeling that so many developers have when starting with an unfamiliar programming language or application. The developers in our group realize that it is not easy starting from nothing and we strive to make it easier to productively use SystemTap to investigate performance problems. A starting point for anyone's first use of SystemTap is the SystemTap Beginners Guide on the Red Hat...

Article Thumbnail
Article

Array allocation in C++

Florian Weimer

This technical article covers a subtlety in C++ array allocation and how we changed the GNU C++ compiler to deal with it properly. When a programmer writes T *p = new T[3]; the C++ compiler allocates room for at least three copies of objects of type T on the heap. These objects require 3 * sizeof(T) bytes. For this example, assume sizeof(T) is 12, then it is straightforward to allocate 36 bytes (for example, using malloc). But what happens if...

Article Thumbnail
Article

7 ways to improve your application's performance with the new Developer Toolset 1.1 release

Matt Newsome

Are you missing out on opportunities to increase your applications' performance? As an application developer building on Red Hat Enterprise Linux, you invest a lot of time and effort into making your applications compelling and useful for your users. You probably also want to see good performance. But beyond good design, careful algorithm selection and compiler optimizations, what can a developer use to boost their application performance? 1. The latest GCC release and associated tools The very first thing a...

Article Thumbnail
Article

Red Hat Developer Toolset 1.1 Now Available through Developer-focused Subscriptions

Mike Guerette

Today Red Hat announces the general availability of version 1.1 of Red Hat Developer Toolset through Red Hat Enterprise Linux Developer Subscriptions. For developers, having ready access to the latest, stable development tools is key to taking advantage of open source innovation. Red Hat Developer Toolset 1.1 bridges development agility with production stability by delivering the latest stable versions of essential C and C++ development tools. By employing Red Hat Developer Toolset, organizations can significantly increase developer productivity and improve...

Article Thumbnail
Article

Is your C++ development team missing out? Developer Toolset: newer tools on and for multiple RHEL releases

Matt Newsome

Wouldn't it be nice if your software development team could use one common set of development tools based on the latest, stable upstream versions for your Red Hat Enterprise Linux development? Think of all the extra years of open source innovation - the features, optimizations and new standards support it would allow your team to build into your products. That would be great, wouldn't it? Fortunately, this is already available to you today, and in this blog post I'll explain...

Article Thumbnail
Article

Welcome to the Red Hat developer blog!

Mike Werner

I’m writing this first entry at about 30,000 feet on my way back from Red Hat’s North American Partner Conference in San Diego, California. It’s rather appropriate to be typing this out at that altitude, as that is the way I felt for the entire conference after having the opportunity to meet with some amazing ISV, Systems Integrator, VAR and Solution Builder partners who have been building some incredibly powerful solutions using Red Hat technologies. The consistent theme across all...