Algunos sistemas operativos basados en Unix que tal vez no conocías: Darwin / Some Unix-based operating systems you may not have known about: Darwin

By marjuanm | msproys | 7 Sep 2023


  Hola que tal a todos, concluimos con este ultimo artículo dedicado al mundo de los sistemas operativos que son herederos de Unix y ya cambiaremos un poquito de tema para no marearlos jejejeje.

  Si no han tenido oportunidad de leer los dos artículos previos les invito a que lo hagan: "Algunos sistemas operativos basados en Unix que tal vez no conocías: BSD y sus derivados" y "Algunos sistemas operativos basados en Unix que tal vez no conocías: Solaris y sus derivados", y es que como hemos mencionado en este par de artículos, AT&T tomó la decisión de cerrar el acceso al código fuente de Unix, lo que obligó a diversas instituciones y programadores independientes a crear sus "propias versiones Unix", pero sin utilizar el código fuente propiedad de AT&T para evitar problemas legales.

  Así nacieron BSD y Solaris de quienes hemos hablado en los artículos anteriores, quienes a su vez dieron origen a otros sistemas operativos ya mencionados.

Darwin:

  Para entender como funciona el sistema operativo Darwin pongamos un ejemplo de la actualidad: Google desarrolla el navegador web Chromium que funciona bajo licencias libres (BSD), esto permite que otros desarrolladores aprovechen ese código fuente para crear otros navegadores (Edge, Vivaldi, Opera, etc) y a su vez Google usa el código fuente de Chromium para un proyecto cerrado y comercial (aunque Chrome no cuesta nada Google gana dinero con él de otras maneras, por ejemplo siendo trampolín para los diferentes servicios de Google que muestran publicidad), lo cual a su vez, Chromium se beneficia de los aportes de otros programadores que buscan mejorar Chromium para luego usarlo en sus proyectos y Google gana más dinero con el trabajo que otros han hecho y por el que no ha tenido que pagar nada.

  Suena cruel, pero es la realidad, Google no tiene que pagar (o muy poco) porque otros mejoren su proyecto con la ventaja de que ellos lo usarán más adelante para otros desarrollos. Lo mismo ocurrió en el caso de Darwin; Darwin es un sistema operativo desarrollado inicialmente por Apple, el objetivo era proveer un sistema operativo libre que sirviera de base para crear otros sistemas operativos.

  Se basó inicialmente en el código fuente del antiguo NextStep (que a su vez está basado en el kernel Match) y el objetivo de Apple era que otros desarrolladores mejoran su desarrollo a cambio de usar ese sistema operativo experimental en sus propias creaciones y claro, Apple ganaría dinero (mucho dinero) usando ese proyecto mejorado para desarrollar el sistema operativo de sus computadoras Apple, a su vez cualquier mejora extra que hiciera Apple se reflejaría en Darwin, los programadores lo extenderían a sus proyectos y cualquier mejora en Darwin por parte de los desarrolladores externos (a los que no se les pagaba nada por su trabajo) iría a parar a los bolsillos de Apple pues mejoraría su producto y seguiría ganando dinero, simple, ¿no?.

  El problema es que Apple no es Google y no estaba tan interesado en continuar con esa relación simbionte que podría durar mucho tiempo y donde todos ganan (y más Apple), tan pronto el sistema operativo de Apple fue lo suficiente maduro como para ya no necesitar de Darwin la empresa terminó abandonándolo prácticamente (ya obtuvieron lo que querían), actualmente no provee sistemas de instalación para crear sistemas completos en otros equipos (cosa que ocurría en el pasado) y tampoco se incluyen diversas rutinas necesarias para crear un sistema operativo completo con poco esfuerzo.

  Se parece más bien a una biblioteca de la que "toma lo que puedas y el resto hágalo usted mismo" en lugar de ser un proyecto totalmente funcional como se espera de los proyectos de tipo libre que "relativamente" fácil pueden ser adaptados a otros necesidades. Apple todavía sigue manteniendo a Darwin (aunque curiosamente no aparece en su catálogo de proyectos OpenSource).

  Pueden si lo desean ver este video en Youtube explicando un poco la historia de Darwin y su funcionamiento, debo confesar que cuando lo vi quedé algo decepcionado porque esperaba ver un sistema tipo Mac libre para su uso y oh! sorpresa, no, es solo un sistema en línea de comandos, sin ninguna utilería adicional pero que puede ser usado como base para otros sistemas más complejos (algunos proyectos adicionales como pure Darwin si cuentan con una versión modo texto y otra con interfaz gráfica - muy simple). Solo bastaría el "hágalo usted mismo" agregando todos los proyectos extra que queramos y compilar para crear un conjunto de aplicaciones junto a un kernel (Darwin en este caso) e ir agregando más y más cosas (similar a como se crean las distribuciones Linux desde cero).

