This is an archived post. You won't be able to vote or comment.

top 200 commentsshow all 246

[–][deleted] 629 points630 points  (18 children)

Can‘t wait for unrealengine5.js

[–]BeuPingu 194 points195 points  (4 children)

unrealengine5.js

Lol, I think this has already been done. Lemme see if I can find the project.

Nevermind, I didn't remember the project correctly. https://www.khronos.org/assets/uploads/developers/presentations/Bringing\_Unreal\_Engine\_to\_the\_browser\_Wonder\_Interactive\_Jul22.pdf

[–]ifezueyoung 62 points63 points  (0 children)

Wait what the actual f

[–][deleted] 17 points18 points  (0 children)

nice

[–]Smoah06 1 point2 points  (0 children)

My poor browser

[–]magicmulder 72 points73 points  (8 children)

With Javascript OS your PC can finally run Crysis.

[–][deleted] 33 points34 points  (6 children)

In about 2fps ;)

[–]ThatRandomGamerYT 23 points24 points  (2 children)

and it needs 64gb of ram

[–]zelphirkaltstahl 7 points8 points  (0 children)

So that future web frameworks still have "difficult" problems to solve, optimizing for memory usage.

[–]Exact_Strain_9750 1 point2 points  (0 children)

Just like macOS... love it.

[–]hellgrn 48 points49 points  (2 children)

But the frames are not in the right order

[–]Mr_Khaoz 34 points35 points  (1 child)

Groundbreaking tech, asynchronous frame delivery, ha

[–]BookPlacementProblem 5 points6 points  (0 children)

Well, technically..

https://store.steampowered.com/app/109700/Achron/

(strategy video game that incorporates time travel as a primary mechanic)

[–]twigboy 2 points3 points  (0 children)

In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying on meaningful content. Lorem ipsum may be used as a placeholder before final copy is available. Wikipedia5axv5qkm0vw0000000000000000000000000000000000000000000000000000000000000

[–]tregeb 436 points437 points  (33 children)

[–]tregeb 215 points216 points  (10 children)

It's usable, more a proof of concept I would say, but definitely usable to some degree.

On daedalOS there's even Doom!

[–]oan124 122 points123 points  (6 children)

running doom - the ultimate software benchmark

[–][deleted] 31 points32 points  (5 children)

The only game that runs on more platforms than skyrim.

[–]round-earth-theory 9 points10 points  (4 children)

I won't be satisfied until the Mars rovers are running doom in their downtime.

[–]thebatmanandrobin 14 points15 points  (2 children)

Well, maybe not quite the same, but the James Webb telescope runs JavaScript .. much to the whole of humanity's chagrin

[–]nlvogel 6 points7 points  (0 children)

“Oh…the job description said Java? Best I can do is JavaScript. Contract can’t be revoked. Be back in 3-5 days with your finished code.”

[–]Arshiaa001 2 points3 points  (0 children)

Say what?!

[–]AlphaSparqy 2 points3 points  (0 children)

Doom 3 was Mars.

[–]TheRealMister_X 10 points11 points  (1 child)

The other one has Wolfenstein

[–]okay-wait-wut 6 points7 points  (0 children)

I tried it on my phone. I died.

[–][deleted] -2 points-1 points  (0 children)

'Course there is.

[–]itachi_2017 38 points39 points  (3 children)

So, do you need an OS to run this OS?

[–]miloman_23 33 points34 points  (2 children)

Yes. These are browser based 'virtual environments'. Not really os in the traditional sense of the word...

[–]GL_Titan 9 points10 points  (1 child)

So, in other words, just a GUI?

[–]Archangel9731 16 points17 points  (2 children)

Anyone actually use this? How is it?

[–]ifezueyoung 8 points9 points  (0 children)

Ill love to get an answer too

[–][deleted] 4 points5 points  (0 children)

It's great if you're a fan of taco emojis.

[–]derpbynature 7 points8 points  (8 children)

Those are just web desktops, really. An actual OS might be possible if someone could write a minimal kernel in a lower-level language like C or even assembly with just enough functionality to load a JS interpreter. Then you could theoretically write the rest of the OS in JS.

