AceNik's Portal

Update To All Your Tech Fads Begins Here !!!!!
Featured Posts
Nokia's N96 Now Official, Quad-Band and WCDMA

Nokia's N96 Now Official, Quad-Band and WCDMA

After much leaking of information, Nokia's N96 slider cellphone is now official. It's a quad-band, US 3G-enabled (WCDMA) phone with a 2.8-inch screen, 16GB of built-in memory, a 5-megapixel Carl-Zeiss Tessar lens, A-GPS and 802.11 b/g Wi-Fi. The media-player functions of the phone get their own dedi

Continue to read more...

Sun Java Runtime Environment 6.0 Update 14

Java software allows you to run applications called "applets" that are written in the Java programming language. These applets allow you to have a much richer experience online than simply interacting with static HTML pages. Java Plug-in technology, included as part of the Java 2 Runtime Environm

Continue to read more...

Firefox 3.7 Theme Makes Your Browser Look Awesome

Firefox 3.7 Theme Makes Your Browser Look Awesome

Windows only: Mozilla released their version 3.7 theme mockups only a few days ago, but you don't have to wait for the 3.7 release to enjoy them—a motivated user already created a lookalike theme that you can install now. (Click the image above for a closer look.) Installing this theme isn't q

Continue to read more...

New Treatment Filters Bacteria From the Bloodstream with an Electromagnet

New Treatment Filters Bacteria From the Bloodstream with an Electromagnet

This may sound like something out of Iron Man, but it's very real. Don Ingber has developed a machine that uses an electromagnet to suck sepsis-causing bacteria out of the blood. In lab tests, Ingber's team mixed donor blood with the fungus Candida albicans, a common cause of sepsis, and added plast

Continue to read more...

Intel Big on 32nm Westmere Processors for Consumers in 2010

Intel Big on 32nm Westmere Processors for Consumers in 2010

At today's San Francisco event, Intel mostly discussed what we know about the upcoming Westmere processor, but revealed they're scrapping the next dual-core 45nm processors, in favor of 32nm Westmere chips in early 2010. The first Westmere chips will be the dual-core Clarkdale and Annendale pr

Continue to read more...

New Method of Writing Hard Drives Could Yield 1TB Per Inch Density

New Method of Writing Hard Drives Could Yield 1TB Per Inch Density

Current hard disk drives are up against their ceiling: a few hundred GB per inch. But a combination of two unique writing methods could lead to new HDDs that pack ten times as much data in the same space. A new paper in the journal Nature Photonics outlines the process, which combines TAR (th

Continue to read more...

Batteries That Last 10 Years Developed By Hitachi

Doubling the Li-Ion battery life from 5 years, Hitachi reckons its new technology which extends the life of batteries will also cost less too—thanks to reducing the amount of cobalt used. Hitachi hopes to get them onto the production line in the next year. [Akihabara News]

Continue to read more...


C to be the next browser scripting language… wait, what?

Adobe’s Scott Petersen demonstrated a “new toolchain… that allows C code to be run by the Tamarin virtual machine.”

The toolchain includes lots of other details, such as a custom POSIX system call API and a C multimedia library that provides access to Flash. And there’s some things that Petersen had to add to Tamarin, such as a native byte array that maps directly to RAM, thereby allowing the VM’s “emulation” of memory to have only a minor overhead over the real thing. The end result is the ability to run a wide variety of existing C code in Flash at acceptable speeds. Petersen demonstrated a version of Quake running in a Flash app, as well as a C-based Nintendo emulator running Zelda; both were eminently playable, and included sound effects and music.

So, the geek in me wants to think that a Flash version of Quake is pretty sweet, but the security expert in me can only think of the following:

  1. Take Flash, a browser-based technology that is used in a huge percentage of computers out there, and more importantly, has had it’s own fair share of flaws (see Pwn2Own Contest results from this year)
  2. Add the ability to “run a wide variety of existing C code in Flash”, where C is clearly a language that has had devastating memory corruption flaws
  3. Add quotes like, “Petersen had to add to Tamarin, such as a native byte array that maps directly to RAM”
  4. Keep in mind that this will all be running in your browser, i.e. the playground for most of the major attacks of the last couple years
  5. And you get what?

A major set of flaws waiting to happen.

So we’ve come full circle with dynamic web programming:

  • We tried the established: Java, VB
  • We moved into the new: .NET, AJAX, XML (Web Services), Ruby on Rails, etc.
  • Now we move into the new, which is actually the old: C

I can see what’s coming next.  ADA and Prolog for web applications.  In any case, I know nothing of any plans that Adobe has to actually do this in real life, it might just be an interesting research project.  In fact, I don’t fault Adobe for this idea, it’s actually really cool and I don’t want to be the voice stopping innovation of anything that is cool.  I’d just like to stress that if we’re going to use C/C++ or any other older language for our web application programming, let’s think about the ramifications and implement it in a way that helps developers program it securely.  So, kudos to Scott Petersen and Adobe for trying something innovative, now let’s do it secure if we do it at all.[ZDnet]

If you enjoyed this post, make sure you subscribe to my RSS feed!
Tags: ,

Related posts

Other News:

Loading...