Linux Userland in Zig

栏目: IT技术 · 发布时间: 4年前

内容简介:Today, theThe PBUI Project is an implementation of a subset ofThe PBUI Project has implementations of:

PBUI-PROJECT

Code Contributors Contribute Blog IRC

PBUI Project Launch!

Today, the PBUI Project is officially launching. You may have seen or heard of our project before, so we thank you for your continued interest. If this is the first time hearing of the PBUI Project, let me explain what it is.

The PBUI Project is an implementation of a subset of GNU Coreutils in the up and coming programming language Zig . We've had our ups and downs with the language, but overall we really like it and will continue to follow its development.

The PBUI Project has implementations of:

  • basename
  • cat
  • dirname
  • du
  • false
  • head
  • ls
  • mkdir
  • rm
  • sleep
  • tail
  • true
  • uniq
  • wc
  • zigsay
  • A dynamic command line argument parser

Each of these applets can (theoretically) be symlinked to your existing command line and tools and be used in a fashion that mimics Coreutils. However, this software is still in development and not all features of all commands are implemented, however "normal" functionality should work. More on that further down in this blog post.

If you are interested in contributing to the PBUI Project in any capacity (documentation, code, etc.) please feel free to make an issue on our GitHub . We have lots of open issues and are interested in working with anyone who is willing to lend a hand!

Our code can also be found on GitHub page

In Recent Zig News...

We are very, very excited to see the release of Zig 0.6.0! We've made sure that all our tools were updated to support the new release. Zig 0.6.0 adds a ton of new functionality to the language and we look forward to the future of the language! Read more on the Ziglang blogpost about it .

The PBUI Project has also made an effort to update the Homebrew version of Zig so macOS users can get the latest update!

More...

If you're interested in installing the PBUI-Project, it's as simple as installing Zig on your machine and then running zig build in the root directory of the repository. Below is a video demonstrating how to build and use the PBUI Project!

Note: word of warning about installing Zig from your package manager: since Zig is still early in development, things are changing a lot and you cannot always rely on your package manager to get you the latest updates. It's much easier to just download the pre-compiled binaries and run those!

Here's a quick little video getting you up and running with the PBUI Project


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

区块链与人工智能:数字经济新时代

区块链与人工智能:数字经济新时代

高航、俞学劢、王毛路 / 电子工业出版社 / 2018-7-23 / 80

《区块链与人工智能》是畅销书《区块链与新经济:数字货币2.0时代》全新修订升级版。本书是市场上为数不多的系统阐述区块链、人工智能技术与产业的入门级系统教程。从比特币到各类数字货币(代币),从基础原理到应用探讨,全景式呈现区块链与人工智能的发展脉络,既有历史的厚重感也有科技的未来感。本书的另一个亮点是系统整理了区块链创业地图,是一本关于区块链创业、应用、媒体的学习指南,以太坊创始人Vitalik专门......一起来看看 《区块链与人工智能:数字经济新时代》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器