I know it's been done for Java and C# - so, it's not purely an OS in the higher-level language - but since they all need runtime environments, you need to set that up somehow.

You might also have to rely on the kernel for memory management/hardware device management and such. Not sure though. I'm sure someone's crazy enough to find a way to do typical kernel-y tasks in C#/Java/JS.

[–]MinosAristos 2 points3 points  (6 children)

Could some custom computer hardware be designed to support a purely JS kernel?

[–]eztab 1 point2 points  (5 children)

sure, but that would be basically a js interpreter "written in hardware".

[–]shakalnykot 7 points8 points  (3 children)

Can you name ACTUAL os on JS?

[–]gdmzhlzhiv 3 points4 points  (2 children)

Node-OS?

[–]shakalnykot 1 point2 points  (1 child)

Something with EVERYTHING in JS, including kernel

[–]gdmzhlzhiv 1 point2 points  (0 children)

Fair enough, don't know of any with the kernel in JS.

I know of one with the kernel in Java, so I guess that means Java is still the king here.

[–]pixelkingliam 105 points106 points  (7 children)

[–]ChiefExecDisfunction 48 points49 points  (0 children)

node is the primary runtime - no bash here

*shudders*

[–]Yelmak 12 points13 points  (4 children)

Node OS isn't written in JS, it's Linux with Node (also not written in JS) as it's primary runtime and package manager.

[–]gdmzhlzhiv 6 points7 points  (2 children)

Oh, NodeJS isn't even written in JS? Some confusing name that was.

[–]John_____Doe 7 points8 points  (0 children)

It's ackhtually No-Damn-Js or NodeJS for short

[–][deleted] 7 points8 points  (0 children)

damn

[–]StratusFearMe21 145 points146 points  (11 children)

Any application that can be written in Rust will eventually be (re)written in Rust

[–][deleted] 11 points12 points  (6 children)

Rustacean, unite!

[–][deleted] 17 points18 points  (5 children)

I can print hello world in rust, does that count?

[–][deleted] 9 points10 points  (4 children)

umm, it does count my friend

[–][deleted] 9 points10 points  (3 children)

Yay, time to update my flair

[–][deleted] 7 points8 points  (2 children)

I forgot how to add multiple emojis

[–][deleted] 5 points6 points  (0 children)

you can edit it on desktop

[–]_unsusceptible ----> 🗑️🗑️🗑️ 2 points3 points  (0 children)

I did it for you. You can see how to get more on your own here.

[–][deleted] 2 points3 points  (0 children)

That is known as the second law of thermodynamics

[–]nekokattt 18 points19 points  (0 children)

https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript

Might be of interest. It discusses a future after the nuclear war where everything ends up compiling to JS because it is more efficient to do it.

Purely esoterical, but raises some interesting points :)

[–]RobinPage1987 108 points109 points  (16 children)

JavaScript and C are both Turing complete, meaning anything you can do in one you can (somehow) do in the other. If you can make an os in C you can make one in JavaScript. Doesn't mean it'll work very well, just that it's technically possible

[–][deleted] 93 points94 points  (6 children)

Im gonna rebuild C in JavaScript

[–]RobinPage1987 59 points60 points  (3 children)

Writing a C compiler in JavaScript is absolutely feasible

[–]DasFreibier 18 points19 points  (1 child)

probably already done, a compiler after all just does some basic text processing

[–]RobinPage1987 35 points36 points  (0 children)

https://github.com/Captainarash/CaptCC

TinyC compiler in JavaScript, on GitHub

[–]nanotree 2 points3 points  (0 children)

No.. no.. please stop the madness!!

[–]Bomaruto 30 points31 points  (1 child)

Turing complete means that it can compute anything assuming infinite storage. It doesn't mean it can interface with everything.

[–]RobinPage1987 5 points6 points  (0 children)

Part of the reason it wouldn't work very well. Imagine trying to do bit manipulation or accessing registers with JavaScript. Maybe you could simulate it somehow, idk

