Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
25 crawler(s) on-line.
 148 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 dirkzwager:  6 mins ago
 clint:  12 mins ago
 vox:  18 mins ago
 Gunnar:  22 mins ago
 pixie:  30 mins ago
 NutsAboutAmiga:  34 mins ago
 zipper:  1 hr 9 mins ago
 Templario:  1 hr 15 mins ago
 RobertB:  1 hr 35 mins ago
 GPTNederlands:  1 hr 50 mins ago

/  Forum Index
   /  Amiga Development
      /  V8 javascript engine ported to PowerPC
Register To Post

Goto page ( 1 | 2 Next Page )
PosterThread
samo79 
V8 javascript engine ported to PowerPC
Posted on 9-Aug-2013 16:15:28
#1 ]
Elite Member
Joined: 13-Feb-2003
Posts: 3505
From: Italy, Perugia

Andrew Low from IBM ported the Google V8 javascript engine to PowerPC

https://groups.google.com/forum/#!topic/v8-dev/06ReYVfFgGA
https://github.com/andrewlow/v8ppc

_________________
BACK FOR THE FUTURE

http://www.betatesting.it/backforthefuture

Sam440ep Flex 800 Mhz 1 GB Ram + AmigaOS 4.1 Update 6
AmigaOne XE G3 800 Mhz - 640 MB Ram - Radeon 9200 SE + AmigaOS 4.1 Update 6

 Status: Offline
Profile     Report this post  
lionstorm 
Re: V8 javascript engine ported to PowerPC
Posted on 10-Aug-2013 20:34:09
#2 ]
Super Member
Joined: 31-Jul-2003
Posts: 1588
From: the french side

@samo79

interesting !

 Status: Offline
Profile     Report this post  
QuBe 
Re: V8 javascript engine ported to PowerPC
Posted on 11-Aug-2013 13:58:15
#3 ]
Super Member
Joined: 3-Dec-2006
Posts: 1075
From: Dunes of Uridia

@samo79

What does this mean exactly?

Q!

"i am home"

 Status: Offline
Profile     Report this post  
samo79 
Re: V8 javascript engine ported to PowerPC
Posted on 11-Aug-2013 15:21:46
#4 ]
Elite Member
Joined: 13-Feb-2003
Posts: 3505
From: Italy, Perugia

@QuBe

More or less it means now we might be able to get JIT support in Javascript also in our current WebKit browser that runs on PowerPC

_________________
BACK FOR THE FUTURE

http://www.betatesting.it/backforthefuture

Sam440ep Flex 800 Mhz 1 GB Ram + AmigaOS 4.1 Update 6
AmigaOne XE G3 800 Mhz - 640 MB Ram - Radeon 9200 SE + AmigaOS 4.1 Update 6

 Status: Offline
Profile     Report this post  
virgolamobile 
Re: V8 javascript engine ported to PowerPC
Posted on 22-Jul-2015 13:35:17
#5 ]
Regular Member
Joined: 23-Feb-2004
Posts: 192
From: Somewhere in Northern Italy

@samo79

Revitalizing this old thread because it seems that the port of V8 to PowerPC is finally mainstream!

https://developer.ibm.com/opentech/2015/06/30/ppc-support-for-google-v8-goes-mainstream/

You may want to have a look at the speed increase in javascript execution if we could have it ported to our platform, see here what the people developing TenFourFox (firefox for OSX PPC based) are able to obtain
http://tenfourfox.blogspot.it/2015/06/mission-accomplished-ionpower-kicks.html

Is it Odyssey able to take advantage of this javascript engine?

Last edited by virgolamobile on 22-Jul-2015 at 01:54 PM.
Last edited by virgolamobile on 22-Jul-2015 at 01:36 PM.

 Status: Offline
Profile     Report this post  
PhantomInterrogative 
Re: V8 javascript engine ported to PowerPC
Posted on 22-Jul-2015 13:54:27
#6 ]
Cult Member
Joined: 10-Sep-2004
Posts: 809
From: The Interrogative Lair

@virgolamobile

Ask Fab or Kas1e. MorphOS and AmigaOS4.1 would both greatly benefit from a JIT javascript engine.

Quote:

virgolamobile wrote:
@samo79

Revitalizing this old thread because it seems that the port of V8 to PowerPC is finally mainstream!

https://developer.ibm.com/opentech/2015/06/30/ppc-support-for-google-v8-goes-mainstream/

