Live data from Hacker News

What is Toybox?

landley.net

11–20 of 25 posts

Re: What is Toybox?

#11
IMHO, toybox does have some potentially advantageous differences from busybox, e.g.,

busybox seq does not have -f unlike toybox seq

busybox sed has fewer features than toybox sed, e.g., -E

busybox mv does not have -v but toybox mv has it

toybox base64 has an -i option, busybox does not

toybox hexedit has some useful features not found in busybox hexedit

toybox nc has some useful features not found in busybox nc, e.g., -U and -f

Overall, busybox has more available utilities than toybox.

Re: What is Toybox?

#12
So I was reading the background on Toybox and it’s definitely…interesting? Seems like the author used to work on BusyBox, had a falling out, then in a fit of pique wrote a permissively licensed version?

Re: What is Toybox?

#13
Deeply appreciate people rewriting and polishing up stuff lower down in the stack. Its work like that that makes sure the house of cards our digital infrastructure has become doesn't just collapse.

Re: What is Toybox?

#14

So I was reading the background on Toybox and it’s definitely…interesting? Seems like the author used to work on BusyBox, had a falling out, then in a fit of pique wrote a permissively licensed version?

IIRC busybox became part of some GPL enforcement lawsuit(s) because it was being packaged in a lot of embedded situations without the necessary source-publishing.

So the author split off to work on toybox instead, a new implementation under permissive licensing.

I guess it just goes to show you should pick licenses that actually reflect what you want to happen to your code.

Re: What is Toybox?

#17
post #14

So I was reading the background on Toybox and it’s definitely…interesting? Seems like the author used to work on BusyBox, had a falling out, then in a fit of pique wrote a permissively licensed version?

IIRC busybox became part of some GPL enforcement lawsuit(s) because it was being packaged in a lot of embedded situations without the necessary source-publishing. So the author split off to work on toybox instead, a new implementation under permissive licensing. I guess it just goes to show you should pick licenses that actually reflect what you want to happen to your code.

true. I worked with landley when he started toybox, mainly because of BusyBox license.android uses it now.

Re: What is Toybox?

#18

> Busybox predates Android, but has never shipped with Android due to the license. Wouldn't want any GPL'd code in android... Oh wait

I think I'm missing context on what you're referring to. Does AOSP include a lot of GPL'd software or something? Do they not comply with the GPL license? (are you talking about the linux kernel or something?)

Re: What is Toybox?

#19

IMHO, toybox does have some potentially advantageous differences from busybox, e.g., busybox seq does not have -f unlike toybox seq busybox sed has fewer features than toybox sed, e.g., -E busybox mv does not have -v but toybox mv has it toybox base64 has an -i option, busybox does not toybox hexedit has some useful features not found in busybox hexedit toybox nc has some useful features not found in busybox nc, e.g.…

[deleted]

Re: What is Toybox?

#20

> Busybox predates Android, but has never shipped with Android due to the license. Wouldn't want any GPL'd code in android... Oh wait

I think I'm missing context on what you're referring to. Does AOSP include a lot of GPL'd software or something? Do they not comply with the GPL license? (are you talking about the linux kernel or something?)

AFAIK the only GPL code in AOSP is the kernel... so, y'know, just one of the most important parts of the system.
Post reply on HN