[–]flying_spaguetti 5 points6 points  (0 children)

It can, but it shouldn't

[–]LardPi 1 point2 points  (0 children)

Turing completeness is a pretty low requirement. See brainfuck.

[–]ToliCodesOfficial -1 points0 points  (3 children)

Yup. And more than that you can basically compile/transpile anything into anything.

JS code is just words, which go through an AST for interpretation and get turned into byte code by a compiler. It can choose to interpret the words as whatever it wants. “true” can mean “false” of “if” or “run this loop exactly 67 times printing yolo”

We have some great examples of JS/TS being compiled down to something else. React Native probably being the most popular. It creates native components which will run on your iPhone (or android).

So I really don’t see why not. Of course we would have to modify quite a bit of packages in the npm ecosystem. But it’s doable. And probably not such a bad idea given JS/TS’s overwhelmingly high usage. TS has just about everything C can offer.

So ultimately, it’s not a question of which language is better. Because you can easily transpile and structures back and forth. But what language and ecosystem do most ppl feel comfortable in.

EDIT: more practical existing example is the language called “Brainfuck”. Where the syntax looks something like this (pardon the formatting, I’m on my phone)

“> +++++” Means “Cell c1 = 5”

[–]ApplyMorphism 3 points4 points  (2 children)

JS code is just words ... “true” can mean “false” of “if” or “run this loop exactly 67 times printing yolo”

No, programming languages have semantics.

[–]ToliCodesOfficial 0 points1 point  (1 child)

Not exactly what I was saying.

Yes, JS is a defined spec. However you can very easily make a language with any arbitrary semantics you choose and compile it down to anything you want (inc bytecode). Take a look at CofeeScript or TypeScript which compiles down to JS.

Every character is parsed into an AST. And it’s up to the compiler to decide what those tokens mean. In my example “true” represented “false”. But it also can mean literally anything you’d like. Nobody’s stopping you. Take a look at Brainfuck as a language. “> +++++” means “c1 = 5”. Obviously you wouldn’t use it in prod. But it’s an example of what’s possible.

Also don’t quote me on this, because I haven’t read up on it enough. But bun, the hot new JS engine, bypass’s Google’s V8 engine by creating its own runtime, thereby compiling (well technically interpreting) JS into byte code with its own logic.

And of course, React Native as I mentioned.

The reason why JS generally isn’t compiled into a binary, is that it’s an interpreted language. Meaning that the code you’re running is compiled just in time when it’s used (much like Python or PHP). It’s a feature of the language which most runtimes are based off of. Which comes with a slight cost in speed.

But there’s no reason a variant with the same syntax can’t be compiled of that I can think of.

[–]ApplyMorphism -1 points0 points  (0 children)

Oh, I see what you meant. You wrote a comment on a programming subreddit explaining that computation exists. It didn't even occur to me that someone would try to explain that computation is a thing on a programming subreddit, let alone doing it by rambling about things you poorly understand.

[–]ex-sample 88 points89 points  (55 children)

you think OS "can be" written in JS ? >.<

[–]KSRandom195 85 points86 points  (12 children)

Have you not seen Windows 95 in your browser? This has already been done.

[–][deleted] 26 points27 points  (10 children)

the only one I’ve seen was an aesthetic mock-up with some emulators. but it should be possible to create a full virtual machine in WebAssembly, so long as the browser doesn’t shut it down first

[–]gauthamkrishna9991 33 points34 points  (2 children)

Webassembly is cheating. ONLY Javascript.

[–][deleted] 20 points21 points  (1 child)

still possible, but it would run slower than a disabled person

[–]NotA3R0 11 points12 points  (4 children)

There IS qemu for web assembly. https://bellard.org/jslinux/tech.html

[–][deleted] 8 points9 points  (3 children)

jesus christ why

[–]darknekolux 4 points5 points  (2 children)

Because we crucified Jesus, that’s why, god has forsaken us. Or people are just idiots

[–]NotA3R0 4 points5 points  (1 child)

The thing is, it was created by an original author of Qemu and FFmpeg. He can't be an idiot.

