busybox VS xgo

Compare busybox vs xgo and see what are their differences.

busybox

The Swiss Army Knife of Embedded Linux - private tree (by brgl)

xgo

Go CGO cross compiler (by karalabe)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
busybox xgo
6 3
55 2,052
- -
0.0 0.0
about 5 years ago over 2 years ago
C Shell
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

busybox

Posts with mentions or reviews of busybox. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-25.
  • Sorry if this is too political.
    1 project | /r/linuxmasterrace | 22 Dec 2022
    Well.
  • Guide: Hush Shell-Scripting Language
    23 projects | news.ycombinator.com | 25 Apr 2022
  • There's a tool to produce a diff-like output from c code?
    1 project | /r/C_Programming | 1 Mar 2022
    Maybe you have better luck with the Busybox diff: https://github.com/brgl/busybox/blob/master/editors/diff.c
  • How could /dev/mem Linux directory be used in order to control the peripherals (MM/IO) ?
    2 projects | /r/embedded | 16 Jan 2022
    You can use busybox devmem to debug. The source code gives you an idea of how it works to write your own code.
  • Programming Puzzles
    3 projects | news.ycombinator.com | 23 Sep 2021
    You can fairly easily spot things like recursive search tree implementations in the wild.

    Also, compilers and interpreters often recursion, and that goes to as many levels as the program requires.

    Have you heard of a "recursive descent parser"? GNU C++ uses one (a huge source file written in C++, well over a megabyte long). This will recurse as deeply as the program's nesting goes; C++ programs often go to more than three levels of nesting. (There are some non-recursive hacks mixed in there, like some operator precedence parsing involving an explicit stack: Shunting-Yard or similar?)

    https://github.com/gcc-mirror/gcc/blob/master/gcc/cp/parser....

    Let's switch over to embedded. Have you heard of BusyBox? BusyBox provides scaled down system utilities for embedded systems. It is very widely used.

    BusyBox's "libb" internal library contains a function called "recursive_action" for walking file system trees. This is actually recursive, and frequently goes more than three levels deep in actual use:

    https://github.com/brgl/busybox/blob/master/libbb/recursive_...

    This is used by BusyBox programs like mdev (udev replacement) lsusb, lspci, chmod, ...

    Also, HN isn't a good place to exhibit Lisp condescension/ignorance.

  • Go & secondary groups: a kaniko adventure!
    3 projects | dev.to | 25 Feb 2021
    This is almost the same implementation you see in busybox's id command source

xgo

Posts with mentions or reviews of xgo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-30.
  • Sciter, the 5 MB Electron alternative, has switched to JavaScript
    16 projects | news.ycombinator.com | 30 Dec 2021
    I see, in this thread, talks about what Sciter does and does not offer.

    It's not the only alternative to Electron, but it might be one that offers predictable and repeatable results.

    I released a small open source project on HN last week (https://github.com/Fusion/pngsource) and I wrote its backend logic in Go. I built the frontend using Tailwind (https://tailwindcss.com) and DaisyUI (https://daisyui.com) and, using Go compiler flags, I can release the app using both WebView (github.com/webview/webview) (which, yes, does require the host OS' collaboration) and Wails (wails.app) (which also does.)

    On Linux/AMD64, the binary's size is 3.7M when building for WebView, and 6.8M when targeting Wails.

    The way the app works is I drag/drop files to the UI, magic happens, and I use github.com/ncruces/zenity to prompt the user for a save location.

    I cross-compile the apps using xgo (https://github.com/karalabe/xgo)

    It's been working pretty well on Linux, Windows, MacOS. I think WebView's approach of limiting the feature set is working well as it feels more "native" than Wails (better refreshes and resize operations for instance)

    However, I already have a few tickets reporting that, for instance, the app is displayed as a blank window in some environments. And it's hard to debug remotely, obviously. So, this is where Sciter may be a better option.

  • Go & secondary groups: a kaniko adventure!
    3 projects | dev.to | 25 Feb 2021
    The test program runs great on macOS, but when I use xgo to cross-compile it for Linux, all it outputs is:
  • Yet another way to convert a website (with backend) to desktop app
    3 projects | dev.to | 6 Jan 2021
    And, xgo to build cross-platform from Linux; yet I can run in Windows and macOS.

What are some alternatives?

When comparing busybox and xgo you can also consider the following projects:

barebox - The barebox bootloader - Mirror of ssh://[email protected]/barebox

daisyui - ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ โ€ƒThe most popular, free and open-source Tailwind CSS component library

gcc

kaniko - Build Container Images In Kubernetes

sciter - Sciter: the Embeddable HTML/CSS/JS engine for modern UI development

stshell

systray - a cross platfrom Go library to place an icon and menu in the notification area

hush - Hush is a unix shell based on the Lua programming language

quickjspp - Port of QuickJS Javascript Engine.

hush - hush (a Bourne-style shell) for the GNO multitasking environment on the Apple IIgs

Tailwind CSS - A utility-first CSS framework for rapid UI development.