You may want to have a look at the speed increase in javascript execution if we could have it ported to our platform, see here what the people developing TenFourFox (firefox for OSX PPC based) are able to obtain
http://tenfourfox.blogspot.it/2015/06/3180-available-say-goodbye.html

Is it Odyssey able to take advantage of this javascript engine?

_________________
I sold my SAM460ex lite... waiting for money to buy a Raspberry Pi... or a Classic A1000 with Buffee... or an A1222... and OS4.3 FE update 11

 Status: Offline
Profile     Report this post  
Hypex 
Re: V8 javascript engine ported to PowerPC
Posted on 22-Jul-2015 14:38:53
#7 ]
Elite Member
Joined: 6-May-2007
Posts: 11180
From: Greensborough, Australia

@PhantomInterrogative

So would Safari!

But Amiga JIT is more likely.

 Status: Offline
Profile     Report this post  
Leo 
Re: V8 javascript engine ported to PowerPC
Posted on 22-Jul-2015 14:49:30
#8 ]
Super Member
Joined: 21-Aug-2003
Posts: 1597
From: Unknown

If I remember correctly, bigfoot was already working on a JIT for Odissey. No news since several months though.

Last edited by Leo on 22-Jul-2015 at 02:56 PM.

_________________
http://www.warpdesign.fr/

 Status: Offline
Profile     Report this post  
hotrod 
Re: V8 javascript engine ported to PowerPC
Posted on 22-Jul-2015 14:57:21
#9 ]
Elite Member
Joined: 11-Mar-2003
Posts: 2993
From: Stockholm, Sweden

I really wish for this. Anyone tried Odyssey under AROS with and without JIT javascript? Big difference.

I'm really curious of how big the difference would be on the A1 XE since Odyssey is horribly slow on heavy websites. It would be great no matter what hardware though.

 Status: Offline
Profile     Report this post  
lionstorm 
Re: V8 javascript engine ported to PowerPC
Posted on 22-Jul-2015 19:08:36
#10 ]
Super Member
Joined: 31-Jul-2003
Posts: 1588
From: the french side

@hotrod

Quote:

hotrod wrote:
I really wish for this. Anyone tried Odyssey under AROS with and without JIT javascript? Big difference.

I'm really curious of how big the difference would be on the A1 XE since Odyssey is horribly slow on heavy websites. It would be great no matter what hardware though.


+1

 Status: Offline
Profile     Report this post  
toRus 
Re: V8 javascript engine ported to PowerPC
Posted on 22-Jul-2015 20:27:50
#11 ]
Regular Member
Joined: 10-Mar-2003
Posts: 210
From: Unknown

Cool. Now our web habbits can be tracked even more efficiently.

 Status: Offline
Profile     Report this post  
klx300r 
Re: V8 javascript engine ported to PowerPC
Posted on 23-Jul-2015 6:59:44
#12 ]
Elite Member
Joined: 4-Mar-2008
Posts: 3833
From: Toronto, Canada

Quote:
by toRus on 22-Jul-2015 16:27:50 Cool. Now our web habbits can be tracked even more efficiently.


_________________
____________________________
c64-2sids, A1000, A1200T-060@50(finally working!),A4000-CSMKIII
! My Master Miggies- Amiga 1000 & AmigaOne X1000 !
mancave-ramblings
X1000 I BELIEVE

 Status: Offline
Profile     Report this post  
virgolamobile 
Re: V8 javascript engine ported to PowerPC
Posted on 12-Sep-2016 11:22:08
#13 ]
Regular Member
Joined: 23-Feb-2004
Posts: 192
From: Somewhere in Northern Italy

Some news about the port of node.js and V8 Javascript engines to PowerPC big endian CPUs

Update on Node.js/v8 Community support for PPC, AIX, and zLinux

 Status: Offline
Profile     Report this post  
Hypex 
Re: V8 javascript engine ported to PowerPC
Posted on 12-Sep-2016 15:03:17
#14 ]
Elite Member
Joined: 6-May-2007
Posts: 11180
From: Greensborough, Australia

@All

While this is taking a while to reach us. Or indeed any browser on PPC. I had my own idea for a JS JIT. It would use a little overhead and some resources of what is already there. My idea is to convert JS to C or indeed C++ and then compile the code into a native executable and run it!

See, JS is very similar to C, using the same annoying semi-colons and such. So in essence it would be similar to PortablE. It would translate text from one language to another. Then compile it. And would have support for includes with support libs which would be native and likely need to hook into browser internals through an API.

