Gönderen Konu: Yeni JavaScript engine V8 vatana millete hayırlı olsun...  (Okunma sayısı 14308 defa)

Hızlı düğmeleri aç

spaztica

İleti: 1.493

Çevrimdışı
  • Administrator
  • *****
  • Hero Member
    • Profili Görüntüle
http://code.google.com/p/v8/

adresinde C++ ile yazılmış ve opensource olan yeni js engine'i bulabilirsiniz. yine bir google ürünü olan chrome isimli yeni nesil browser, bu engine'i kullanıyor...

Yeni JavaScript engine V8 vatana millete hayırlı olsun...

« Yanıtla #1 : 02.09.2008 23:01:04 »
Hızlı düğmeleri aç

skate

İleti: 5.245

A Sinner Scener
Çevrimdışı
  • Administrator
  • *****
  • Hero Member
    • Profili Görüntüle
    • http://www.akaydin.com/
abi acayip dalga konusu oldu bu chrome şimdiden.
 
bkz: orjinal chrome logosu

 
bkz: milletin dalga geçtiği versiyonu

 
JavaScript engine'i sağlam olabilir ancak browser ve özellikle plugin yapısından şüpheliyim. Google'ın yaptığı birçok şeye balıklama atlarım normalde ama bundan tam emin olamadım.

Yeni JavaScript engine V8 vatana millete hayırlı olsun...

« Yanıtla #2 : 02.09.2008 23:40:18 »
Hızlı düğmeleri aç

spaztica

İleti: 1.493

Çevrimdışı
  • Administrator
  • *****
  • Hero Member
    • Profili Görüntüle
ben zaten chrome'u satmıyorum, bir örnekle v8'i duyuruyorum... :)

Yeni JavaScript engine V8 vatana millete hayırlı olsun...

« Yanıtla #3 : 03.09.2008 13:25:53 »
Hızlı düğmeleri aç

spaztica

İleti: 1.493

Çevrimdışı
  • Administrator
  • *****
  • Hero Member
    • Profili Görüntüle
bi de şöyle bir hikayesi var:

One more hire was key. Because Chrome was supposed to be optimized to run Web applications, a crucial element would be the JavaScript engine, a "virtual machine" that runs Web application code. The ideal person to construct this was a Danish computer scientist named Lars Bak. In September 2006, after more than 20 years of nonstop labor designing virtual machines, Bak had been planning to take some time off to work on his farm outside Århus. Then Google called.
  Bak set up a small team that originally worked from the farm, then moved to some offices at the local university. He understood that his mission was to provide a faster engine than in any previous browser. He called his team's part of the project "V8." "We decided we wanted to speed up JavaScript by a factor of 10, and we gave ourselves four months to do it," he says. A typical day for the Denmark team began between 7 and 8 am; they programmed constantly until 6 or 7 at night. The only break was for lunch, when they would wolf down food in five minutes and spend 20 minutes at the game console. "We are pretty damn good at Wii Tennis," Bak says.
  They were also pretty good at writing a JavaScript engine. "We just did some benchmark runs today," Bak says a couple of weeks before the launch. Indeed, V8 processes JavaScript 10 times faster than Firefox or Safari. And how does it compare in those same benchmarks to the market-share leader, Microsoft's IE 7? Fifty-six times faster. "We sort of underestimated what we could do," Bak says.
  Speed may be Chrome's most significant advance. When you improve things by an order of magnitude, you haven't made something better — you've made something new. "As soon as developers get the taste for this kind of speed, they'll start doing more amazing new Web applications and be more creative in doing them," Bak says. Google hopes to kick-start a new generation of Web-based applications that will truly make Microsoft's worst nightmare a reality: The browser will become the equivalent of an operating system.
They were also pretty good at writing a JavaScript engine. "We just did some benchmark runs today," Bak says a couple of weeks before the launch. Indeed, V8 processes JavaScript 10 times faster than Firefox or Safari. And how does it compare in those same benchmarks to the market-share leader, Microsoft's IE 7? Fifty-six times faster. "We sort of underestimated what we could do," Bak says.

açıkçası ben bir süre sonra bu chrome'un hayli fark yaratacağını düşünüyorum. özellikle de kurulan altyapıya uygun js application'lar yapıldıkça kazanılan x10 hız fark edilecektir. yoksa chrome'u bugünkü sitelerle, henüz emekleme aşamasında test etmek sağlıklı olmaz.

yukardaki yazının tümü wired dergisinden
« Son Düzenleme: 03.09.2008 13:30:22 Gönderen: spaztica »

Yeni JavaScript engine V8 vatana millete hayırlı olsun...

« Yanıtla #4 : 03.09.2008 13:56:11 »
Hızlı düğmeleri aç

GnoStiC


  • Ziyaretçi
http://tech.slashdot.org/article.pl?sid=08/09/02/1637216

