Skip navigation

Sign up | Lost password? | Help

Choose Opera

Spreading Opera goodness

Meet Carakan and Vega

, , , ,

Carakan

In this post, we'd like to highlight Opera's upcoming ECMAScript/JavaScript engine, called Carakan, as well as our Vega vector graphics library, both of which were announced at the Web Directions North conference in Denver, Colorado.


Carakan

Over the past few months, a small team of developers and testers have been working on implementing a new ECMAScript/JavaScript engine for Opera. When Opera's current ECMAScript engine, called Futhark, was first released in a public version, it was the fastest engine on the market. That engine was developed to minimize code footprint and memory usage, rather than to achieve maximum execution speed. This has traditionally been a correct trade-off on many of the platforms Opera runs on. The Web is a changing environment however, and tomorrow's advanced web applications will require faster ECMAScript execution, so we have now taken on the challenge to once again develop the fastest ECMAScript engine on the market.

The name Carakan, like the names of Opera's previous ECMAScript engines, Futhark, Linear A and Linear B, is the name of a writing system, or "script".

We have focused our efforts to improve upon our previous engine in three main areas: register-based bytecode, native code generation and automatic object classification.

How fast is Carakan? Using a regular cross-platform switch dispatch mechanism (without any generated native code) Carakan is currently about two and a half times faster at the SunSpider benchmark than the ECMAScript engine in Presto 2.2 (Opera 10 Alpha). Since Opera is ported to many different hardware architectures, this cross-platform improvement is on its own very important.

The native code generation in Carakan is not yet ready for full-scale testing, but a few individual benchmark tests we ran show that it is already compatible with runs between 5 and 50 times faster, so it is looking promising so far.

Vega

Vega was created shortly after we started working on SVG support, for which we needed a vector graphics library. We looked into what libraries were available to use and met our requirements (fast, low memory usage and working on platforms ranging from phones to TVs and desktop computers). We did not find and good match for our needs, so we decided to write our own. Shortly after we created Vega we also added <canvas> support.

The most recent addition to Vega is the ability to use a hardware accelerated back-end. The back-ends we are using at the moment are OpenGL and Direct3D.

In the core version we are currently developing, Presto 2.3, we have made it possible to use Vega for all rendering in Opera. This means that we can replace the platform specific code for rendering with Vega. In the future it might be mandatory to use Vega for rendering, but in Presto 2.3 it is still possible to use the old rendering back-ends.

There are three reasons for doing this:

  1. Firstly, the new CSS3 background and borders standard is much easier to implement using a vector graphics library. Presto 2.3 adds partial support for CSS3 backgrounds and borders, but only when using Vega for rendering.
  2. The second reason is to support hardware acceleration of our vector graphics. In order to be able to render SVG and <canvas> in hardware we must also be able to directly draw the rendered vector graphics to the screen since reading back the rendered image from the graphics card is usually slower than rendering in software.
  3. And finally, doing this enables us to easily add advanced graphical effects to our UI and to web pages.

Wallpaper

Be sure to download our wallpaper:

Carakan wallpaper

Other recources

Stay tuned for more in the next couple of months!

Opera and Jon get famous in IndiaRecent news about Opera

Comments

zetorres 5. February 2009, 13:17

:up:

dantesoft 5. February 2009, 13:28

The name Carakan (発音:チャラカン)

Nice. Stick to IPA next time :wink:

AOTEAROAnz 5. February 2009, 13:35

Nice! Wallpapers mighty good :up:
Carakan F.A.Qs

Tamil 5. February 2009, 14:10

Chas4 5. February 2009, 14:48

Jurgi 5. February 2009, 16:06

Do you need some cheer? Ca-ra-can! Ca-ra-can!

BTW: in Polish „caracan” means „cockroach”. ;P

dantesoft 5. February 2009, 16:14

@Jurgi Transliterating the Katakana I got CHA-RA-KA-N not "Ca-ra-can".

sms985 5. February 2009, 16:21

the news is spreading fast in all geek-blogs and news portals! good for opera!

AhmedGhanem 5. February 2009, 17:06

That's the news !!!!!!!! go spread it out guys !!!!

AhmedGhanem 5. February 2009, 17:13

Digged !!!!

thobi 5. February 2009, 17:24

sounds great :up: :smile:

HellbillyDeluxe 6. February 2009, 10:47

I am really excited right now.

Any rough ETA when we can see this in action? Please! :wink:

dantesoft 6. February 2009, 11:28

2011 :wink:

ExtAnimal 6. February 2009, 13:10

Great news. As someone who works on complex Javascript UIs, I say speed is what we need.

I'm loving running my apps on Chrome right now, so I'm looking forward to this new innovation from Opera.

Sn3ipen 6. February 2009, 13:59

Opera will allways be the fastest browser!

:cheers:

chuushingaijo 7. February 2009, 01:33

YAY! Opera's response to V8 and TraceMonkey! ^_^

Nendra2008 7. February 2009, 05:29

:yesyesyesyes:
Its good exsperience!
:up::up: to great thing like dat

jerobarraco 8. February 2009, 16:08

the wallpaper is really cool, i can't wait for the release :smile:

FLEXAZZ 12. February 2009, 05:24

Tha O.s. EVER ON THE FRONT.

Nuiy 12. February 2009, 11:05

Hai ??
W bru lho kuT comunity !

yadavankur 15. February 2009, 01:08

Just curious, how tough would it be to render PDF docs through Vega. It would be a cool feature to have. Right now if I search for something and I find it in PDF, I just skip the results and move on to the next one - or (if I have to) I use "View as HTML" in Google search.

anchorschmidt 15. February 2009, 15:06

YAY!! Will this come in Opera 10???

matcom4 21. February 2009, 21:33

I am really excited right now.
the news is spreading fast
Opera will allways be the fastest browser 4 me.

rachmataz 23. May 2009, 07:32

carakan = messenger, right? hehe :D
I think it taken from 'Hanacaraka', Javanese font :up:

DanielHendrycks 3. October 2009, 22:46

Must test... Hakon said we might get to test it at the end of this year. :sherlock:
http://bit.ly/tpkgL

Chas4 3. October 2009, 22:54

Who knows but I know people are excited about Carakan and Vega

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.

Download Opera, the fastest and most secure browserAffiliate programJoin our group on Facebook!Subscribe and watch our YouTube videos!Opera employee blogs & twitter profilesopera skins and setupsopera buttons and logosopera speed dial backgroundsopera sidebar panelsopera wallpapersopera language files