Programming: LLVM, Rust, Python and More

-
LLVM Adds MLIR-Vulkan-Runner To Run MLIR On Vulkan-Enabled GPUs
For those out of the loop, MLIR is a new intermediate representation (IR) in the LLVM ecosystem that has grown immensely in popularity since Google developers announced it last year. MLIR was designed as a machine learning IR for the likes of TensorFlow and has seen significant adoption by the LLVM ecosystem in working out well for heterogeneous hardware among other advantages over the traditional LLVM IR.
The mlir-vulkan-runner added to the LLVM source tree today is an execution driver for executing MLIR files on Vulkan by translating MLIR modules into SPIR-V for execution on GPUs while the host portion is converted to LLVM IR and JIT'ed on the system. This is similar to the MLIR CUDA runner that has already existed for NVIDIA platforms.
-
LLVM Clang 11 Adds -std=c++20 Support
With C++20 now being deemed complete from the recent ISO C++ meeting in Prague, the GNU Compiler Collection went ahead and added the -std=c++20 flag where as up until that change this weekend relied upon the -std=c++2a switch. LLVM's Clang compiler now has similar treatment on its codebase.
Like GCC, the LLVM Clang C++20 support isn't yet complete but it's working towards that milestone. But with C++20 now deemed complete and set to formally be out in the coming months during the 2020 year, the developers are comfortable exposing it now as -std=c++20 as the target. Additionally, LLVM Clang has shifted its C++2A references in their code-base to C++20. The old C++2A switch will still be an accepted argument for compatibility purposes.
-
Daily life with the offline laptop
I will go fast on this. My set up is an old Apple Powerbook G4 with a 1024x768 screen (I love that 4:3 ratio) running OpenBSD.
The system firewall pf is configured to prevent any incoming connections, and only allow TCP on the network to port 22, because when I need to copy files, I use ssh / sftp. The /home partition is encrypted using the softraid crypto device, full disk encryption is not supported on powerpc.
The experience is even more enjoyable with a warm cup of tea on hand.
-
The Computer Scientist Responsible for Cut, Copy, and Paste, Has Passed Away
Born in 1945 in New York, Tesler went on to study computer science at Stanford University, and after graduation he dabbled in artificial intelligence research (long before it became a deeply concerning tool) and became involved in the anti-war and anti-corporate monopoly movements, with companies like IBM as one of his deserving targets. In 1973 Tesler took a job at the Xerox Palo Alto Research Center (PARC) where he worked until 1980. Xerox PARC is famously known for developing the mouse-driven graphical user interface we now all take for granted, and during his time at the lab Tesler worked with Tim Mott to create a word processor called Gypsy that is best known for coining the terms “cut,” “copy,” and “paste” when it comes to commands for removing, duplicating, or repositioning chunks of text.
-
This Week In Rust: This Week in Rust 326
-
Using Python and GNU Octave to plot data
Data science is a domain of knowledge that spans programming languages. Some are well-known for solving problems in this space, while others are lesser-known. This article will help you become familiar with doing data science with some popular languages.
-
Python while Loop
Loops are one of the fundamental concepts of programming languages. Loops are handy when you want to repeat a specific block of code a number of times until a given condition is met. There are two basic loop constructs in Python, for and while loops. This tutorial covers the basics of while loops in Python. We’ll also show you how to use the else clause and the break and continue statements.
-
Stop Installing Python Packages Globally — Use Virtual Environments
Python virtual environments allow you to install Python packages in an isolated location for a particular application, instead of installing them globally.
Let’s explore what the advantages are and how you can quickly get started.
-

- Login or register to post comments
Printer-friendly version- 1649 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is released
After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release.
|
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future Tech
The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world.
Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility.
|
today's howtos
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago