# How to make an operating system with processing?

**URL:** <https://discourse.processing.org/t/how-to-make-an-operating-system-with-processing/23139>\
**Category:** Development\
**Created:** [August 8, 2020, 3:40pm UTC](https://discourse.processing.org/t/how-to-make-an-operating-system-with-processing/23139 "2020-08-08T15:40:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arnau](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/arnau/32/9376_2.png) [@Arnau](https://discourse.processing.org/u/Arnau)\
**Post date:** [August 8, 2020, 3:40pm UTC](https://discourse.processing.org/t/how-to-make-an-operating-system-with-processing/23139/1 "2020-08-08T15:40:07Z")

</div>

Hello, I think it isn’t posible but…  
Is there anyway to make an operating system with processing?  
And to use an executable as OS?

Thanks

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [August 8, 2020, 4:49pm UTC](https://discourse.processing.org/t/how-to-make-an-operating-system-with-processing/23139/2 "2020-08-08T16:49:59Z")

</div>

No is my answer to this.

Links that may be of interest to this topic:  
[https://en.wikipedia.org/wiki/Operating\_system](https://en.wikipedia.org/wiki/Operating_system)  
[https://en.wikipedia.org/wiki/Application\_software](https://en.wikipedia.org/wiki/Application_software)  
[Java](https://java.com/en/download/faq/whatis_java.xml#:~:text=Java%20is%20a%20programming%20language,fast%2C%20secure%2C%20and%20reliable.)  
[https://en.wikipedia.org/wiki/Processing\_(programming\_language)](https://en.wikipedia.org/wiki/Processing_(programming_language))  
[https://processing.org/](https://processing.org/)

`:)`

---

<div class="post-metadata">

**Author:** ![qewer3322](https://avatars.discourse-cdn.com/v4/letter/q/e19adc/32.png) [@qewer3322](https://discourse.processing.org/u/qewer3322)\
**Post date:** [August 8, 2020, 7:25pm UTC](https://discourse.processing.org/t/how-to-make-an-operating-system-with-processing/23139/3 "2020-08-08T19:25:24Z")

</div>

I feel like you could make one that runs on top of windows with enough processing and java work. But I’m not sure about one that runs without any other OS. Am I wrong?

---

<div class="post-metadata">

**Author:** ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Post date:** [August 8, 2020, 7:39pm UTC](https://discourse.processing.org/t/how-to-make-an-operating-system-with-processing/23139/4 "2020-08-08T19:39:29Z")

</div>

[![](https://img.youtube.com/vi/SfMoWVpYW4A/maxresdefault.jpg "JX The Java OS !!! | Weird OS #2") ](https://www.youtube.com/watch?v=SfMoWVpYW4A)

> **[JX (operating system)](https://en.wikipedia.org/wiki/JX_(operating_system))**
>
> JX is a microkernel operating system with both the kernel and applications implemented using the Java programming language.
> JX is implemented as an extended Java virtual machine (the JX Core), adding support to the Java system for necessary features such as protection domains and hardware access, along with several components written in Java that provide kernel facilities to applications running on the computer. Because Java is a type-safe language, JX can provide isolation between running appli...

Processing is coded in java and needs java to function so the only way to create an operating system in processing would be to create one in java and then add processing.

There’s a github repo to jx if you want to try it

> **[GitHub - mczero80/jx: JX: The fast and flexible Java OS](https://github.com/mczero80/jx)**
>
> JX: The fast and flexible Java OS. Contribute to mczero80/jx development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [August 8, 2020, 8:26pm UTC](https://discourse.processing.org/t/how-to-make-an-operating-system-with-processing/23139/5 "2020-08-08T20:26:10Z")

</div>

> [@paulgoux](#):
>
> Processing is coded in java and needs java to function so the only way to create an operating system in processing would be to create one in java and then add processing.

That is a java implementation of an operating system and Processing is an application layer.

But still cool!

`:)`

---

<div class="post-metadata">

**Author:** ![Arnau](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/arnau/32/9376_2.png) [@Arnau](https://discourse.processing.org/u/Arnau)\
**Post date:** [August 8, 2020, 8:58pm UTC](https://discourse.processing.org/t/how-to-make-an-operating-system-with-processing/23139/6 "2020-08-08T20:58:04Z")

</div>

And there is anyway to implement processing apps on my own OS (made in C++)?

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [August 8, 2020, 9:09pm UTC](https://discourse.processing.org/t/how-to-make-an-operating-system-with-processing/23139/7 "2020-08-08T21:09:27Z")

</div>

Another reference:

> **[Porting](https://en.wikipedia.org/wiki/Porting)**
>
> In software engineering, porting is the process of adapting software for the purpose of achieving some form of execution in a computing environment that is different from the one that a given program (meant for such execution) was originally designed for (e.g., different CPU, operating system, or third party library). The term is also used when software/hardware is changed to make them usable in different environments.
> Software is portable when the cost of porting it to a new platform is signifi...

  
And example:  

> **[Processing.js](https://en.wikipedia.org/wiki/Processing.js)**
>
> Processing.js is a JavaScript port of Processing, a programming language designed to write visualisations, images, and interactive content. It allows web browsers to display animations, visual applications, games and other graphical rich content without the need for a Java applet or Flash plugin. 
> Processing.js was originally created to allow existing Processing developers and existing code to work unmodified on web. Processing.js used JavaScript to render 2D and 3D content on the HTML canvas el...

`:)`

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [August 9, 2020, 9:40pm UTC](https://discourse.processing.org/t/how-to-make-an-operating-system-with-processing/23139/8 "2020-08-09T21:40:27Z")

</div>

> [@Arnau](#):
>
> And there is anyway to implement processing apps on my own OS (made in C++)?

If you want Processing-like apps in a C++ framework, I highly recommend using OpenFrameworks instead. While it isn’t connected to the Java library ecosystem, it has a Processing-like API and its own libraries and tools all in C++.

> **[openFrameworks](https://openframeworks.cc/)**
>
> openFrameworks

---

<div class="post-metadata">

**Author:** ![Brastin](https://avatars.discourse-cdn.com/v4/letter/b/c5a1d2/32.png) [@Brastin](https://discourse.processing.org/u/Brastin)\
**Post date:** [September 1, 2020, 10:39am UTC](https://discourse.processing.org/t/how-to-make-an-operating-system-with-processing/23139/9 "2020-09-01T10:39:13Z")

</div>

Hi! This is kind of related to your question. Yes - but not a real one. Just an application layer. I just published an update to mine today and while I was making a topic post about it today and it said your topic was related, and considering your question you might be interested.

> [@Operating System Shell made entirely in Processing](https://discourse.processing.org/t/operating-system-shell-made-entirely-in-processing/23600):
>
> HI! Its been a passion project of mine the past 2 years to work on an operating system shell that I call “BrastinOS”. It’s made entirely with processing, in the processing editor, and has a windowed environment a desktop with taskbar (fully customizable) a file explorer a text editor an image viewer a settings app very detailed theme support (my main goal with the OS) smooth and polished animation support for custom applications There’s a lot more stuff but its too much to remember / compile …
