Fwd: John Resig - Asm.js: The JavaScript Compile Target

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Fwd: John Resig - Asm.js: The JavaScript Compile Target

Owen Densmore
Administrator
Note: I'd usually confine this to wedtech but because of the broader nature of the asm.js post, and the author himself, John Resig, I thought the broader list would be better.

http://ejohn.org/blog/asmjs-javascript-compile-target/

  -- Owen


============================================================
FRIAM Applied Complexity Group listserv
Meets Fridays 9a-11:30 at cafe at St. John's College
to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com
Reply | Threaded
Open this post in threaded view
|

Re: John Resig - Asm.js: The JavaScript Compile Target

Barry MacKichan
Fascinating…

--Barry

On Apr 3, 2013, at 9:40 AM, Owen Densmore <[hidden email]> wrote:

Note: I'd usually confine this to wedtech but because of the broader nature of the asm.js post, and the author himself, John Resig, I thought the broader list would be better.

http://ejohn.org/blog/asmjs-javascript-compile-target/

  -- Owen

============================================================
FRIAM Applied Complexity Group listserv
Meets Fridays 9a-11:30 at cafe at St. John's College
to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com


============================================================
FRIAM Applied Complexity Group listserv
Meets Fridays 9a-11:30 at cafe at St. John's College
to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com
Reply | Threaded
Open this post in threaded view
|

Re: John Resig - Asm.js: The JavaScript Compile Target

Marcus G. Daniels
In reply to this post by Owen Densmore
contrast with..

https://blog.mozilla.org/blog/2013/04/03/mozilla-and-samsung-collaborate-on-
next-generation-web-browser-engine/

Original Message:
-----------------
From: Barry MacKichan [hidden email]
Date: Wed, 3 Apr 2013 12:04:00 -0600
To: [hidden email]
Subject: Re: [FRIAM] John Resig - Asm.js: The JavaScript Compile Target


Fascinating�

--Barry

On Apr 3, 2013, at 9:40 AM, Owen Densmore <[hidden email]> wrote:

> Note: I'd usually confine this to wedtech but because of the broader
nature of the asm.js post, and the author himself, John Resig, I thought
the broader list would be better.
>
> http://ejohn.org/blog/asmjs-javascript-compile-target/
>
>   -- Owen
>
> ============================================================
> FRIAM Applied Complexity Group listserv
> Meets Fridays 9a-11:30 at cafe at St. John's College
> to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com



--------------------------------------------------------------------
mail2web.com – What can On Demand Business Solutions do for you?
http://link.mail2web.com/Business/SharePoint



============================================================
FRIAM Applied Complexity Group listserv
Meets Fridays 9a-11:30 at cafe at St. John's College
to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com
Reply | Threaded
Open this post in threaded view
|

Re: John Resig - Asm.js: The JavaScript Compile Target

Joshua Thorp
Interesting a new language I hadn't hear about.  But why would you name anything Rust?


--joshua

On Apr 3, 2013, at 12:50 PM, "[hidden email]" <[hidden email]> wrote:

> contrast with..
>
> https://blog.mozilla.org/blog/2013/04/03/mozilla-and-samsung-collaborate-on-
> next-generation-web-browser-engine/
>
> Original Message:
> -----------------
> From: Barry MacKichan [hidden email]
> Date: Wed, 3 Apr 2013 12:04:00 -0600
> To: [hidden email]
> Subject: Re: [FRIAM] John Resig - Asm.js: The JavaScript Compile Target
>
>
> Fascinating�
>
> --Barry
>
> On Apr 3, 2013, at 9:40 AM, Owen Densmore <[hidden email]> wrote:
>
>> Note: I'd usually confine this to wedtech but because of the broader
> nature of the asm.js post, and the author himself, John Resig, I thought
> the broader list would be better.
>>
>> http://ejohn.org/blog/asmjs-javascript-compile-target/
>>
>>  -- Owen
>>
>> ============================================================
>> FRIAM Applied Complexity Group listserv
>> Meets Fridays 9a-11:30 at cafe at St. John's College
>> to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com
>
>
>
> --------------------------------------------------------------------
> mail2web.com – What can On Demand Business Solutions do for you?
> http://link.mail2web.com/Business/SharePoint
>
>
>
> ============================================================
> FRIAM Applied Complexity Group listserv
> Meets Fridays 9a-11:30 at cafe at St. John's College
> to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com


============================================================
FRIAM Applied Complexity Group listserv
Meets Fridays 9a-11:30 at cafe at St. John's College
to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com
Reply | Threaded
Open this post in threaded view
|

Re: John Resig - Asm.js: The JavaScript Compile Target

Douglas Roberts-2
So that after learning it, you could honestly claim that your skills were Rusty.

--BadaBing

On Wed, Apr 3, 2013 at 2:56 PM, Joshua Thorp <[hidden email]> wrote:
 Interesting a new language I hadn't hear about.  But why would you name anything Rust?


--joshua

--
Doug Roberts
[hidden email]

505-455-7333 - Office
505-672-8213 - Mobile

============================================================
FRIAM Applied Complexity Group listserv
Meets Fridays 9a-11:30 at cafe at St. John's College
to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com
Reply | Threaded
Open this post in threaded view
|

Re: John Resig - Asm.js: The JavaScript Compile Target

