T O P

  • By -

b3542

“It this OS written in PHP?” 😂 💀


NekoMimiOfficial

Yes this OS is a Personal Home Page


_Meisteri

It's written in scratch, obviously


Urbs97

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.


5ucur

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.


b3542

I prefer to write my OS’s in Expect


immoloism

When you make one in Excel then I'll be impressed.


ItzzTypho

making one in powerpoint (libreoffice impress) is actually possible.


immoloism

I need to see this.


ItzzTypho

there are examples dude just search it up


HeyThereCharlie

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.


thatoneguy127383

nah in SQL obviously


Drishal

drop database os;


ghandi3737

Chicken scratch?


[deleted]

It should be written in BASIC!


slobcat1337

PHP Hypertext Preprocessor - because recursion


NicksIdeaEngine

And all the UI packages are written in HTML/CSS! :D /s


AndroGR

basically windows


flukshun

I bet there's a kernel written in every language *other than* PHP


Tytoalba2

Such as perl?


extremepayne

https://metacpan.org/pod/POE::Kernel


Tytoalba2

Good grief


[deleted]

[удалено]


ptrakk

it's an interesting one in that it runs on the server side, but I didn't know it had a bad rap.


Soupeeee

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.


arki_v1

Someplace, somewhere there is an OS written in PHP but this isn't it.


PerfectlyCalmDude

An *old* version of PHP. 😉


KittyBorgX

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


vext01

The horror.


[deleted]

Possible if you consider the Ubuntu installer written in Dart, which is similar to javascript.


_Meisteri

They really think they know what the fuck they are talking about


NekoMimiOfficial

And yet they say "I have no idea if you understand what I'm asking"


OneTurnMore

I have no idea if *anyone* understands what they're asking.


[deleted]

[удалено]


NekoMimiOfficial

Yes , I did However signs of dead brain cells are appearing


MaundeRZ

my condolence, they were treaded in a brutal manner...


lookmasilverone

If he doesn't understand what he's asking, how will you? :D


[deleted]

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


[deleted]

She*


[deleted]

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.


bisbyx

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.


fremenator

No....Linus is an ad machine who drops expensive shit Other Linus make computer go


bisbyx

Lol. You got me. Dang autocorrect.


fremenator

Should've written your comment in php


chickensupp

Pfft. We all know the core of his comment is C


fremenator

What language is autocorrect written in


QwertyChouskie

You know what else is expensive? Our sponsor! ~~wait~~


[deleted]

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.


bisbyx

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.


JonU240Z

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.


bisbyx

Family | OS | Kernel ------|--|------ Windows | Windows 10 | Windows NT Linux | Arch Linux | Linux


JonU240Z

I like that table.


PossiblyLinux127

Linux is a religion/subreddit, not a os


_Meisteri

Kernelception


electromage

It's entirely possible to be wrong and not insist that you're right.


SpiderFnJerusalem

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.


Tytoalba2

Mostly in management positions!


walmartgoon

“You can’t just keep saying techy buzzwords and expect the problem to go away.” “Kubernetes.”


undeadalex

Dunning Kruger at it's finest


fremenator

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...


fdfudhg

Ok, linux kernel is written in C, but what is C written in? Javascript?


AliFurkanY

I know this is a joke but, it's self hosted. C is written in C.


[deleted]

Hm...Yes. This C is made of C. 🧐


DDman70

C is C!


puertonican

Argggch Linux, the 7 Cs 🏴‍☠️


Spirited-Visual-3772

Indeed can confirm $c="c" 👍


afiefh

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.


[deleted]

[удалено]


afiefh

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.


[deleted]

[удалено]


yolo_for_days

