Language Selection

English French German Italian Portuguese Spanish

Programming Leftovers

Filed under
  • Intel's ISPC Compiler Adds Alder Lake + Sapphire Rapids Support And Apple Arm Chips - Phoronix

    On Friday afternoon Intel released a new version of their ISPC compiler, the Implicit SPMD Program Compiler, that supports a variant of the C programming language with extensions around single-program, multiple-data programming for CPU and GPU execution. Not only does this release prepare support for upcoming Intel CPUs but also adds support now for Apple's Arm processors.

    While this C-based SPMD programming language and compiler are tailored to Intel's architecture and exploiting the performance especially with SSE and AVX vectorization, the new ISPC 1.16 release adds support for Apple's Arm chips. There are CPU definitions added for Apple's Arm chips going back to the A7. Additionally, support for macOS ARM targets were added to this build as well. With the ISPC compiler being based on the LLVM compiler stack, adding Arm support isn't much of a challenge but will be interesting to see how well this SPMD programming compiler can perform for Arm.

  • Wrote a quick hack to open chroot in emacs tramp.

    Wrote a quick hack to open chroot in emacs tramp. I wrote a mode for cros_sdk and it was relatively simple. I figured that chroot must be easier. I could write one in about 30 minutes. I need to mount proc and home inside the chroot to make it useful, but here goes. chroot-tramp.el

  • Tail-call optimization in Elm

    In my own understanding, the Elm compiler is able to apply tail-call optimization only when a recursive call (1) is a simple function application and (2) is the last operation that the function does in a branch.

  • Computing the number of digits of an integer even faster

    On computers, you can quickly compute the integer logarithm in base 2, and it follows that you can move from one to the other rather quickly. You just need a correction which you can implement with a table. A very good solution found in references such as Hacker’s Delight is as follows: [...]

  • Diving into toolchains

    I've been wanting to learn more about compilers and toolchains in general for a while now. In June 2016, I asked about recommended readings on lexers and parsers on Twitter. However, I have to confess that I didn't go forward with reading the Dragon Book.

    Instead, I got involved as a developer in the OpenBSD and NetBSD projects, and witnessing the evolution of toolchains within those systems played a big role in maintaining my interest and fascination in the topic. In retrospective, it now becomes apparent that the work I did on porting and packaging software for those systems really helped to put in perspective how the different parts of the toolchains interact together to produce binaries.

  • Introducing 8088ify: The CP/M to MS-DOS assembly translator

    Today I cut the first release of 8088ify, a program that translates Intel 8080 CP/M assembly language to Intel 8086 (8088) MS-DOS assembly language.

  • Converting Twisted’s inlineCallbacks to async

    Almost a year ago we had a push at Element to convert the remaining instances of Twisted’s inlineCallbacks to use native async/await syntax from Python [1]. Eventually this work got covered by issue #7988 (which is the original basis for this blogpost).

    Note that Twisted itself gained some support for async functions in 16.4.


    As part of this I threw together an “Are We Async Yet?” site. It is pretty basic, but tracks the amount of code using defer.inlineCallbacks vs. async. As a side-effect you can see how the code has grown over time (with a few instances of major shrinking). [4]

    And last, but not least, I definitely did not convert all of Synapse myself! It was done incrementally by the entire team over years! My coworkers mostly laid the groundwork and I did much of the mechanical changes. And…we’re still not quite done, although the remaining places heavily interact with Twisted APIs or manually generate a Deferred and use addCallback (so they’re not straightforward to convert).

  • Skyve: Cross-platform open-source low-code platform

    Skyve is an open-source Low-code tool that let you build and deploy application easily. Skyve perfectly for developers and Software providers to build and provide SaaS and Cloud-based products. It focused on the capability (rather than functionality).


    Skyve is released under LGPL-2.1License.

  • Best Programming Languages for Machine Learning

    It is well known to every corporate house that many jobs will soon end up being automated and performed by robots and AI in the near future, so it is a smart move to know the best career choices which include in the domains of data science, artificial intelligence, machine learning, and technologies related to them.

    Though there is a bright and secure possibility in the above-mentioned careers, the marketplace for jobs remains unbalanced and there are still many more jobs open and available than there are qualified applicants to fill those jobs. If you are just about to start your IT career and searching for the best new skills to learn, there are chances that you might get confused about what are the best skills to emphasize in the next courses you choose.

    Don’t worry we have brought you the best programming languages for machine learning which will most likely secure your future, you may already have one or more of these skills and if you think we have missed out on something then don’t forget to comment on it down below.

More in Tux Machines

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. Read more

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. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.