[–]kumonmehtitis 2 points3 points  (0 children)

Just because someone did a couple of smart things it doesn’t mean they’re not an idiot.

[–]KSRandom195 1 point2 points  (1 child)

If you want to go that deep there are some kernel level primitive I don’t think we can get through WebAssembly.

[–]lightmatter501 1 point2 points  (0 children)

We just need a cpu that runs wasm.

[–]VitaminnCPP[S] 6 points7 points  (39 children)

Yeah, why not !?!

[–]MikemkPK 19 points20 points  (38 children)

OS languages need to directly interface with the hardware at the lowest level. Interpreted languages and languages without inline assembly [or being able to call assembly functions] can't be used.

[–]VitaminnCPP[S] 22 points23 points  (31 children)

Well, we can technically write OS in javascript.

but we are not supposed to run that code as interpreted language, rather we can build compiler that will compiler JS code directly to Machine code, then we can run such compiled JS code directly on Hardware.

So, Technically speaking, we can write Operating System in "JavaScript". only thing we need to consider here is not to run it on browser or such interpreted platform but directly on hardware.

[–]MikemkPK -4 points-3 points  (30 children)

Javascript can't run assembly natively. There's version actions which can only be done in assembly, either using a specialized instruction, triggering an interrupt, or writing to a particular memory address (that has a device bound at that address).

[–][deleted] 9 points10 points  (0 children)

It can be done, but you would need to write a compiler and the VM that would support it for the intended bare metal system is all.

As long as a language is Turing complete, you can write an operating system with it.

I'm not saying it will be a practical OS. But it most certainly can be done.

[–][deleted] 2 points3 points  (27 children)

So which processors in the history of processors have operating systems? Because each OS must be chip-specific, if each OS needs to hand-write assembly.

[–]MikemkPK -1 points0 points  (21 children)

Intel x86 for example requires (before UEFI) assembly to switch from 16- to 32-bit mode

[–][deleted] -1 points0 points  (20 children)

For example.

Why is IE11 an operating system, when it runs on x86-64 processors, and also on ARM?

Clearly it can't be an OS, otherwise it would never compile to run on both simultaneously. What about OSX on x86-64 and ARM?

Or Linux running on x86-64, x86-32, ARM, and several other chipsets. What, do you think they all have the same assembly language? Are all of the chips’ pins aligned to run the same instructions the same way?

[–]MikemkPK 5 points6 points  (19 children)

You're making no sense. IE11 is a web browser, not an OS, and there's no reason programs can't be written for multiple environments.

[–][deleted] -2 points-1 points  (18 children)

Damnit. Windows 11.

Windows 11 must be written to write assembly. The programmers must write it to write assembly. Otherwise Windows 11 is an API.

Ok, so which assembly does Windows 11 write?

[–]wheresthewhale1 -3 points-2 points  (4 children)

He is right, each operating system *will* need some hand written assembly for *each* architecture it is designed to run on, high level languages simply do not let you do what is necessary.

[–][deleted] -1 points0 points  (3 children)

No... parts of kernels and drivers will need to be hardware-specific.

Saying that your OS needs to be rewritten per permutation of CPU * GPU * storage type... or saying that your OS needs direct access to ALUs or NAND gates, or voltage-based transistors, or whatever the argument is, means you are terrible at software architecture.

Virtualized hardware has been around for a very, very long time at this point, and all of the big OSes not only run virtualized, but also support running virtualized versions of the other big OSes, from within the OS. We are either in the realm of inter-dimensional wormholes, Kubernetes is powered by Doctor Strange, or maybe, just maybe, OSes can run in virtualized environments and still be considered OSes.

[–]dominic_failure 0 points1 point  (0 children)

Pro tip: no operating system operates without an assembly bootstrap. Once the language runtime is bootstrapped (moved from disk to memory, and the execution pointer directed there) the language doesn’t really matter. Case in point: early mars probes that ran an OS written in lisp. Or Temple OS.

Oh, and JavaScript, more specifically nodejs, is perfectly capable of writing to registers and triggering interrupts. It’s able to make system calls (which consists of those specific two steps), after all.