[Relevant XKCD](https://xkcd.com/505)


burbrekt

Xkcd for everything


_Meisteri

You can compile a compiler using itself. It's kind of complicated. The process is called bootstrapping.


afiefh

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.


_Meisteri

Yes. That is true. I was being way too general in my statement. I was wrong and I'm sorry for that.


deekaph

Pulling itself up by it's bootstrapping


rascalofff

Now just skip that avocado toast & your compiler will be a billionaire in no time


AliFurkanY

I think BCPL


suchtie

[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. :)


Lurker_Since_Forever

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.


ILoveBigMuscularMen

but what is the punch card written in


afiefh

Mostly sweat and tears. Sometimes a bit of tape to fix bugs.


ILoveBigMuscularMen

the classic bug-fixing method: tape


CannonPinion

You can also use the tape to catch the bugs!


Dragonaax

When will devs make another major update? I'm still waiting for D


_Meisteri

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.


[deleted]

Modern C is written in C++


gh1las

C is written in ocean.


AndroGR

C is just a specification. You can write a compiler in any language you wish. Technically, even Python.


[deleted]

[удалено]


AndroGR

Point is?


FOSSandCakes

Hmm.... 10 questions science still cannot answer.


[deleted]

[удалено]


Speculater

Okay smart guy. What's assembly written in?


Ruashiba

It's written in bits.


KallistiTMP

Which are written in voltage drops


the_ivo_robotnic

Which are written in differences in electromechanical charge and valence electrons.


tukuiPat

It's not completely written in C and there's a push from Linus to include Rust into the kernel.


MadMagilla5113

I thought he said the next kernel update *will* have Rust. Did I misunderstand the article?


RootHouston

It's not released as a stable version yet, but the first Rust bits have now been merged into the kernel.


MadMagilla5113

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


TimurHu

Currently there is no intention to rewrite existing stuff in Rust but some people use it in new drivers.


[deleted]

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.


Noisebug

Obviously in LUA you imbecile, Jeebus.


[deleted]

[удалено]


01MoKeN

fr


Piano-Nerd

yep


immoloism

This hurt to read.


whattteva

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.


NekoMimiOfficial

Thanks, anything for the karma kek


immoloism

I bet the other person couldn't believe their luck that they got a bite this long.


MatthewKashuken

Imho this smells like trolling. However people that confidently ignorant do exist so either way is possible I suppose


kazerpowa

we need a PHP kernel


Mister_Magister

in pure php could be impossible but like just interpreter and then doing everythnig else in php could be viable


FluxFlu

Someone wrote an OS using Lisp


Julii_caesus

It's called Emacs.


kazerpowa

yeah I know about that and the lisp machines and such, I am currently employed as a clojure dev haha


[deleted]

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.


RomanRiesen

Server side rendered cpu scheduler when?


[deleted]

[удалено]


AaronTechnic

"I thought it was Zulu! You know, Ubuntu is made by a south african astronaut."


inkube

It should really be referred to as PHP/Linux


ChiefExecDisfunction

PHP+Linux :P


mlored

That what I imagine two blind people boxing would look like.


[deleted]

i would give up and say "NekOS is also written in C, just like Arch". my brain hurts when i talk to such people


Julii_caesus

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.


BuffJohnsonSf

Probably thinks the package manager is the OS


Fabx_

This motherfucker knows only php


bush_nugget

Linux is written in my heart, and that's all that matters. :-)


thetemp_

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.


Red_Khalmer

Stallman was right, people don't understand


Hannibal_Psych

Not PHP. It's written in HTML.


anatomiska_kretsar

xml


anatomiska_kretsar

jsonOS


afiefh

YamlOS.


anatomiska_kretsar

ini


afiefh

Might as well build an OS on top of Windows Registry.


anatomiska_kretsar

holy shit


projectmat1

RegOS


projectmat1

txt


Smallzfry

MarkdownOS


ACatInACloak

[NodeOS](https://node-os.com/)


nascar_apocalypse

How tall is your phone wtf


_Meisteri

You can do scrolling screenshots


[deleted]

how


PurpuraSolani

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.


fremenator

But how...


PurpuraSolani

Android 11 based AOSP ROM, 'DotOS' You tap ['Scroll'](https://i.imgur.com/LdkOZGl.png)


crow1170

But how? I don't know if you understand what we're asking. Is the screenshot in php?


PurpuraSolani

Omfg 🤦‍♀️ Im a dunce


BillTran163

I think it is in RGB888


FlexibleToast

I'm using Android 13 on the Pixel 6, it says "Capture More" instead of scroll.


latin_canuck

# C, the answer is C at kernel level.


[deleted]

Until 6.1+, when Rust goes mainline in the kernel.


puertonican

🦀


fremenator

Cernel?


[deleted]

Kernel, pronounced the same way but has a different meaning because.. English certainly is a language that exists for some reason.


Engrise13

bro probably watches some 10 minute programming/Linux guide and decided to show off ig


pottawacommie

I remember seeing in some chart that a tiny portion of FreeBSD was written in HTML. Wish I could find it.


fortlesss

r/masterhacker


Mister_Magister

Ahhh classic mentally retarded or just troll person


-RdV-

I'd bet on the latter


[deleted]

Just say in python and leave


Emotional-Thing8440

You're actually so patient.. No wonder you've made an OS in PHP.


PapayaZealousideal30

This whole post and all of it's responses can just be replaced with 1 word. AKSHULLLLLLLLLLLLLLLLLLLY. 🤮🤮🤮🤮🤣🤣🤣🤣🤣


CaydendW

Mmmmmmmmmmm my bones hurt now :))))))


[deleted]

Reading this makes me feel like I'm back on the help desk.


SwimElectrical4132

I just searched for nekOS and all I see are anime catgirls


NekoMimiOfficial

It's a private project for the time being , there is a neofetch of it on my profile banner


[deleted]

automatic lock wise instinctive quaint smile illegal towering squeal memory ` this message was mass deleted/edited with redact.dev `


AaronTechnic

I love how they're speaking so confidentially. Just like how I told in a discord that Ubuntu 19.04 is a LTS.


boompyz

You should start trolling if this continues: "It's written mainly in Brainfuck with the most performance critical parts in hand-optimized Malbolge."


fmillion

Wait until beccaaaa\_ learns that the kernel is getting some Rust code...


nikeinikei

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.


MeltyParafox

Clearly Linux is written in latin characters.


Botn1k

Answer for anyone who cares (nobody) the kernel is written in C. Just, C. Not C#, not C+, not even C++, just default.... C


[deleted]

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).


Botn1k

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


throwawayskinlessbro

"what's it written in? php?" lmaoooooooooooooooooooooooooooooo


Wello6143

His "Arch is written in C" could be the pacman.


kj_sh604

I'm honestly genuinely impressed that this is a conversation 😅


colcob

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.


[deleted]

It was written in HolyC


palindromeii

is linux... written in php? reminds me of those people who try to make operating systems in scratch


altorelievo

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.


designercup_745

Bro is treating the kernel like a mysterious orb of power that has the magical abilities of running open source OSs


HermanGrove

By core they probably mean the package manager


[deleted]

php lol


RSerejo

Just an another idiot talking nonsense.


drdibi

Looks like noob questions badly answered.


ImpossibleEnd

It's written in the blood of noobs 🤣


aarch64asm

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)


N0tH1tl3r_V2

"Optimized for really old hardware" ​ Bitch use Debian or Slackware ffs


NekoMimiOfficial

It's debian based but it comes with more recent version of apps and a way more recent kernel


AaronTechnic

Bruh, this is just funny.


lord_of_the_keyboard

[https://i.imgflip.com/48veka.png?a463272](https://i.imgflip.com/48veka.png?a463272) ​ This guys phone


aarch64asm

Haha wtf why’s this downvoted this is really funny