¿Existen sistemas operativos basados en Darwin?

  Sí... y no a la vez, quizá los sistemas operativos más conocidos son los sistemas actuales de Apple como Mac OSX, MacOS, iOS y algún otro que halla desarrollado recientemente, todos ellos partieron de Darwin, pero, como Darwin es un sistema operativo demasiado básico (no tiene interfaz gráfica) Apple incluyó muchas utilerías propias dejando solo a Darwin como base y podríamos decir que no tiene mucho que ver el MacOS actual con Darwin (excepto por usarlo internamente para funcionar, pero su interfaz gráfica es otra completamente).

  Por otro lado tampoco resulta muy atractivo usar Darwin para crear algo desde cero (que resultará en mucho consumo de tiempo) y no hay tanta diferencia entre usar Darwin y Linux (como kernel) para crear una distribución propia, es mejor tomar Ubuntu o algún sistema ya completo y comenzar a personalizarlo en lugar de comenzar desde nada.

  Eso no quiere decir que no halla habido intentos por crear algo más serio, un ejemplo de ello es OpenDarwin que tuvo por objetivo usar Darwin junto a software libre de uso cotidiano y con ello crear un "Linux" pero usando Darwin como kernel, sin embargo el proyecto está muerto pues desde el 2004 no se ha hecho nada.

  Con la misma suerte ha corrido el proyecto "pure Darwin" ya que cerró en el 2015 (todavía existe el sitio web por si gustan visitarlo) y aunque hay otros proyectos que buscan adaptar Darwin como base para sistemas completos, no se ha sabido mucho de ellos o simplemente han quedado congelados en el tiempo.

Conclusiones:

  Podemos decir que Unix es actualmente el padre de muchos sistemas operativos actuales, algunos han tenido mucha trascendencia como Linux y otros poco o nada se conocen fuera del ámbito en que fueron desarrollados como es el caso de Darwin. La mayoría de estos sistemas operativos han tenido éxito dentro del ámbito de los servidores y como software para controlar hardware muy especializado.

  A mi parece solo Darwin lo podemos encontrar en equipos de cómputo con más penetración entre los usuarios comunes, pues corre de fondo en los equipos de la empresa de la manzana mientras que el resto de sistemas herederos de Unix los encontraremos principalmente entre servidores. Si les ha gustado este artículo por favor dejen sus comentarios al respecto y nos veremos en un próximo artículo, gracias de antemano.


  Hello how are you all, we conclude with this last article dedicated to the world of operating systems that are heirs to Unix and we will change the subject a little so as not to make you dizzy hehehehe.

  If you haven't had a chance to read the two previous articles, I invite you to do so: "Some Unix-based operating systems you may not have known: BSD and its derivatives" and "Some Unix-based operating systems you may not have known: Solaris and its derivatives", and as we have mentioned in this couple of articles, AT&T made the decision to close access to the Unix source code, forcing various institutions and independent programmers to create their "own Unix versions", but without using the source code owned by AT&T to avoid legal problems.

  This is how BSD and Solaris were born, of which we have spoken in previous articles, which in turn gave rise to other operating systems already mentioned.