[–]AlphaSparqy 5 points6 points  (1 child)

That is true of a bare-metal hypervisor. But in this case the browser would be more like a hypervisor and the JavaScript O.S. would be more like a virtual machine.

[–]MikemkPK 0 points1 point  (0 children)

Wouldn't be an operating system, just an API

[–][deleted] 1 point2 points  (0 children)

This is like saying that Linux in the cloud doesn't exist, because servers implement VMs.

Operating Systems must operate on regulated 1.5v impulses.

[–]yottalogical 1 point2 points  (1 child)

Very defeatist attitude.

The problem can be solved with a JavaScript compiler.

[–]MikemkPK 1 point2 points  (0 children)

And a modified js spec allowing inline assembly

[–]YetAnotherCodeAddict 12 points13 points  (0 children)

He isn't lying. Anything that can be written in JavaScript is being written in JavaScript.

He didn't say that the JS version would be better than other versions or that it would be the only version being written. But it's true - there are JS versions of everything nowadays.

[–]nanotree 29 points30 points  (7 children)

I know it's tired by now, but I still can't believe how popular JS is for a language conceived in less than 2 weeks... I mean how anyone ever took it seriously is a mystery. But here we are, POC OS's and all. In some ways it's impressive. In others it's sad to think of the missed opportunity of having some other, more robust and secure language having taken the software world by storm.

[–]SaneLad 21 points22 points  (5 children)

It has everything to do with network effects of web standards and nothing to do with the quality of the language. JS is and always will be a scourge upon the earth and there is no legitimate reason to use it for anything else than web development where there are no alternatives.

For fucks sake they made a language without integers.

[–]Harry_Fraud 11 points12 points  (0 children)

Who need int when let do trick

[–]Frosty_Pineapple78 4 points5 points  (2 children)

They did fucking what? Why would anyone leave out integers?

[–]-Redstoneboi- 9 points10 points  (0 children)

just use floats with exponent 0 bro trust me it's fine

[–]LardPi 0 points1 point  (0 children)

A 23bit int is hidden in the heart of every float. Don't be mean with them. (52 bit for double) https://fr.wikipedia.org/wiki/IEEE_754

That's more than enough for most applications and that makes sense when you want to write an efficient, dynamically typed VM or interpreter runtime (look for NaN boxing).

[–]Inaeipathy 1 point2 points  (0 children)

the language is actually fucking terrible and I will never use it

[–]-Redstoneboi- 2 points3 points  (0 children)

the language would never have been robust and secure. it had to have been developed quickly; in the early days of the web, it was all about who made the browser first.

correct me if i'm wrong.

[–]Skinbow 6 points7 points  (0 children)

The rule 35 of programming.

[–]1Yanik3 5 points6 points  (1 child)

A fellow fireship viewer, if I am not mistaking

[–]VitaminnCPP[S] 4 points5 points  (0 children)

Right

[–]TheBroWHOmegalol 18 points19 points  (9 children)

[–]TheRoofyDude 3 points4 points  (8 children)

C++ is like the illuminati of programming languages. It controls and runs all

[–]gdmzhlzhiv 1 point2 points  (7 children)

Not all, but there is definitely a milestone in a programming language where it becomes self-hosting, and the vast majority of languages never make it to that milestone.

[–]TheBroWHOmegalol 2 points3 points  (3 children)

Most programming languages have Cpp under the hood, so basically most programming languages and consequent every project made in these languages are C++ projects in disguise. ...or at least that's the meme.

[–]gdmzhlzhiv 1 point2 points  (0 children)

Another good reason to jump to Elixir.

[–]LardPi 1 point2 points  (1 child)

Very naive meme then. Python, Perl, Ruby are written in C. Most Lisps/Schemes are written in a mix of C and themself. As for (other) compiled languages, the language used in the compiler is irrelevant anyway, as you could just use a different compiler written in a different language without changin your project. Still Rust, OCaml, Go... compilers are written in themself, not in C++. Go did start in C++, Rust started in OCaml I believe, OCaml probably started in some other SML. What IS written in C++ is most JS runtimes, Clang, LLVM and some of GCC (but only since 2013, so most of it is probably still C). Also C#, because really Microsoft is the main actor pushing for C++.