Of course being able to compile JS directly to an executable would be better if such a compiler exists. Compiling to RAM and executing from there would be a logical choice. You of course would notice my idea requires a compiler to be installed which usually implies an SDK. A customised compiler optimised for use by the browser and included in its files would be best here.

Last edited by Hypex on 12-Sep-2016 at 03:05 PM.

 Status: Offline
Profile     Report this post  
Jose 
Re: V8 javascript engine ported to PowerPC
Posted on 13-Sep-2016 11:48:17
#15 ]
Cult Member
Joined: 10-Mar-2003
Posts: 992
From: Unknown

@Hypex

What about security ? Wouldn't compiling it to C/C++ open up a whole can of worms (or snakes...:)) security wise ? I'm not into browser coding or anything like that but that's the first thought that came to mind...

_________________

José

 Status: Offline
Profile     Report this post  
Samurai_Crow 
Re: V8 javascript engine ported to PowerPC
Posted on 13-Sep-2016 15:03:04
#16 ]
Elite Member
Joined: 18-Jan-2003
Posts: 2320
From: Minnesota, USA

@Jose

Quote:

Jose wrote:
@Hypex

What about security ? Wouldn't compiling it to C/C++ open up a whole can of worms (or snakes...:)) security wise ? I'm not into browser coding or anything like that but that's the first thought that came to mind...

Only some of the standard libraries and buggy code will generate buffer overrun-style security problems.

In the future there is a statically compiling supplement to JavaScript called WebAssembly. You can compile C/C++ code to WebAssembly more efficiently than to JavaScript because JS is a dynamically-typed scripting language while WebAssembly is a statically-typed bytecode.

If you're not familiar with the issues associated with dynamic typing, I can describe them in more detail in another thread.

 Status: Offline
Profile     Report this post  
Hypex 
Re: V8 javascript engine ported to PowerPC
Posted on 13-Sep-2016 15:18:25
#17 ]
Elite Member
Joined: 6-May-2007
Posts: 11180
From: Greensborough, Australia

@Jose

Well the code would have to be restricted. Libs would also need to be limited. And sandboxed as much as possible in a native application. Especially on AmigaOS where most apps can share the memory. But compiling any code, even in a JIT to native code, and running it on the host machine directly provides a risk.

 Status: Offline
Profile     Report this post  
Tellurium 
Re: V8 javascript engine ported to PowerPC
Posted on 13-Sep-2016 20:55:38
#18 ]
Member
Joined: 19-Oct-2009
Posts: 15
From: London

@Hypex

And translating a dynamic language to a static one would achieve the correct behaviour?
you cannot map prototypal chains to c structs, nor add/remove properties at runtime.
Also, Javascript internals follow well defined standards. It's not IE 5 time where anyone could bolt a custom js-like implementation and call it a day.

Sorry for being direct. I imagine you are doing an amazing job anyway

 Status: Offline
Profile     Report this post  
Nibunnoichi 
Re: V8 javascript engine ported to PowerPC
Posted on 14-Sep-2016 6:15:37
#19 ]
Cult Member
Joined: 18-Nov-2004
Posts: 969
From: Roma + Lecco, Italia

@Samurai_Crow

Quote:

Samurai_Crow wrote:
because JS is a dynamically-typed scripting language while WebAssembly is a statically-typed bytecode.

Meanwhile you can have a look at TypeScript

_________________
Proud Amigan since 1987
Owner of various Commodore and a SAM440ep\OS4.1FE
See them on http://retro.furinkan.org/

 Status: Offline
Profile     Report this post  
Hypex 
Re: V8 javascript engine ported to PowerPC
Posted on 16-Sep-2016 16:32:40
#20 ]
Elite Member
Joined: 6-May-2007
Posts: 11180
From: Greensborough, Australia

@Tellurium

Quote:
And translating a dynamic language to a static one would achieve the correct behaviour?


It is if you want an easy way to translate from script to native code. You just implement it in such a way that the dynamics can be retained. After all code is rather static as native JIT code so if that works so should another translation.

Quote:
Sorry for being direct. I imagine you are doing an amazing job anyway


Of making up ideas? At the end of the day we are talking about a script being translated into host native code. Which works by design on modern devices. So these JS standards can be followed and executed. I'm just suggesting an alternative way of going about it. Which doesn't involve any assembly language or machine code. But portable high level language.

Last edited by Hypex on 16-Sep-2016 at 04:34 PM.

 Status: Offline
Profile     Report this post  
Goto page ( 1 | 2 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle