Finally i’m gonna be able to contribute!

You are viewing a single thread.
View all comments View context
93 points

Don’t tempt fate. There are already two kernels written in javascript

permalink
report
parent
reply
57 points

Why would God allow this to happen?

permalink
report
parent
reply

To punish us for the sin that is inventing JavaScript.

permalink
report
parent
reply
28 points

Why do you think God stays in heaven, in fear of what He created?

permalink
report
parent
reply
8 points

For the benefit of any of Today’s 10,000 I just want to point out that this is a reference to a quote from a movie.
The same movie stars Danny Trejo as Machete.
This movie is Spy Kids 2.

permalink
report
parent
reply
6 points

God is dead

permalink
report
parent
reply
8 points
*

We killed Him

permalink
report
parent
reply
17 points

How? You’d need to compile it down to machine code somehow, for the processor to have any clue how to run it. And you’d need some custom library with custom compile instructions, to be able to control memory allocations, memory addresses etc…

I did a quick search and found two operating systems written in JS, both of which cop out when it comes to the kernel. Did you maybe mix it up with those?

permalink
report
parent
reply
13 points
*

There’s almost always at least a little ASM sprinkled into any kernel, so that’s not a big deal.

OTOH, there is the factor of “you know how Chrome takes up 2GB per tab? What if that was a whole OS?”

permalink
report
parent
reply
3 points

Maybe I did, I haven’t looked any of them carefully

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 9.5K

    Monthly active users

  • 861

    Posts

  • 33K

    Comments