neolateral

programming, drawing, photograpy etc.

Articles tagged with c++

Page 1 / 2 Next Last
Linux Namespaces - Create a UTS Namespace and Change Hostname

Introduction

I'm starting a new series of posts about container and VM specific API's and tools in the Linux operating system. These posts reflect some of the work I'm doing systematically exploring the containerization and virtualization options natively available in the Linux kernel. I will also explore some APIs and tools built on top of these functionalities.

In the first post here we look at creating a simple namespace and then using that namespace to modify some resource in that namespace.

Namespaces

Namespaces are one of the fundamental concepts available in new Linux kernels which support isolation of resources. A …

PicoTurtle release - v0.2.0-alpha.4

The tenth weekly release PicoTurtle v0.2.0-alpha.4 of PicoTurtle is out.

This release features a couple of important editor features:

  1. Indent/De-indent code lines and blocks. Editor shortcuts are Ctrl+] and Ctr+[ respectively. One can also indent and de-indent using Tab and Shift-Tab.
  2. Toggle comment code lines and blocks using Ctrl+/.

Here's a screenshot of the application on my macbook air...

alt PicoTurtle 0.2.0 on MacOs

The windows installer can be downloaded here -> PicoTurtle v0.2.0-alpha.4 for Win/64-bit. Linux and Macos installers are still work in progress. Macos is turning out to especially difficult with my current CMake/vcpkg based …

ZClk release - v0.1.0-alpha.0

The first source-only release Zclk v0.1.0-alpha.0 of Zclk is out. It is a C library which can be used to create CLI programs written in both C and Lua. It supports commands, sub-commands, arguments, options and typed values.

Commands and sub-commands can be implemented both in Lua and C. Allowing a mix of implementations.

The documentation is available online at ZClk docs. For further details check the project page Zclk.

Coll release - v0.1.0-alpha.0

The first source-only release coll v0.1.0-alpha.0 of coll is out. It is an ANSI C collections library with only two datastructures implemented at the moment:

  • An ArrayList - A list datastructure which manages allocation/deallocation internally.
  • A Map backed by the ArrayList (i.e. no hashing) - suitable only for tiny maps.

For further details check the project page coll.

PicoTurtle release - v0.1.0-alpha.5

A new source-only release PicoTurtle v0.1.0-alpha.5 of PicoTurtle is out. This release has minor bug fixes, better documentation and an improved docs viewer, and a new about dialog. The release page contains detailed release notes.

Few changes in the CMake build to support a windows installer are added to the release. These will be used to publish a binary installer for Windows starting next release.

Page 1 / 2 Next Last