Mozilla CEO John Lily:

“It should come as no real surprise that Google has done something here — their business is the web, and they’ve got clear opinions on how things should be, and smart people thinking about how to make things better. Chrome will be a browser optimized for the things that they see as important, and it’ll be interesting to see how it evolves.” Mozilla’s Europe president, Tristan Nitot also chimed in during an interview with PCPro, stating that they don’t view this as a direct attack on Firefox, even if it did catch them by surprise. “I’ll take another example: just before Microsoft launched Vista, it invited us [to work with it] so that Firefox works better on Windows Vista. Because for it, Firefox being a top-tier application that was very successful - we now have 200 million users around the world - it could not afford to have Firefox run slowly on Vista. Therefore, it helped us improve Firefox for Vista. That’s just the same for Google. It wants Firefox to perform well with its applications, that’s for sure. Indeed, it even wants IE to perform well with Gmail and the rest. It’s just that it has very limited control over this. That’s why Google’s been frustrated and it is launching this Chrome browser.”

Yeni JavaScript engine V8 vatana millete hayırlı olsun...

« Yanıtla #5 : 03.09.2008 17:13:18 »
Hızlı düğmeleri aç

coze

İleti: 238

Çevrimdışı
  • ***
  • Full Member
    • Profili Görüntüle
web/javascript olaylarıyla pek ilgim yok, ama bir günlük kullanım sonundaki izlenimim firefox'tan pek bir eksiği olmadığı ve artı bazı noktaları olduğu yönünde. öncelikle tab'leri ayrı bir process olarak açması ve bunları direk monitör edebilmeniz süfer bir olay. daha hızlı render ediyor filan diyorlar ama açıkçası ben çok süper bir fark hissetmedim. latency ekleyip background'da renderleyip veriyor, böylece hızlıymış hissi yaratıyor diyenler var. Bu arada gezdiğiniz her linki toplayıp google'a rapor ediyor gibi efsaneler de duydum ama çok emin değilim (evet kullanım sözleşmesini okumadım, bi bakmak lazım tabi ...) hmm birde ad olayı gelecek galiba ... bakalım.

http://www.download.com/8301-2007_4-10030522-12.html

artı ilginç bir özellik, incognito browsing.

Alıntı
You've gone incognito. Pages you view in this window won't appear in your browser history or search history, and they won't leave other traces, like cookies, on your computer after you close the incognito window. Any files you download or bookmarks you create will be preserved, however.

Going incognito doesn't affect the behavior of other people, servers, or software. Be wary of:
Websites that collect or share information about you
Internet service providers or employers that track the pages you visit
Malicious software that tracks your keystrokes in exchange for free smileys
Surveillance by secret agents
People standing behind you

Yeni JavaScript engine V8 vatana millete hayırlı olsun...

« Yanıtla #6 : 03.09.2008 19:13:58 »
Hızlı düğmeleri aç

coze

İleti: 238

Çevrimdışı
  • ***
  • Full Member
    • Profili Görüntüle
Hmm ... az önce EULA'yı okudum. garip bir içerik anlaşması var. Chrome ile submit ettiğiniz her türlü içeriği alıp kullanma, başka firmalarla paylaşma gibi bir hak veriyor google'a. açıkçası pek hoşuma gitmedi...

http://www.google.com/chrome/eula.html?hl=en

Alıntı
11. Content license from you

11.1 You retain copyright and any other rights you already hold in Content which you submit, post or display on or through, the Services. By submitting, posting or displaying the content you give Google a perpetual, irrevocable, worldwide, royalty-free, and non-exclusive license to reproduce, adapt, modify, translate, publish, publicly perform, publicly display and distribute any Content which you submit, post or display on or through, the Services. This license is for the sole purpose of enabling Google to display, distribute and promote the Services and may be revoked for certain Services as defined in the Additional Terms of those Services.

11.2 You agree that this license includes a right for Google to make such Content available to other companies, organizations or individuals with whom Google has relationships for the provision of syndicated services, and to use such Content in connection with the provision of those services.

11.3 You understand that Google, in performing the required technical steps to provide the Services to our users, may (a) transmit or distribute your Content over various public networks and in various media; and (b) make such changes to your Content as are necessary to conform and adapt that Content to the technical requirements of connecting networks, devices, services or media. You agree that this license shall permit Google to take these actions.

11.4 You confirm and warrant to Google that you have all the rights, power and authority necessary to grant the above license.


Bu da bir avukat görüşü ...

demek oluyor ki chrome kullanırken nereye ne post ettiğinize dikkat etmekte fayda var. Ad olayı da gelecek gibi görünüyor ...

Alıntı
17. Advertisements

17.1 Some of the Services are supported by advertising revenue and may display advertisements and promotions. These advertisements may be targeted to the content of information stored on the Services, queries made through the Services or other information.

