Language Selection

English French German Italian Portuguese Spanish

Ode to Machine Architecture

Filed under
Hardware
Software

I have been writing lately about the importance of learning the underlying tenants of computing if you are going to be a great programmer, and in particular some machine language and computer architecture.

It typically does not make a difference which architecture you learn, or which machine language, as long as the architecture and machine language can illustrate the basic concepts of computing to a level that is useful in future studies of operating systems design and compiler theory, helping you to under stand issues like cache management, interrupt handling and I/O.

This blog entry, however, is not going to talk about those issues. Instead it will talk about a few instances in my life where knowing assembly language helped me immensely in solving problems.

rest here




Architecture Does Matter

People seemed to like my blog yesterday about how the knowledge of assembly and machine language improved my programs, or the programs of people around me.

Today I would like to show people how simply understanding a little about the architecture of the machine and operating system, even without knowing assembly language, can improve program performance. Likewise the study of algorithms and computer techniques.

rest here

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

Leftovers: OSS

  • Top 4 CDN services for hosting open source libraries
    A CDN, or content delivery network, is a network of strategically placed servers located around the world used for the purpose of delivering files faster to users. A traditional CDN will allow you to accelerate your website's images, CSS files, JS files, and any other piece of static content. This allows website owners to accelerate all of their own content as well as provide them with additional features and configuration options. These premium services typically require payment based on the amount of bandwidth a project uses. However, if your project doesn't justify the cost of implementing a traditional CDN, the use of an open source CDN may be more suitable. Typically, these types of CDNs allow you to link to popular web-based libraries (CSS/JS frameworks, for example), which are then delivered to your web visitors from the free CDN's servers. Although CDN services for open source libraries do not allow you to upload your own content to their servers, they can help you accelerate libraries globally and improve your website's redundancy.
  • Users stand up, speak out, and deliver data on OpenStack growth
    Last week, the OpenStack Foundation announced the results of its ninth user survey. OpenStack users responded in record-breaking numbers to participate, and their voices as revealed in the data tell the real story of OpenStack. The OpenStack community is growing, thriving with new users, deployments, code contributions, and collaborations, all on the rise. User diversity is expanding across geographies and organizational sizes. And OpenStack's ability to integrate with innovative technologies is paving the way for advancements not even dreamed of just five years ago.
  • How to get started learning to program

Huawei, Google supercharge Android with new Raspberry Pi-like board

Prepare to run Android at blazing fast speeds on a new Raspberry Pi-like computer developed by Huawei. Huawei's HiKey 960 computer board is priced at US$239 but has some of the latest CPU and GPU technologies. Google, ARM, Huawei, Archermind, and LeMaker all played roles in developing the board. The HiKey 960 is meant to be a go-to PC for Android or a tool to develop software and drivers for the OS. The board development was backed by Linaro, an organization that develops software packages for the Android OS and ARM architecture. Read more

Debian Derivatives: Q4OS and Devuan

  • Debian-Based Q4OS 1.8.4 Operating System Lets Users Select Alternative Desktops
    Today, April 26, 2017, the developers behind the Debian-based Q4OS GNU/Linux distribution announced the release of the fourth stability and security update of the Q4OS 1.8 "Orion" series. Q4OS 1.8.4 comes almost two months after the release of the previous point release, and besides incorporating all the security patches backported from the upstream repositories of the Debian GNU/Linux 8 "Jessie" operating system series, it adds an exciting new feature, namely the integration of alternative desktop environments.
  • Which is Free, Which is Open … [Also]

    Devuan and Debian need not defer to the Open Source Initiative regarding what is Open Source, since the OSI is just using Debian's Free Software Guidelines. Debian's Free Software Guidelines are a definition of Free Software, not specifically Open Source. At the time they were created, RMS personally approved of them as "a good definition of Free Software".

Leftovers: Software

  • Luminance HDR 2.5.0 Released, Here’s How to Install it on Ubuntu
    Luminance HDR is an open-source tool that lets you create and edit high-dynamic-range images (HDR) on Linux, Windows and macOS. The app recently got its first major update in several years and I figured it was something a few of you might wanna know about (and hey, we’ve featured a couple of other photography tools recently).
  • SMPlayer 17.4.2 Open-Source Media Player Supports MPlayer's ffhevcvdpau Decoder
    A new stable update of the open-source and cross-platform SMPlayer media player was announced recently, versioned 17.4.2, for all supported operating systems, including GNU/Linux and Microsoft Windows. SMPlayer 17.4.2 is now the latest stable release of the popular media player applications, and it looks like it ships with various exciting improvements and new features. One of these is support for using the ffhevcvdpau decoder from the MPlayer project, but only on Linux-based operating systems.
  • Gyazo – An Easy Way to Capture Screenshots, GIFs and Save Websites
    Gyazo is a screen capturing application with which you can quickly take quality shots of your screen and also create GIFs on the fly with a simple click. It is as simple to use as another screen capture tool we wrote on earlier, Peek, but Gyazo seems to have an edge in terms of functionality, customizability, and extension; at least, for now.
  • The many ways of running firefox on OpenBSD

    Maybe i haven't talked about it enough on the lists, but since i've been maintaining the various mozillas in the portstree (cvs log says i started around firefox 3.6.something... 7 years ago. *sigh*) a lot of things changed, so i wanted take the 6.1 release as an occasion to sum up the various ways one could run which version of which firefox on which version of OpenBSD.