Arlo Barnes
Or perhaps they wanted it to sound futuristic, and believe in the Used Future design ethic.
-Arlo James Barnes

============================================================
FRIAM Applied Complexity Group listserv
Meets Fridays 9a-11:30 at cafe at St. John's College
to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com
Reply | Threaded
Open this post in threaded view
|

Re: John Resig - Asm.js: The JavaScript Compile Target

Marcus G. Daniels
In reply to this post by Owen Densmore
Well, the reason I mentioned it wasn't it was yet another "Let's fix C++ by
harvesting ideas from the computer science literature." effort, e.g. D, but
that it 1) is from Mozilla (Eich) and aims to be a platform for a next
generation browser, and even one that runs on mobile devices, and 2) it
isn't JavaScript.  

It's not just about performance, it's about safety and correctness.

Marcus

--------------------------------------------------------------------
myhosting.com - Premium Microsoft® Windows® and Linux web and application
hosting - http://link.myhosting.com/myhosting



============================================================
FRIAM Applied Complexity Group listserv
Meets Fridays 9a-11:30 at cafe at St. John's College
to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com
Reply | Threaded
Open this post in threaded view
|

Re: John Resig - Asm.js: The JavaScript Compile Target

Barry MacKichan
I read the first half of their tutorial last night. I looks that they have attacked one of the weak points of C++ in a componentized world -- making sure that pointers don't outlive the object they are pointing to, even when passed to unknown (at compile time) functions and marshaled to other processes. The smart pointers that Mozilla uses help, but there is no static checking, and crashes and memory leaks are a big problem in development.

It will be interesting when Rust moves out into the wider world, if it does.

--Barry

On Apr 3, 2013, at 4:18 PM, [hidden email] wrote:

> Well, the reason I mentioned it wasn't it was yet another "Let's fix C++ by
> harvesting ideas from the computer science literature." effort, e.g. D, but
> that it 1) is from Mozilla (Eich) and aims to be a platform for a next
> generation browser, and even one that runs on mobile devices, and 2) it
> isn't JavaScript.  
>
> It's not just about performance, it's about safety and correctness.
>
> Marcus
>
> --------------------------------------------------------------------
> myhosting.com - Premium Microsoft® Windows® and Linux web and application
> hosting - http://link.myhosting.com/myhosting
>
>
>
> ============================================================
> FRIAM Applied Complexity Group listserv
> Meets Fridays 9a-11:30 at cafe at St. John's College
> to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com


============================================================
FRIAM Applied Complexity Group listserv
Meets Fridays 9a-11:30 at cafe at St. John's College
to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com
Reply | Threaded
Open this post in threaded view
|

Re: John Resig - Asm.js: The JavaScript Compile Target

cody dooderson
It says asm.js only uses numbers. There are no strings or objects. Is that true? I think that might be hard to use.


On Thu, Apr 4, 2013 at 9:14 AM, Barry MacKichan <[hidden email]> wrote:
I read the first half of their tutorial last night. I looks that they have attacked one of the weak points of C++ in a componentized world -- making sure that pointers don't outlive the object they are pointing to, even when passed to unknown (at compile time) functions and marshaled to other processes. The smart pointers that Mozilla uses help, but there is no static checking, and crashes and memory leaks are a big problem in development.

It will be interesting when Rust moves out into the wider world, if it does.

--Barry

On Apr 3, 2013, at 4:18 PM, [hidden email] wrote:

> Well, the reason I mentioned it wasn't it was yet another "Let's fix C++ by
> harvesting ideas from the computer science literature." effort, e.g. D, but
> that it 1) is from Mozilla (Eich) and aims to be a platform for a next
> generation browser, and even one that runs on mobile devices, and 2) it
> isn't JavaScript.
>
> It's not just about performance, it's about safety and correctness.
>
> Marcus
>
> --------------------------------------------------------------------
> myhosting.com - Premium Microsoft® Windows® and Linux web and application
> hosting - http://link.myhosting.com/myhosting
>
>
>
> ============================================================
> FRIAM Applied Complexity Group listserv
> Meets Fridays 9a-11:30 at cafe at St. John's College
> to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com


============================================================
FRIAM Applied Complexity Group listserv
Meets Fridays 9a-11:30 at cafe at St. John's College
to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com


============================================================
FRIAM Applied Complexity Group listserv
Meets Fridays 9a-11:30 at cafe at St. John's College
to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com
Reply | Threaded
Open this post in threaded view
|

Re: John Resig - Asm.js: The JavaScript Compile Target

Owen Densmore
Administrator
On Thu, Apr 4, 2013 at 3:00 PM, cody dooderson <[hidden email]> wrote:
It says asm.js only uses numbers. There are no strings or objects. Is that true? I think that might be hard to use.

Yup.  At this point they would have you push "structs" into the TypedArrays the same way webgl does, when you interleave the various attributes within the same attribute array.

And I don't know if it has prototype functions.  I'm pretty sure not closures.

So its sorta dead in the water for now, but their plans do include increased functionality.

   -- Owen

============================================================
FRIAM Applied Complexity Group listserv
Meets Fridays 9a-11:30 at cafe at St. John's College
to unsubscribe http://redfish.com/mailman/listinfo/friam_redfish.com