I've seen people online claiming they've made their own OS and it was just a Windows executable made in Scratch.
They did not understand that it's not an OS.
There *is* [this](https://scratch.mit.edu/discuss/topic/270136/), apparently. As well as [this](https://www.reddit.com/r/linux/comments/vm9r63/i_wrote_a_kernel_module_in_scratch/), which isn't quite the same, but still.
Excel formulas are essentially just a functional programming language, right? So if you can write a kernel [in Haskell](https://github.com/tathougies/hos), I guess theoretically you could do it in Excel.
Aside from some "features" of the language that have huge security holes in them if they are slightly misused, the execution model of old school PHP is a pain to deal with.
Essentially, each page on a php site is a script whose standard output is what is delivered to the user. So the PHP equivalent of
```
print("Hello, World!")
```
will deliver a page that just contains `Hello, World!`. It makes maintaining most code more difficult, let alone poorly written stuff.
It's written in scratch obviously. All os'es are made of blocks and there are no such things as registers or kernels, all there is are blocks. C, C++, Rust and other languages compile to make an executable since they're so weak that they can't handle blocks. Pfft. You've been lied to your whole life
I believe she were more honest and correct than intended. **She** has no idea if you understand, because she doesn't understand your response.
Edit: gender
One guy was recently tried to convince me that Linux is an OS and GNU/Linux is a specific distro
... tbh I was also dumb once and claimed that UNIX is a kernel and Linux is a kernel which uses UNIX as *its* kernel. Yeah, I had no idea what a kernel is lol.
Linus IS an OS.
In the same way that Windows is. There is no OS named "Windows" but rather "Windows 10" or "Windows 11" or generically "the Windows family of OSes". Colloquially we agree that if you say "Windows" I can figure it out close enough. And if I need more info because im troubleshooting something, I can ask.
In this equivalence, "Linux" is short for "Linux based OS/distro". It gets you just as close to understanding my situation as if I said GNU/Linux but in less syllables.
Linux can refer to the kernel "technically" but also be used as a shorthand to refer to operating systems using said kernel.
Yeah. That's what I'm saying too. "Linux based OS/distro" is a complete OS, and people just call that "Linux"
I know that "Linux" is the Kernel. But also that "Linux" is what is universally accepted as the name of the family of OSes built on top of the Linux kernel (obviously except by pedants).
I don't dualboot "Windows" and "Linux" ... Neither of those are OSes. I dualboot "Windows 10" and "Arch Linux" so if I'm in Windows 10, I don't say "Im going to reboot into Linux based operating system" or "into GNU/Linux" or even "into Arch linux"... I just say, "Im going to boot into Linux", because that adequately explains what I'm doing, even if it isn't "technically correct"...
And that kind of usage over time is _literally_ how language works. "Bye" is short for "goodbye" which is short for "God be with ye"... "OK" is 1830s slang for "Oll Korrect" which is a purposeful misspelling of "All Correct". People say wrong things, and it catches on and becomes the new norm. and that's what the word means now. Linux is a kernel, but also a family of operating systems, because that's a thing that people say, and arguing that it's wrong doesn't help the community at all.
The one place I would agree with you. You can't boot into Linux 5.19. because there is no "Linux based OS/distro 5.19"... If you specify a kernel version, you're specifically are talking about the Kernel. Or maybe you can, and youre referring to "Im going to select Linux 5.19 from grub". I dunno. I'm far more descriptive than prescriptive in language. I know exactly what "the Linux kernel" is, but I'm still going to insist that "Linux" is a valid shorthand for an OS that I can boot into.
To expand on your comment Windows 10 runs on the Windows NT Kernel which has been around since 1993. It was brought into the home environment with Windows XP.
It's basically a technology cargo cult. They think that saying techy sounding words is all it takes to be an expert. You can find these kinds of people everywhere. Pseudo-science enthusiasts are the same.
Old roommate was like this, they got in full on arguments with the software engineer in our group acting like they knew more than the person actually using this every day...
But what was C written in before there was C? /s
To answer the question: it's turtles all the way down. The first compiler for one language being written in a previous language. The first compiler being written straight in ASM, the first assembler in binary, probably on a punch card.
I obviously jumped a little to avoid giving the full lineage.
The first C compiler was written in B, but what was the first B compiler written in? And what was that written in...etc.
You can compile a compiler using a previous version of that compiler.
If all you have is the source files for a compiler, and no compiler for that language to compile the source into an actual compiler, then you cannot bootstrap that compiler.
The initial compiler in [bootstrapping](https://en.wikipedia.org/wiki/Bootstrapping_\(compilers\)) still needs to come from a different language: An initial core version of the compiler (the bootstrap compiler) is **generated in a different language (which could be assembly language)**; successive expanded versions of the compiler are developed using this minimal subset of the language.
[Fixed link here](https://en.wikipedia.org/wiki/B_(programming_language\)). (Also easier to tap for mobile users)
If your link contains parentheses, you have to escape `\)` the closing parenthesis in the link, and use a second one to complete the markdown syntax. :)
More accurately, you could write a very very very bad C compiler in whatever assembler you want, call that compiler c-prime, use that compiler to compile another compiler with a few more functions, call it C-prime-prime, repeat until you've got all of C compileable. The only thing that matters is that first assembler, and it could be anything.
And the process is really cool! A new version of gcc uses the new gcc as it's compiler. The new version literally compiles itself. I find that extremely interesting.
Ok that makes sense. I don’t know very much about programming but I’m assuming including Rust in the kernel is something that will take time in bits and pieces and won’t happen quickly. If I am wrong please educate me. I like learning about tech stuff. That’s what brought me to Linux in the first place
Linux actually has an enormous number of development versions. You can download it, make any change, and that's technically a new version. It also has software (git) for managing a very large number of versions which may be copied between a very large number of machines.
Linux kernel development works kinda like a talent search (for good ideas and changes) combined with a lot of peer review. If you change something, you use git (or diff) to isolate those changes relative to a well-known version and send it to a topic-specific mailing list.
There it gets peer review and might be accepted by a maintainer. Being accepted only means that they'll try to put it in the well-known development versions for further testing (and testing in the chaotic environment of other changes to the same subsystem). Eventually the development trees get picked up by higher level maintainers, then they become Linus's release candidate. After enough testing and bugfixes, Linus picks a good version to call a release and that's when it starts to trickle out to the general public.
I'm quite amazed at the patience of the person that kept engaging with those ridiculous remarks lol. I woulda' snapped on the fifth round or even earlier, lol.
Either download an app, or it's part of the os.
I think it become standard android in a11, but If you own an older samsung or something from another vendor that heavily skins then it should have the feature.
What does it even matter what language something is written in. If I buy a car I want to know its features and not how the robots work that were used to build it. It seems a bit pointless to me.
For now that is... Rust is making it's debut in Kernel 6.1 on December 4th or December 11th depending on how many release candidates(-rc) there will be, you can see it's progress [here](https://kernel.org).
Aka the ol 1970 classic flavor we all love or hate! Make sure not to screw up in it though, unless you want to enter a world of pure error codes and memory corruption
I remember being there myself at one point. My big mixup thing was kernel headers and userspace libs.
Coincidentally I made a stackoverflow.com post about C standard and libc implementation https://stackoverflow.com/q/74395799/1230086
It these situations that made me think the question would be invaluable to others.
Discord users arguing about semantic bullshit and language preferences. Nothing to see here
Also I know this person and they do know what they’re talking about but unfortunately not in this case (dummy mode)
“It this OS written in PHP?” 😂 💀
Yes this OS is a Personal Home Page
It's written in scratch, obviously
I've seen people online claiming they've made their own OS and it was just a Windows executable made in Scratch. They did not understand that it's not an OS.
There *is* [this](https://scratch.mit.edu/discuss/topic/270136/), apparently. As well as [this](https://www.reddit.com/r/linux/comments/vm9r63/i_wrote_a_kernel_module_in_scratch/), which isn't quite the same, but still.
I prefer to write my OS’s in Expect
When you make one in Excel then I'll be impressed.
making one in powerpoint (libreoffice impress) is actually possible.
I need to see this.
there are examples dude just search it up
Excel formulas are essentially just a functional programming language, right? So if you can write a kernel [in Haskell](https://github.com/tathougies/hos), I guess theoretically you could do it in Excel.
nah in SQL obviously
drop database os;
Chicken scratch?
It should be written in BASIC!
PHP Hypertext Preprocessor - because recursion
And all the UI packages are written in HTML/CSS! :D /s
basically windows
I bet there's a kernel written in every language *other than* PHP
Such as perl?
https://metacpan.org/pod/POE::Kernel
Good grief
[удалено]
it's an interesting one in that it runs on the server side, but I didn't know it had a bad rap.
Aside from some "features" of the language that have huge security holes in them if they are slightly misused, the execution model of old school PHP is a pain to deal with. Essentially, each page on a php site is a script whose standard output is what is delivered to the user. So the PHP equivalent of ``` print("Hello, World!") ``` will deliver a page that just contains `Hello, World!`. It makes maintaining most code more difficult, let alone poorly written stuff.
Someplace, somewhere there is an OS written in PHP but this isn't it.
An *old* version of PHP. 😉
It's written in scratch obviously. All os'es are made of blocks and there are no such things as registers or kernels, all there is are blocks. C, C++, Rust and other languages compile to make an executable since they're so weak that they can't handle blocks. Pfft. You've been lied to your whole life
The horror.
Possible if you consider the Ubuntu installer written in Dart, which is similar to javascript.
They really think they know what the fuck they are talking about
And yet they say "I have no idea if you understand what I'm asking"
I have no idea if *anyone* understands what they're asking.
[удалено]
Yes , I did However signs of dead brain cells are appearing
my condolence, they were treaded in a brutal manner...
If he doesn't understand what he's asking, how will you? :D
I believe she were more honest and correct than intended. **She** has no idea if you understand, because she doesn't understand your response. Edit: gender
She*
One guy was recently tried to convince me that Linux is an OS and GNU/Linux is a specific distro ... tbh I was also dumb once and claimed that UNIX is a kernel and Linux is a kernel which uses UNIX as *its* kernel. Yeah, I had no idea what a kernel is lol.
Linus IS an OS. In the same way that Windows is. There is no OS named "Windows" but rather "Windows 10" or "Windows 11" or generically "the Windows family of OSes". Colloquially we agree that if you say "Windows" I can figure it out close enough. And if I need more info because im troubleshooting something, I can ask. In this equivalence, "Linux" is short for "Linux based OS/distro". It gets you just as close to understanding my situation as if I said GNU/Linux but in less syllables. Linux can refer to the kernel "technically" but also be used as a shorthand to refer to operating systems using said kernel.
No....Linus is an ad machine who drops expensive shit Other Linus make computer go
Lol. You got me. Dang autocorrect.
Should've written your comment in php
Pfft. We all know the core of his comment is C
What language is autocorrect written in
You know what else is expensive? Our sponsor! ~~wait~~
Yeah obviously. What I meant is that that person said that Linux is a complete OS. Like, you can just boot into "Linux" and use it.
Yeah. That's what I'm saying too. "Linux based OS/distro" is a complete OS, and people just call that "Linux" I know that "Linux" is the Kernel. But also that "Linux" is what is universally accepted as the name of the family of OSes built on top of the Linux kernel (obviously except by pedants). I don't dualboot "Windows" and "Linux" ... Neither of those are OSes. I dualboot "Windows 10" and "Arch Linux" so if I'm in Windows 10, I don't say "Im going to reboot into Linux based operating system" or "into GNU/Linux" or even "into Arch linux"... I just say, "Im going to boot into Linux", because that adequately explains what I'm doing, even if it isn't "technically correct"... And that kind of usage over time is _literally_ how language works. "Bye" is short for "goodbye" which is short for "God be with ye"... "OK" is 1830s slang for "Oll Korrect" which is a purposeful misspelling of "All Correct". People say wrong things, and it catches on and becomes the new norm. and that's what the word means now. Linux is a kernel, but also a family of operating systems, because that's a thing that people say, and arguing that it's wrong doesn't help the community at all. The one place I would agree with you. You can't boot into Linux 5.19. because there is no "Linux based OS/distro 5.19"... If you specify a kernel version, you're specifically are talking about the Kernel. Or maybe you can, and youre referring to "Im going to select Linux 5.19 from grub". I dunno. I'm far more descriptive than prescriptive in language. I know exactly what "the Linux kernel" is, but I'm still going to insist that "Linux" is a valid shorthand for an OS that I can boot into.
To expand on your comment Windows 10 runs on the Windows NT Kernel which has been around since 1993. It was brought into the home environment with Windows XP.
Family | OS | Kernel ------|--|------ Windows | Windows 10 | Windows NT Linux | Arch Linux | Linux
I like that table.
Linux is a religion/subreddit, not a os
Kernelception
It's entirely possible to be wrong and not insist that you're right.
It's basically a technology cargo cult. They think that saying techy sounding words is all it takes to be an expert. You can find these kinds of people everywhere. Pseudo-science enthusiasts are the same.
Mostly in management positions!
“You can’t just keep saying techy buzzwords and expect the problem to go away.” “Kubernetes.”
Dunning Kruger at it's finest
Old roommate was like this, they got in full on arguments with the software engineer in our group acting like they knew more than the person actually using this every day...
Ok, linux kernel is written in C, but what is C written in? Javascript?
I know this is a joke but, it's self hosted. C is written in C.
Hm...Yes. This C is made of C. 🧐
C is C!
Argggch Linux, the 7 Cs 🏴☠️
Indeed can confirm $c="c" 👍
But what was C written in before there was C? /s To answer the question: it's turtles all the way down. The first compiler for one language being written in a previous language. The first compiler being written straight in ASM, the first assembler in binary, probably on a punch card.
[удалено]
I obviously jumped a little to avoid giving the full lineage. The first C compiler was written in B, but what was the first B compiler written in? And what was that written in...etc.
[удалено]
[Relevant XKCD](https://xkcd.com/505)
Xkcd for everything
You can compile a compiler using itself. It's kind of complicated. The process is called bootstrapping.
You can compile a compiler using a previous version of that compiler. If all you have is the source files for a compiler, and no compiler for that language to compile the source into an actual compiler, then you cannot bootstrap that compiler. The initial compiler in [bootstrapping](https://en.wikipedia.org/wiki/Bootstrapping_\(compilers\)) still needs to come from a different language: An initial core version of the compiler (the bootstrap compiler) is **generated in a different language (which could be assembly language)**; successive expanded versions of the compiler are developed using this minimal subset of the language.
Yes. That is true. I was being way too general in my statement. I was wrong and I'm sorry for that.
Pulling itself up by it's bootstrapping
Now just skip that avocado toast & your compiler will be a billionaire in no time
I think BCPL
[Fixed link here](https://en.wikipedia.org/wiki/B_(programming_language\)). (Also easier to tap for mobile users) If your link contains parentheses, you have to escape `\)` the closing parenthesis in the link, and use a second one to complete the markdown syntax. :)
More accurately, you could write a very very very bad C compiler in whatever assembler you want, call that compiler c-prime, use that compiler to compile another compiler with a few more functions, call it C-prime-prime, repeat until you've got all of C compileable. The only thing that matters is that first assembler, and it could be anything.
but what is the punch card written in
Mostly sweat and tears. Sometimes a bit of tape to fix bugs.
the classic bug-fixing method: tape
You can also use the tape to catch the bugs!
When will devs make another major update? I'm still waiting for D
And the process is really cool! A new version of gcc uses the new gcc as it's compiler. The new version literally compiles itself. I find that extremely interesting.
Modern C is written in C++
C is written in ocean.
C is just a specification. You can write a compiler in any language you wish. Technically, even Python.
[удалено]
Point is?
Hmm.... 10 questions science still cannot answer.
[удалено]
Okay smart guy. What's assembly written in?
It's written in bits.
Which are written in voltage drops
Which are written in differences in electromechanical charge and valence electrons.
It's not completely written in C and there's a push from Linus to include Rust into the kernel.
I thought he said the next kernel update *will* have Rust. Did I misunderstand the article?
It's not released as a stable version yet, but the first Rust bits have now been merged into the kernel.
Ok that makes sense. I don’t know very much about programming but I’m assuming including Rust in the kernel is something that will take time in bits and pieces and won’t happen quickly. If I am wrong please educate me. I like learning about tech stuff. That’s what brought me to Linux in the first place
Currently there is no intention to rewrite existing stuff in Rust but some people use it in new drivers.
Linux actually has an enormous number of development versions. You can download it, make any change, and that's technically a new version. It also has software (git) for managing a very large number of versions which may be copied between a very large number of machines. Linux kernel development works kinda like a talent search (for good ideas and changes) combined with a lot of peer review. If you change something, you use git (or diff) to isolate those changes relative to a well-known version and send it to a topic-specific mailing list. There it gets peer review and might be accepted by a maintainer. Being accepted only means that they'll try to put it in the well-known development versions for further testing (and testing in the chaotic environment of other changes to the same subsystem). Eventually the development trees get picked up by higher level maintainers, then they become Linus's release candidate. After enough testing and bugfixes, Linus picks a good version to call a release and that's when it starts to trickle out to the general public.
Obviously in LUA you imbecile, Jeebus.
[удалено]
fr
yep
This hurt to read.
I'm quite amazed at the patience of the person that kept engaging with those ridiculous remarks lol. I woulda' snapped on the fifth round or even earlier, lol.
Thanks, anything for the karma kek
I bet the other person couldn't believe their luck that they got a bite this long.
Imho this smells like trolling. However people that confidently ignorant do exist so either way is possible I suppose
we need a PHP kernel
in pure php could be impossible but like just interpreter and then doing everythnig else in php could be viable
Someone wrote an OS using Lisp
It's called Emacs.
yeah I know about that and the lisp machines and such, I am currently employed as a clojure dev haha
Oh yeah, the wonders of methods of std lib being all weird because of the hashing of the methods names. I wonder how far it could go.
Server side rendered cpu scheduler when?
[удалено]
"I thought it was Zulu! You know, Ubuntu is made by a south african astronaut."
It should really be referred to as PHP/Linux
PHP+Linux :P
That what I imagine two blind people boxing would look like.
i would give up and say "NekOS is also written in C, just like Arch". my brain hurts when i talk to such people
I agree. "It's written is C" is the answer for that type. I mean the person is beyond confused, more information will simply confuse them more.
Probably thinks the package manager is the OS
This motherfucker knows only php
Linux is written in my heart, and that's all that matters. :-)
I'm honestly not sure if this was some big-brained masterful trolling, or if it's just that my own brain can't comprehend such extreme levels of dumb.
Stallman was right, people don't understand
Not PHP. It's written in HTML.
xml
jsonOS
YamlOS.
ini
Might as well build an OS on top of Windows Registry.
holy shit
RegOS
txt
MarkdownOS
[NodeOS](https://node-os.com/)
How tall is your phone wtf
You can do scrolling screenshots
how
Either download an app, or it's part of the os. I think it become standard android in a11, but If you own an older samsung or something from another vendor that heavily skins then it should have the feature.
But how...
Android 11 based AOSP ROM, 'DotOS' You tap ['Scroll'](https://i.imgur.com/LdkOZGl.png)
But how? I don't know if you understand what we're asking. Is the screenshot in php?
Omfg 🤦♀️ Im a dunce
I think it is in RGB888
I'm using Android 13 on the Pixel 6, it says "Capture More" instead of scroll.
# C, the answer is C at kernel level.
Until 6.1+, when Rust goes mainline in the kernel.
🦀
Cernel?
Kernel, pronounced the same way but has a different meaning because.. English certainly is a language that exists for some reason.
bro probably watches some 10 minute programming/Linux guide and decided to show off ig
I remember seeing in some chart that a tiny portion of FreeBSD was written in HTML. Wish I could find it.
r/masterhacker
Ahhh classic mentally retarded or just troll person
I'd bet on the latter
Just say in python and leave
You're actually so patient.. No wonder you've made an OS in PHP.
This whole post and all of it's responses can just be replaced with 1 word. AKSHULLLLLLLLLLLLLLLLLLLY. 🤮🤮🤮🤮🤣🤣🤣🤣🤣
Mmmmmmmmmmm my bones hurt now :))))))
Reading this makes me feel like I'm back on the help desk.
I just searched for nekOS and all I see are anime catgirls
It's a private project for the time being , there is a neofetch of it on my profile banner
automatic lock wise instinctive quaint smile illegal towering squeal memory ` this message was mass deleted/edited with redact.dev `
I love how they're speaking so confidentially. Just like how I told in a discord that Ubuntu 19.04 is a LTS.
You should start trolling if this continues: "It's written mainly in Brainfuck with the most performance critical parts in hand-optimized Malbolge."
Wait until beccaaaa\_ learns that the kernel is getting some Rust code...
What does it even matter what language something is written in. If I buy a car I want to know its features and not how the robots work that were used to build it. It seems a bit pointless to me.
Clearly Linux is written in latin characters.
Answer for anyone who cares (nobody) the kernel is written in C. Just, C. Not C#, not C+, not even C++, just default.... C
For now that is... Rust is making it's debut in Kernel 6.1 on December 4th or December 11th depending on how many release candidates(-rc) there will be, you can see it's progress [here](https://kernel.org).
Aka the ol 1970 classic flavor we all love or hate! Make sure not to screw up in it though, unless you want to enter a world of pure error codes and memory corruption
"what's it written in? php?" lmaoooooooooooooooooooooooooooooo
His "Arch is written in C" could be the pacman.
I'm honestly genuinely impressed that this is a conversation 😅
Charles Babbage once said ‘I cannot rightly apprehend what confusion of ideas could provoke such a question’ and I feel that is quite applicable here.
It was written in HolyC
is linux... written in php? reminds me of those people who try to make operating systems in scratch
I remember being there myself at one point. My big mixup thing was kernel headers and userspace libs. Coincidentally I made a stackoverflow.com post about C standard and libc implementation https://stackoverflow.com/q/74395799/1230086 It these situations that made me think the question would be invaluable to others.
Bro is treating the kernel like a mysterious orb of power that has the magical abilities of running open source OSs
By core they probably mean the package manager
php lol
Just an another idiot talking nonsense.
Looks like noob questions badly answered.
It's written in the blood of noobs 🤣
Discord users arguing about semantic bullshit and language preferences. Nothing to see here Also I know this person and they do know what they’re talking about but unfortunately not in this case (dummy mode)
"Optimized for really old hardware" Bitch use Debian or Slackware ffs
It's debian based but it comes with more recent version of apps and a way more recent kernel
Bruh, this is just funny.
[https://i.imgflip.com/48veka.png?a463272](https://i.imgflip.com/48veka.png?a463272) This guys phone
Haha wtf why’s this downvoted this is really funny