Language Selection

English French German Italian Portuguese Spanish

Android Leftovers

More in Tux Machines

Programming: NetBSD/Clang, C-Reduce, Rust, Python and More

  • NetBSD Exploring LLVM's LLD Linker For Lower Memory Footprint
    The NetBSD project has been making good progress in utilizing the LLVM compiler stack not only for the Clang C/C++ compiler but also for the different sanitizers, the libc++ standard library for C++, and other improvements most of which are working their way into the upstream code-bases. One area of NetBSD's LLVM support being explored most recently is using the LLD linker. NetBSD is exploring the use of the LLVM LLD linker over GNU's ld linker due to the lower memory footprint. LLD generally goes through far less RAM than the current GNU ld linker.
  • Finding Compiler Bugs With C-Reduce
    Support for a long awaited GNU C extension, asm goto, is in the midst of landing in Clang and LLVM. We want to make sure that we release a high quality implementation, so it’s important to test the new patches on real code and not just small test cases. When we hit compiler bugs in large source files, it can be tricky to find exactly what part of potentially large translation units are problematic. In this post, we’ll take a look at using C-Reduce, a multithreaded code bisection utility for C/C++, to help narrow done a reproducer for a real compiler bug (potentially; in a patch that was posted, and will be fixed before it can ship in production) from a real code base (the Linux kernel). It’s mostly a post to myself in the future, so that I can remind myself how to run C-reduce on the Linux kernel again, since this is now the third real compiler bug it’s helped me track down.
  • Structuring Rust Transactions
  • Tidy up the user interface of the video editing application
  • Intel Vulkan Linux Driver Adds Conditional Rendering, Draw Indirect Count
    First up, the Intel Vulkan driver now supports VK_EXT_conditional_rendering after a lengthy review/revision process. VK_EXT_conditional_rendering was added to Vulkan 1.1.80 last July and allows for rendering commands to be made selective based upon a value in the buffer memory, in order to allow discard rendering commands based upon a result in GPU memory without having to wait on the application/engine. The conditional rendering can be used with Vulkan draws, compute dispatches, and clearing of attachments. VK_EXT_conditional_rendering is supported by Haswell "Gen 7.5" graphics and newer with the upcoming Mesa 19.0.
  • Episode #113: Python Lands on the Windows 10 App Store
  • Lambda Functions in Python
  • Find Your System's Biggest CPU Hogs

today's howtos

Get started with Roland, a random selection tool for the command line

There seems to be a mad rush at the beginning of every year to find ways to be more productive. New Year's resolutions, the itch to start the year off right, and of course, an "out with the old, in with the new" attitude all contribute to this. And the usual round of recommendations is heavily biased towards closed source and proprietary software. It doesn't have to be that way. Here's the seventh of my picks for 19 new (or new-to-you) open source tools to help you be more productive in 2019. Read more

Nginx vs Apache: Which Serves You Best in 2019?

For two decades Apache held sway over the web server market which is shrinking by the day. Not only has Nginx caught up with the oldest kid on the block, but it is currently the toast of many high traffic websites. Apache users might disagree here. That is why one should not jump to conclusions about which web server is better. The truth is that both form the core of complete web stacks (LAMP and LEMP), and the final choice boils down to individual needs. For instance, people running Drupal websites often call on Apache, whereas WordPress users seem to favor Nginx as much if not more. Accordingly, our goal is to help you understand your own requirements better rather than providing a one-size recommendation. Having said that, the following comparison between the two gives an accurate picture. Read more