17.2 The manner, mode and extent of advertising by Google on the Services are subject to change without specific notice to you.

17.3 In consideration for Google granting you access to and use of the Services, you agree that Google may place such advertising on the Services.

Yeni JavaScript engine V8 vatana millete hayırlı olsun...

« Yanıtla #7 : 03.09.2008 20:41:42 »
Hızlı düğmeleri aç

Decipher

İleti: 482

Çevrimdışı
  • ****
  • Sr. Member
    • Profili Görüntüle
    • http://beskrajnost.com
Haha, Wired'i tr-demoscene'de benden baska birisinin okuyabilecegi aklima gelmemisti. O degil de Google EULA'lari her zaman bu kadar garip ve sacma sekillere sahipler. Bir ara Microsoft'unkileri de okumak lazim. Ote yandan browser gercekten cok hizli, FF3'den de hizli Opera'dan da hizli. Ancak pouet'de sozu gecen IORead hayvanimsiligi ve EULA sagolsun "OpenSource'um biri beni forklasin" gibisinden bir yalvaris icinde sanki. Ote yandan EULA sadece istatistiki amacli olabilir...

Ben gercekten begendim ancak UI ve taban saglamlasmadan bu haliyle gunluk kullanim icin pek uygun degil. Smoothscrolling, zoom vs hicbiri yok henuz :(.
100% pure coder pr0n

Yeni JavaScript engine V8 vatana millete hayırlı olsun...

« Yanıtla #8 : 03.09.2008 21:19:07 »
Hızlı düğmeleri aç

spritus

İleti: 933

Çevrimdışı
  • *****
  • Hero Member
    • Profili Görüntüle
    • http://resident.tr-demoscene.info
hepsi bir yana, ben en çok chrome'un getireceği aplikasyon tabanlı website gibi yeniliklerle ilgileniyorum. artık bu tip devrimsel yeniliklerin yapılması ve yaratıcılığa kilit vuran tabuların yıkılması gerekiyor. html tipi tek katmanda etkileşimsiz içerik, artık günümüz için çok ilkel değil mi?

Yeni JavaScript engine V8 vatana millete hayırlı olsun...

« Yanıtla #9 : 03.09.2008 23:47:02 »
Hızlı düğmeleri aç

spaztica

İleti: 1.493

Çevrimdışı
  • Administrator
  • *****
  • Hero Member
    • Profili Görüntüle
decipher: YUH diyorum sana. internet gibi bir ortamda 10 kat yuh hatta...
yahu ben 96-97 döneminde aboneydim; çalıştığımız yerde de dergiyi kapışarak okuyorduk. amma kendin odaklı görüyorsun ortamı yahu, pes doğrusu!

Yeni JavaScript engine V8 vatana millete hayırlı olsun...

« Yanıtla #10 : 04.09.2008 15:29:13 »
Hızlı düğmeleri aç

skate

İleti: 5.245

A Sinner Scener
Çevrimdışı
  • Administrator
  • *****
  • Hero Member
    • Profili Görüntüle
    • http://www.akaydin.com/
Az önce kendi JS kodlarım üzerinden Chrome'un V8'inin hız testlerini yaptım. "En az" dedikleri kadar hız farkı var. Gerçekten gözle görülür bir fark yaratmışlar. Ancak yine her zamanki problem çıkmış ortaya. Back compitibility...
 
Yine kesin "hede standartları" gibi benim asla kabul etmeyeceğim geyikler dönecektir ortada ancak IE 6/7, FF 2/3 ve Opera 9 ile test edilmiş ve hepsiyle uyumlu çalışan bazı kodlarım Chrome'da çalışmıyor. Henüz beta olduğu için üzerine çok gitmiyorum ama tahminim yine birçok yeni şeyi öğrenmek gerekecek. Hız farkından dolayı yeni bir standart ortaya koyacak olan Chrome yine FF tayfası gibi bir tayfa oluşturacak kendine (ki birçok FF sever eski aşklarına sırt çevirecekler). Sonuç olarak "adam gibi kod yazsan Chrome'da çalışırdı" muhabbetleri dönmeye başlayacak. Bu sefer sinirlerime hakim olucam. şimdiden araştırmaya başlıyorum neymiş Chrome'u mutlu etmenin yolları :)

Yeni JavaScript engine V8 vatana millete hayırlı olsun...

« Yanıtla #11 : 04.09.2008 18:22:12 »
Hızlı düğmeleri aç

spaztica

İleti: 1.493

Çevrimdışı
  • Administrator
  • *****
  • Hero Member
    • Profili Görüntüle
chrome'un çok nazlı olduğunu sanmam; güzel bir iftar yemeği onu haylice mutlu edebilir. zaten ff ile kapışmak tercihinde değil google tayfası; aksine v8 sayesinde diğer browser'lar da kendi kulalnmasa da altta kalmamak için adam gibi bir engine olayına girebilirler.
beni düşündüren bu v8 motorun, flash'a etkisi zaman içinde nasıl olacak? zira tam teşekküllü ve hızlı bir javascript, flash'ın eline verirse, adobe bu duruma bozulabilir de biraz. yine de birbirini yok edici bir rekabetten çok hybrid ve birbirini destekler bir kalite artış ivmesinin başlarındayız sanırsam. web3.0 için ön görülen veri takası ve distributed application mantığı, v8 gibi güçlü bir motoru güzel kullanabilir...

Yeni JavaScript engine V8 vatana millete hayırlı olsun...

« Yanıtla #12 : 05.09.2008 10:02:35 »
Hızlı düğmeleri aç

skate

İleti: 5.245

A Sinner Scener
Çevrimdışı
  • Administrator
  • *****
  • Hero Member
    • Profili Görüntüle
    • http://www.akaydin.com/
Evet Flash-JavaScript ya da diğer bir deyişle "ActionScript vs JavaScript V8" ilginç bir tartışma konusu olabilir. Elbette ki Flash vektörel ve son zamanlarda eklenen pixel grafik destekleri ile JavaScript'de standart HTML nesneleriyle yapılması olanaksız şeyleri sunuyor bize. Ancak VML, SVG gibi dillerin de V8'e paralel gelişmesi ile çok ilginç noktalara gidilebilir.
 
V8'in Adobe'un gözle görünen bir avantajını yokedebilmesi için JavaScript kodlarını encode etmek için bir standart getirmesi yerinde olacaktır. Aksi halde ben high score sistemi olan bir oyun için asla JavaScript kullanmayı tercih etmem mesela.
 
Bir diğer mevzu da Flash'in socket desteği gibi özellikleri. JavaScript bunu safe bir şekilde nasıl sağlar onu düşünüyorum. Neyse, ben niye düşünüyorum ki. Google düşünsün :)

Yeni JavaScript engine V8 vatana millete hayırlı olsun...

« Yanıtla #13 : 09.09.2008 12:40:38 »
Hızlı düğmeleri aç

skate

İleti: 5.245

A Sinner Scener
Çevrimdışı
  • Administrator
  • *****
  • Hero Member
    • Profili Görüntüle
    • http://www.akaydin.com/
Arkadaşlar, yeni yaptığım bazı testlerde Chrome beklediğimden yavaş çıktı. Sonra şu test sitesini buldum.
 
http://celtickane.com/webdesign/jsspeedarchive.php
 
Google'ın V8 Engine projesinin gündem bölümüne gönderilmiş bu test sonuçları. Aslında bu tür testler %100 JS Engine'iyle alakalı değil. Chrome üç ana parçadan oluşuyor.
 
* V8 JavaScript Engine'i
* DOM
* Chromium WebKit'i
 
Tabi başka modülleri de var Chrome'un ancak bu tür performans testlerinde bu üç modüle bakmak lazım.
 
Sonuç olarak Chrome ekibinden Feng isimli bir elemanın yorumu şu yönde:
 
Array, RegEx ve String fonksiyonları hızlandırılmalı. Bu fonksiyonlar diğer browserlarda daha hızlı işleyebiliyor.
 
Bu madde çok önemli çünkü tüm push, pop, reverse, sort, splice, join, parse (Date.parse), regexp gibi komutları kapsıyor.
 
DOM tarafında da bu testleri etkileyen ve gözden geçirilmesi gereken noktalar olduğunu kabul ediyor Feng.
 
Ajax için kullanılan XMLHttpRequest gibi objeler de WebKit tarafının zaafları arasında yer alıyor.
 
Benim en çok dikkatimi çeken yön şu oldu. Diğer browserlar JavaScript push, pop, reverse, sort, splice, join gibi fonksiyonları C/C++ tarafında hızlıca çalıştırırken V8 motorunda bu fonksiyonlar yine JavaScript kütüphaneleriyle çözülüyormuş. Tahmin ediyorum tasarımın bir gereksinimi olmuş bu. Yoksa açıkça öküzlük derdim.
 
Benim birçok demo efektim bu testlerde geçen fonksiyonlara ihtiyaç duymuyor ve DOM, WebKit taraflarında da optimize bölümlere denk geliyorlar. Ama son yaptığım testler ve araştırmalar sonucunda gördüm ki "V8 en hızlı motor" demek için biraz erken.

Yeni JavaScript engine V8 vatana millete hayırlı olsun...

« Yanıtla #14 : 09.09.2008 13:39:43 »
Hızlı düğmeleri aç

vigo


  • Ziyaretçi
heheheh... skate vs google :) :) :)

becerememiş adamlar yani dimi browser kodlamayı :) :) :) :) :)

hatta :D:D:D:D:D:D:D