News for hackers. Stuff that matters.
Re:I want to solve the uploads problem by mappu on Sunday October 16, 2011 @06:40PM (#3118533)
The mind boggles. I know you said that tongue-in-cheek, and that would be an incredibly cool project, but i feel that unless we put this to rest now someone might actually take you seriously.

A huge amount of work has gone into making FFMPEG and x264 as fast as they are today. Not only would you lose performance (and integer types) going from C -> JavaScript, but you also lose all the assembly, handwritten for tens of different architectures (including SIMD like SSE). I would expect at least a 100x slowdown.

For your users' sake, please don't do this ;_;

Re:I want to solve the uploads problem by X-Istence on Sunday October 16, 2011 @07:04PM (#3118585)
Well, we have already have JavaScript Linux[1] ... lets just compile FFMPEG for that, and use it within the users browser.

[1]: http://bellard.org/jslinux/

Re:I want to solve the uploads problem by JonnieCache on Sunday October 16, 2011 @07:39PM (#3118668)
Yes, in case it wasn't clear, Fabrice Bellard is the author of both FFMPEG and jslinux, and my comment was referring to his outrageous productivity/ability. As great as V8 may be, it isn't a great target for an ffmpeg port.

Still, I wouldn't put it past him.

Re:I want to solve the uploads problem by DarkShikari on Monday October 17, 2011 @02:41AM (#3119432)
An optional Java plugin with JNI might work, though it'd result in a client-side security prompt.