Live data from Hacker News

WebKit.js: Pure JavaScript Port of WebKit

github.com

31–40 of 96 posts

Re: WebKit.js: Pure JavaScript Port of WebKit

#31

I may be the only one excited about this, but I think it's awesome. I imagine a future where a "web browser" is just a WebGL + Networking + JS API, and you just load in HTML5.js. The benefit of something like this is that it puts the power back in the hands of the people. You don't have to worry about Microsoft ignoring standards, you just load in the HTML5.js that you know works. Want a new feature? Fork HTML5.js on…

Yeah, but I imagine a future where an "operating system" is just a OpenGL + Networking + JS API, and you just load in HTML5.exe . The benefit of something like this is that it puts the power back in the hands of the people. You don't have to worry about Google and Apple restricting what you can do, you just load in the HTML5.exe that you know works. Want a new feature? Fork Firefox on GitHub. (I don't want to belittl…

Arbitrarily running x86 machine code fetched over the net? Pass.

Re: WebKit.js: Pure JavaScript Port of WebKit

#32

I may be the only one excited about this, but I think it's awesome. I imagine a future where a "web browser" is just a WebGL + Networking + JS API, and you just load in HTML5.js. The benefit of something like this is that it puts the power back in the hands of the people. You don't have to worry about Microsoft ignoring standards, you just load in the HTML5.js that you know works. Want a new feature? Fork HTML5.js on…

You should check out Alan Kay's OOPSLA keynote "The Compute Revolution Hasn't Happened Yet" at http://www.youtube.com/watch?v=oKg1hTOQXoY specifically about 20 mintues in where he says that a browser should be exactly what you say here. On the one hand, he was talking about this almost 20 years ago, on the other hand you're in good company because he's a pretty smart guy!

I encourage all developers to watch that talk and do some thinking about the current state of our practice and where we want to go from here.

Re: WebKit.js: Pure JavaScript Port of WebKit

#33

I may be the only one excited about this, but I think it's awesome. I imagine a future where a "web browser" is just a WebGL + Networking + JS API, and you just load in HTML5.js. The benefit of something like this is that it puts the power back in the hands of the people. You don't have to worry about Microsoft ignoring standards, you just load in the HTML5.js that you know works. Want a new feature? Fork HTML5.js on…

I don't know about a WebGL API on node.js, but I'm currently updating a set of bindings for SDL to SDL2. (https://github.com/Freezerburn/node-sdl) Theoretically, you could use the same WebGL code, and add a few lines of code to open up a window, plus possibly some slightly different code for loading images, and re-use the rest of your logic on the client side. Change the code a little bit more, and it could optionally open a WebGL window in the DOM or an SDL2 window depending on the environment. Presto, you have a game which is easily portable. (not counting for oddities in drivers for different OSes)

Though that's all in theory. It could be a pie-in-the-sky ideal that doesn't exist yet.

Re: WebKit.js: Pure JavaScript Port of WebKit

#34

I may be the only one excited about this, but I think it's awesome. I imagine a future where a "web browser" is just a WebGL + Networking + JS API, and you just load in HTML5.js. The benefit of something like this is that it puts the power back in the hands of the people. You don't have to worry about Microsoft ignoring standards, you just load in the HTML5.js that you know works. Want a new feature? Fork HTML5.js on…

Very exciting indeed. This is exactly what I wanted back in the day: http://alertdebugging.com/2011/09/22/the-promise-of-the-web/ (last paragraph).

Excellent read, thank you.

Re: WebKit.js: Pure JavaScript Port of WebKit

#35

I may be the only one excited about this, but I think it's awesome. I imagine a future where a "web browser" is just a WebGL + Networking + JS API, and you just load in HTML5.js. The benefit of something like this is that it puts the power back in the hands of the people. You don't have to worry about Microsoft ignoring standards, you just load in the HTML5.js that you know works. Want a new feature? Fork HTML5.js on…

So, your browser is reduced to a language interpreter and sandbox, executing a text based bytecode.

Kind of like the JVM?

Re: WebKit.js: Pure JavaScript Port of WebKit

#36
post #5

[ insert obligatory Atwood's Law quote here ]

[ insert obligatory tlrobinson's Law quote here ]

(tlrobinson's Law: any submission to Hacker News about a novel JavaScript program will contain a comment referencing Atwood's Law. https://twitter.com/tlrobinson/status/395636386671235072)

Re: WebKit.js: Pure JavaScript Port of WebKit

#37

I may be the only one excited about this, but I think it's awesome. I imagine a future where a "web browser" is just a WebGL + Networking + JS API, and you just load in HTML5.js. The benefit of something like this is that it puts the power back in the hands of the people. You don't have to worry about Microsoft ignoring standards, you just load in the HTML5.js that you know works. Want a new feature? Fork HTML5.js on…

Yeah, but I imagine a future where an "operating system" is just a OpenGL + Networking + JS API, and you just load in HTML5.exe . The benefit of something like this is that it puts the power back in the hands of the people. You don't have to worry about Google and Apple restricting what you can do, you just load in the HTML5.exe that you know works. Want a new feature? Fork Firefox on GitHub. (I don't want to belittl…

I'm posting this comment from a ChromeBook Pixel...

I think this future is mega interesting, and I hope it comes to pass.

Re: WebKit.js: Pure JavaScript Port of WebKit

#38

I may be the only one excited about this, but I think it's awesome. I imagine a future where a "web browser" is just a WebGL + Networking + JS API, and you just load in HTML5.js. The benefit of something like this is that it puts the power back in the hands of the people. You don't have to worry about Microsoft ignoring standards, you just load in the HTML5.js that you know works. Want a new feature? Fork HTML5.js on…

Very exciting indeed. This is exactly what I wanted back in the day: http://alertdebugging.com/2011/09/22/the-promise-of-the-web/ (last paragraph).

"back in the day" 3 years ago? Are you 10 years old?

Re: WebKit.js: Pure JavaScript Port of WebKit

#39
post #38

Earlier quoted context omitted.

Very exciting indeed. This is exactly what I wanted back in the day: http://alertdebugging.com/2011/09/22/the-promise-of-the-web/ (last paragraph).

"back in the day" 3 years ago? Are you 10 years old?

http://en.wikipedia.org/wiki/Internet_time

Re: WebKit.js: Pure JavaScript Port of WebKit

#40
post #5

[ insert obligatory Atwood's Law quote here ]

[ insert obligatory tlrobinson's Law quote here ] (tlrobinson's Law: any submission to Hacker News about a novel JavaScript program will contain a comment referencing Atwood's Law. https://twitter.com/tlrobinson/status/395636386671235072 )

throw StopIteration; //For the love of god, please no more laws. I know it's tempting to coin a law about tlrobinson being brought up whenever atwood's law is brought up, but enough is enough already
Post reply on HN