Darwin:

  To understand how the Darwin operating system works, let's take a current example: Google develops the Chromium web browser that works under free licenses (BSD), this allows other developers to take advantage of that source code to create other browsers (Edge, Vivaldi, Opera, etc) and in turn Google uses the Chromium source code for a closed and commercial project (although Chrome does not cost anything, Google makes money with it in other ways, for example by being a springboard for the different Google services that show advertising), which in turn, Chromium benefits from input from other developers looking to improve Chromium for use in their projects, and Google makes more money off of work others have done for which it hasn't had to pay anything.

  It sounds cruel, but it is the reality, Google does not have to pay (or very little) because others improve their project with the advantage that they will use it later for other developments. The same thing happened in the case of Darwin; Darwin is an operating system initially developed by Apple, the objective was to provide a free operating system that served as the basis for creating other operating systems.

  It was initially based on the source code of the old NextStep (which in turn is based on the Match kernel) and Apple's goal was for other developers to improve their development in exchange for using that experimental operating system in their own creations and of course, Apple would make money (lots of money) using that improved project to develop the operating system for their Apple computers, in turn any extra improvements Apple made would be reflected in Darwin, programmers would extend it to their projects and any improvements to Darwin by developers External developers (who were not paid anything for their work) would end up in Apple's pockets as they would improve their product and continue to earn money, simple, right?

  The problem is that Apple is not Google and was not so interested in continuing this symbiote relationship that could last a long time and where everyone wins (and more Apple), as soon as Apple's operating system was mature enough to no longer need of Darwin the company ended up practically abandoning it (they already got what they wanted), it does not provide installation systems to create complete systems on other computers (which happened in the past) and it does not include various routines necessary to create a complete operating system with little effort.

  It looks more like a "take what you can and do the rest of it yourself" library rather than a fully functional project as expected of free type projects that can be "relatively" easily adapted to other needs. Apple still maintains Darwin (although curiously it doesn't appear in their OpenSource project catalogue).

  You can, if you wish, see this video on YouTube (spanish) explaining a bit about the history of Darwin and how it works, I must confess that when I saw it I was somewhat disappointed because I expected to see a Mac-like system free for use and oh! surprise, no, it's just a command line system, without any additional utilities but that can be used as a base for other more complex systems (some additional projects like pure Darwin do have a text mode version and another with a graphical interface - very simple). It would only be enough to "do it yourself" by adding all the extra projects that we want and compiling to create a set of applications together with a kernel (Darwin in this case) and add more and more things (similar to how Linux distributions are created from zero).

Are there operating systems based on Darwin?

  Yes... and not at the same time, maybe the best-known operating systems are Apple's current systems such as Mac OSX, MacOS, iOS and some others that have been recently developed, all of them started from Darwin, but, since Darwin is a system Too basic an operating system (it does not have a graphical interface) Apple included many of its own utilities, leaving only Darwin as a base and we could say that the current MacOS does not have much to do with Darwin (except for using it internally to work, but its graphical interface is completely different). .

  On the other hand, it is not very attractive to use Darwin to create something from scratch (which will result in a lot of time consumption) and there is not that much difference between using Darwin and Linux (as kernel) to create your own distribution, it is better to take Ubuntu or some system already complete and start customizing it instead of starting from nothing.

  This does not mean that there have not been attempts to create something more serious, an example of this is OpenDarwin, which aimed to use Darwin together with free software for everyday use and with it create a "Linux" but using Darwin as kernel, however the project is dead because since 2004 nothing has been done.

  The "pure Darwin" project has had the same luck since it closed in 2015 (the website still exists if you want to visit it) and although there are other projects that seek to adapt Darwin as a basis for complete systems, not much has been heard about it. them or have simply been frozen in time.

Conclusions:

  We can say that Unix is ​​currently the father of many current operating systems, some of which have been very important, such as Linux, and others that are little or nothing known outside the scope in which they were developed, such as Darwin. Most of these operating systems have been successful within the realm of servers and as software to control highly specialized hardware.

  It seems to me that we can only find Darwin on computers with more penetration among common users, since it runs in the background on the computers of the apple company, while the rest of the Unix-inherited systems will be found mainly between servers. If you liked this article, please leave your comments about it and we'll see you in a future article, thanks in advance.

 

 

 

 

 

 

 

How do you rate this article?

6


marjuanm
marjuanm

I'm a VB.NET Programmer, but too programming on PHP, greetings.


msproys
msproys

Blog informático para dar a conocer mis proyectos, soy desarrollador de sistemas y partidario del software libre. Por medio de este blog estaré dando a conocer algunos de mis trabajos, así como publicando diversos códigos fuentes útiles.

Publish0x

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.