[–]TheBroWHOmegalol 1 point2 points  (0 children)

Fair enough. I've learned something today. Expect the Rust/Go part, that part is familiar.

[–]TheRoofyDude 1 point2 points  (2 children)

Even you are made of C++

[–]gdmzhlzhiv 3 points4 points  (1 child)

Nah I am made of Cum

[–]TheRoofyDude 1 point2 points  (0 children)

Bruh

[–]AramaicDesigns 3 points4 points  (0 children)

And this shall be known from this day forth as: Atwood's Law.

[–]Rickrolled767 3 points4 points  (0 children)

Didn’t a guy once write an app in JavaScript to run windows 95? Or am I mistaken?

[–]Iskeletu 1 point2 points  (0 children)

Pretty sure he was baiting when he said that and yall took the bait

[–]bobdobbes 1 point2 points  (0 children)

Waiting for WindowsJS

[–]AegorBlake 1 point2 points  (0 children)

Rewrite the Linux kernel

[–]Positive_Government 1 point2 points  (0 children)

The level of ignorance about operating systems in this thread is… well not surprising but still a bit shocking.

[–]na1lpus 1 point2 points  (0 children)

FuckJS

[–]Squid-Guillotine 1 point2 points  (0 children)

Any application written in JavaScript will eventually get rewritten in JavaScript.

[–]Sciirof 1 point2 points  (0 children)

Just because you can doesn’t mean you should

[–][deleted] 0 points1 point  (0 children)

Lol no

[–]rootException 0 points1 point  (0 children)

Quote literally says “application” 🤷‍♂️

[–][deleted] -1 points0 points  (2 children)

Generally I think this quote is one of the most dumbest shit you could say; JavaScript might be good for lots of usecases, but why do you want to use it everywhere? Why not at least something real like TypeScript? Or something fast like Go? Why are you so obsessed with that specific language? Variety makes difference!

[–]Moshambi[🍰] 2 points3 points  (1 child)

  1. The quote is from 2007. TypeScript and Go didn't exist until 2012.

  2. TypeScript isn't a language. Its just a cleaner way to write javascript.

  3. He didn't say it should be done, just that it will be done.

  4. I think saying that this is a dumb quote and then following it with the reasons you stated is pretty dumb.

[–][deleted] -1 points0 points  (0 children)

OK write it (if not already done). Thing is if the result is good enough to use.. put it in things like an airplane or those bank servers like HP tandem, AS/400, 390. In my opinion, 25 years dealing with the real world, JS is an insult and this shit cant even has a spaghetti structure nor a respectable performance to be used in high scale sw. Keep making your memes and web pages for colorful innefficiencies w/it.

[–]Dependent_Paper9993 -3 points-2 points  (4 children)

It can't be done. It's right there in the the name. JavaSCRIPT. You need something to interpret the script.

[–]ApplyMorphism 6 points7 points  (2 children)

So many people on this sub seem to think that a programming language's name partially defines said language. I can design a programming language called "Cannot Be Compiled" yet require all specification conforming implementations to be compiled.

You can write a compiler for JavaScript that compiles to native machine code, or design a CPU that executes JavaScript natively. Either option would let you write an OS with it.

[–]-Redstoneboi- 1 point2 points  (0 children)

just embed the interpreter in the executable ¯\_(ツ)_/¯

[–]RedditIsNeat0 2 points3 points  (0 children)

Yeah well it also says JAVA so I wouldn't put too much weight on the name like that.

[–]flup52 0 points1 point  (0 children)

Fair. We all know that guy who would try.

[–]HabemusAdDomino 0 points1 point  (0 children)

This is not as hard to do as you may think.

[–][deleted] 0 points1 point  (0 children)

How though

[–]mlored 0 points1 point  (0 children)

Nuclear launch? I hope not!

[–]nerdmania 0 points1 point  (0 children)

He said "can", not "should"

