Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Famo.us To Open Source Rendering Engine Replacement JavaScript Framework

Soulskill posted about a year ago | from the layers-of-complexity dept.

Open Source 48

snydeq writes "Famo.us has announced it will be open sourcing its framework for achieving native app performance within the browser, InfoWorld reports. 'Why so much fuss over another JavaScript framework? Mainly because it is unlike any other framework out there: Famo.us replaces the browser's rendering engine with its own, which is written entirely in JavaScript, and fuels it with the GPU acceleration provided by CSS's 3D transformation functions. Most any device these days that can run a modern browser — even a modest smartphone — has some kind of GPU supporting it, so why not leverage that? Armed with Famo.us, developers can maintain a single code base that performs well across many platforms.' Demo code is available on Codepen. Famo.us is also partnering with Firebase, a database as a service for mobile and Web apps."

cancel ×

48 comments

Sorry! There are no comments related to the filter you selected.

Still won't work with IE (1)

i kan reed (749298) | about a year ago | (#45601109)

<clippy> It looks like you're trying to use advanced CSS/javascript features that we don't support. Would you like to write a letter instead </clippy>

Re:Still won't work with IE (2)

ledow (319597) | about a year ago | (#45601355)

Or Opera.

I just get a page of junk.

Re:Still won't work with IE (2)

jez9999 (618189) | about a year ago | (#45605821)

No, that's just Opera.

Re:Still won't work with IE (2)

viperidaenz (2515578) | about a year ago | (#45602641)

Doesn't work on Firefox 24 ESR either.

Re:Still won't work with IE (0)

Anonymous Coward | about a year ago | (#45605469)

Actually it does work in IE11 and Chrome but not the latest Firefox.

Native speed my ass (0)

Anonymous Coward | about a year ago | (#45601229)

Native app performance? Yeah, right. Their examples are laggy even on a quad-core phone.

Re:Native speed my ass (1)

binarylarry (1338699) | about a year ago | (#45601249)

It's "web native" which means it sucks *and* it sucks.

Re:Native speed my ass (2)

binarylarry (1338699) | about a year ago | (#45601321)

Wow, I take that back.

It sucks cubed!

It bogs down my Core i7 dedicated nvidia ivy bridge system rendering a few dozen translucent quads. LOL!

Re:Native speed my ass (0)

Anonymous Coward | about a year ago | (#45601891)

fuels it with the GPU acceleration provided by CSS's 3D transformation functions

It's no secret that CSS transformation performance is fucking abysmal on every platform. Probably trying to collect some more VC money before cashing out. SV is fucking pathetic.

Re:Native speed my ass (1)

gl4ss (559668) | about a year ago | (#45605141)

the thing with css transforms afaik(from what I've seen, read) is that they don't cause a refresh of the DOM for the browsers.

I don't really get why the fuck you would need "native application performance" if it's talking about native application performance when it comes to fucking boxes with static content.

now if the devices had ok canvas support..

on another related thing, I was playing around with intel xdk(formerly appmobi??) today. trying to get the App Game Interface(basically should act like a canvas but in different thread?) demos to work on android. no dice. they say it's supported but it sure doesn't work on any androids I have. a shame, the sdk itself is very nice, but even the test player on android is monkeyballsucks(and at just 1000 installs from the market, too).

somehow thats what has been the defining factor for such write once deploy everywhere for the past _decade_ - it always works fine on the simulator and then they don't follow through with the thing you would actually need the fucking thing for...

Re:Native speed my ass (0)

Anonymous Coward | about a year ago | (#45613763)

Do you mean Silicon Valley? I'd point out that plenty of good stuff comes out of SV.

Re:Native speed (1)

Anonymous Coward | about a year ago | (#45602031)

Runs very well on Chrome, Win 7, onboard ATI HD graphics.

Doesn't work on any other browser - redirected to /c/.

Slow on Chrome on the phone.

captcha: cheeeks

Re:Native speed (1)

Adam Jorgensen (1302989) | about a year ago | (#45605769)

Runs nicely on my work laptop:

Chrome 31
Asus X550CC
Nvidia 720M chipset
2ghz Core i7U
8gb of RAM

Too lazy to write a cross-platform website? (4, Funny)

pavon (30274) | about a year ago | (#45601341)

Too lazy to write a cross-platform website? No worry dawg, we put a browser in your browser, so you can suck while you suck.

Why not leverage that? (0)

Anonymous Coward | about a year ago | (#45601501)

"Most any device these days that can run a modern browser — even a modest smartphone — has some kind of GPU supporting it, so why not leverage that?"

Because it uses a lot of memory and is probably the fastest way to suck up RAM without being outright malicious.

Re:Why not leverage that? (1)

_merlin (160982) | about a year ago | (#45601711)

And battery - running the GPU harder sucks juice fast on Android phones.

Re:Why not leverage that? (1)

TechyImmigrant (175943) | about a year ago | (#45603561)

Because leverage is not a verb.

Re:Why not leverage that? (1)

Anonymous Coward | about a year ago | (#45603663)

Sure it is. Been used as one for going on 60 years.

Re: Why not leverage that? (1)

cyber-vandal (148830) | about a year ago | (#45605573)

Has it been used as a replacement for 'use' by buzzword-spouting marketdroids for that long?

WTF? (5, Interesting)

amicusNYCL (1538833) | about a year ago | (#45601653)

Famo.us To Open Source Rendering Engine Replacement JavaScript Framework

That headline was generated using one of those marketing buzzword generators, wasn't it?

Suck my big black cock you stupid faggorts!!! (-1)

Anonymous Coward | about a year ago | (#45601753)

Web 3.0 bitches!!!

Re:WTF? (0)

Anonymous Coward | about a year ago | (#45603897)

I don't think so. It doesn't say 'SEO' or 'social media' anywhere.

Re:WTF? (2)

mha (1305) | about a year ago | (#45606889)

I read it 3 or 4 times before I gave up and read the summary. Sounds like someone (submitter and the one accepting the submission) are easily excitable, or it is a marketing placement (which does not necessarily mean "for pay", good connections can achieve more, sometimes).

Unless I'm wrong and this is the most exciting thing since the creation of http://www.reddit.com/r/cats/ [reddit.com]

Just what we needed... (0)

Anonymous Coward | about a year ago | (#45601817)

...more CrappScript Crapps!

Thought your browser was slow enough as-is? Well, let's make a new rendering engine, written in CrappScript, that has to be rendered by the existing rendering engine! What could possibly go wrong? (Suddenly, your brand new Haswell i7 runs slower than a 286.)

bad website, bad idea (0)

Anonymous Coward | about a year ago | (#45601829)

That website is appalling, as is the code example.

Anybody who thinks that Javascript is the answer to anything has been asking the wrong question.

impact on the mobile frameworks out there (1)

trybywrench (584843) | about a year ago | (#45602195)

I wonder what impact this engine could have on the mobile frameworks out there ( JQM, PhoneJs etc ). The article states that they got the head mobile guy from Facebook. The next few months could get very interesting in that world.

Re:impact on the mobile frameworks out there (1)

gl4ss (559668) | about a year ago | (#45605351)

if it's the guy that headed the html5 app versions of the facebook app, then the impact is neglible.

jqm itself is getting pointless. well it always kinda was pointless since it's heavier than normal jquery! and causes all kind of headaches with the "cool tricks" it uses for loading the next page to the same (with javascript, wanna guess what that does for memory??)page etc.

Blink? (1)

K. S. Kyosuke (729550) | about a year ago | (#45602335)

Famo.us replaces the browser's rendering engine with its own, which is written entirely in JavaScript, and fuels it with the GPU acceleration provided by CSS's 3D transformation functions.

To me, that sounds very much like the direction in which Chrome/Blink is heading - shrink the C++ codebase and improve all things Javascripty by removing the costly native/JS boundaries (allowing the browser, for example, to do interprocedural optimizations between the page code and the DOM routines etc.). Except that Blink at least sounds reputable. :-)

Re:Blink? (1)

Lennie (16154) | about a year ago | (#45607411)

In a way, yes. Browser were already using something called a the 'shadow DOM', they are starting to make it available to web developers:
http://blog.teamtreehouse.com/working-with-shadow-dom [teamtreehouse.com]

So finally HTML5 is getting reusable components and templates, instead of more Javascript, finally some more declerative support:
http://html5-demos.appspot.com/static/webcomponents/index.html#1 [appspot.com]

Works well on an ipad (0)

Anonymous Coward | about a year ago | (#45602481)

Works impressively well on an iPad. I dunno though if it would be any slower just doing it with html5 directly?

I'll fix that... (1)

viperidaenz (2515578) | about a year ago | (#45602587)

s/performs well across many platforms/performs well only on platforms with GPU accelerated browsers supporting new CSS3 3D standards (but this is still a working draft, so not an official standard). Doesn't work at all on platforms without said support/

Re:I'll fix that... (2)

narcc (412956) | about a year ago | (#45602899)

Well, it works acceptably on my BlackBerry Z10. Way better than jQuery Mobile at least, but that's not exactly a high-bar.

It works wonderfully on my bargain-basement Windows 7 netbook in Chrome 31, but doesn't work at all in FireFox 25 or IE 11.

I figure by that time it works acceptably in enough places, it'll be useless -- solving a problem no one has any more.

Now the wait is (2)

Mister Liberty (769145) | about a year ago | (#45602593)

For the Dalvik version which can run on an Android simulator in Eclipse under
Windows 8, churning away within Virtualbox on a Mac OS X.

Translation (3, Interesting)

eulernet (1132389) | about a year ago | (#45603089)

Let me translate the article:

Famo.us built a Javascript framework for rendering.
They expected to sell their technology to Google.
Their plan backfired, because nobody was interested into their product, and they had no interesting application.
So they "open-sourced" their framework (since it's Javascript, it's already "open-source"), in the hope that some users will come up with a brilliant application, and that their product will have a real value (and so that the company will be saleable).

While their concept is interesting, I very much doubt that it will ever have a market value.
It's an existing product searching for its market, instead of a product designed for an identified market.

Re:Translation (0)

Anonymous Coward | about a year ago | (#45606915)

since it's Javascript, it's already "open-source"

Assuming effectively unlimited resources for unscrambling a huge obfuscated/deflated codebase and cleaning it to the point of maintainability.

Without comments or documentation, the source code is approximately the least valuable part of a software project.

Bu.lls.hit (1)

TechyImmigrant (175943) | about a year ago | (#45603545)

I c.an pu.t ina.pprop.riate punctua.tion in my wr.iting too.

Re:Bu.lls.hit (0)

Anonymous Coward | about a year ago | (#45603689)

Famo.us is a domain name, Admiral Aspergers.

Re:Bu.lls.hit (1)

TechyImmigrant (175943) | about a year ago | (#45604145)

It doesn't matter. They are abusing the domain name system to make the dot look like punctuation in the middle of a word. This is a thing the world would be better without.

Re:Bu.lls.hit (0)

Desler (1608317) | about a year ago | (#45604231)

Abusing the name system? Are you for real? Jesus fuck you're an autistic twit.

Re:Bu.lls.hit (1)

TechyImmigrant (175943) | about a year ago | (#45604271)

You seem to be a bit over sensitive today.Is your real name will.i.am?

Re:Bu.lls.hit (0)

Anonymous Coward | about a year ago | (#45606885)

More importantly, do you like green eggs and ham?

Re:Bu.lls.hit (0)

Anonymous Coward | about a year ago | (#45604247)

ohreal.ly [slashdot.org] ?

Re:Bu.lls.hit (0)

Anonymous Coward | about a year ago | (#45605805)

It doesn't matter. They are abusing the domain name system to make the dot look like punctuation in the middle of a word. This is a thing the world would be better without.

If using something within its specification to achieve a goal that wasn't exactly the intent of the specification is "abusing the system", then you are "abusing the system" as well by using the capitalization of the I in your username to work around the fact you cannot use spaces in slashdot usernames. And that kind of sour-puss double standard rubbish is a lot worse for the world than someone putting some punctuation somewhere you don't like it.

Re:Bu.lls.hit (2)

wonkey_monkey (2592601) | about a year ago | (#45605853)

It doesn't matter. They are abusing the domain name system to make the dot look like punctuation in the middle of a word.

That's a side effect. They're using the domain name system to make the full name look like a single word. Yes, it's a little bit hipsterish, but nothing to get in a flap about.

It's called marketing. You're not going to forget that URL in a hurry, are you?

Prefer three.js (0)

Anonymous Coward | about a year ago | (#45603871)

For 3D-related stuff I like three.js: http://threejs.org/ [threejs.org]

Use it in my project: http://github.com/movitto/omega [github.com]

Hmm. (0)

Anonymous Coward | about a year ago | (#45605487)

Doesn't seem to work with javascript disabled.

I'm all for javascript... (1)

cripkd (709136) | about a year ago | (#45605993)

But please, can someone explain how the REPLACED the browser rendering engine? The way I see it this is just a js framework that will abstract stuff for you and make you think at the code level that you're working with objects on a scene and not nodes in the DOM.
Kinda like threejs maybe.
I can still see div's and other usual html elements there, not even a canvas.
So I suspect the browser still renders stuff, html that the framework will generate for you. It's not clear to me what they are replacing from what the browser usually does.
Check for New Comments
Slashdot Login

Need an Account?

Forgot your password?