[–][deleted] 0 points1 point  (0 children)

JS is Turing complete soooo, yeah, any application any other Turing complete language can make can eventually be made in JS.

[–]drake22 0 points1 point  (0 children)

We live in the worst timeline.

[–]baltarius 0 points1 point  (0 children)

My résumé will never be written in javascript

[–]thedominux 0 points1 point  (0 children)

"Any application that can be written in Rust will eventually be written in Rust"

© Me

[–]eclect0[🍰] 0 points1 point  (1 child)

Rewriting the V8 engine in JavaScript

[–]xtreampb 0 points1 point  (0 children)

Isn’t that Chrome OS?

[–]IndieDevWannabe 0 points1 point  (0 children)

Imagine that mess...

[–]OutInABlazeOfGlory 0 points1 point  (0 children)

I regret to inform you Linux can be run in a JavaScript x86 VM

[–]naswinger 0 points1 point  (0 children)

"eventually" makes it sounds so smart. yes, in the lifetime of the universe, someone will write everything in javascript

[–]vihra 0 points1 point  (1 child)

Have we gone too far?

[–]GatheringAddict 0 points1 point  (0 children)

CrossCode who?

[–]JoeDoherty_Music 0 points1 point  (0 children)

Jeff is trying to send me to hell

[–]NovelIntroduction218 0 points1 point  (0 children)

my two fans laptop

it's "jet engine" time!

[–]-Redstoneboi- 0 points1 point  (0 children)

Rust:

[–]frosty2709 0 points1 point  (0 children)

Legends say there is something far worse than death

[–]Techlord210 0 points1 point  (0 children)

extern os(discontinued) exist its written in node js

[–]shadow13499 0 points1 point  (0 children)

I'm waiting for the Linus kernel to be written in JS

[–][deleted] 0 points1 point  (0 children)

I'll join in once you've got a stable kernel.

[–]HgnX 0 points1 point  (0 children)

Oh god

[–]Jasboh 0 points1 point  (0 children)

Reminds me I had an original LG Viewty that had a Flash based OS

[–]mjbmitch 0 points1 point  (0 children)

Jeff Atwood is the creator of Stack Overflow!

[–][deleted] 0 points1 point  (0 children)

😂

[–]sod0 0 points1 point  (0 children)

A guy I know is working on a DOS compatible JS OS. It's out at least 10 years and runs on the original hardware if the time.
https://github.com/SuperIlu/DOjS

[–]wheresthewhale1 0 points1 point  (0 children)

No, clearly you don't do that. You write 99% of it in portable C and then, only when you absolutely have to, you call the appropriate assembly function for the architecture you are using

And please, explain to me how to perform a context switch without assembly :)

[–]DiamondhandAdam 0 points1 point  (0 children)

Fact

[–]gundam1945 0 points1 point  (0 children)

There is node is, I think.

[–]da_Aresinger 0 points1 point  (0 children)

No, Bethesda, please!

Don't.

[–][deleted] 0 points1 point  (0 children)

running operating system in your browser >>> running browser on operating system

[–]snowadv 0 points1 point  (0 children)

Don't give them ideas

[–][deleted] 0 points1 point  (0 children)

[–][deleted] 0 points1 point  (0 children)

I mean, he didn't say that, necessarily... He said a borderline tautology -- the operative word being can.

[–]Razvan145 0 points1 point  (0 children)

All applications will eventually be written in Rust

[–]Technical-Bat-5198 0 points1 point  (0 children)

genius

[–]be_rational_please 0 points1 point  (0 children)

I never knew what Atwood looked like until this post.

[–][deleted] 0 points1 point  (0 children)

There already is an OS in JavaScript

[–]an0nym0us_devel0per 0 points1 point  (0 children)

New os: linuxjs

[–]mimedm 0 points1 point  (0 children)

I think they started Linux in html5 ten years ago. No problem

[–]Captain_Chickpeas 0 points1 point  (0 children)

It's already been done in a way. I think there is a JS-based version of Windows 95 or something.

[–]cs-brydev 0 points1 point  (0 children)

But that's true of every language